### Usage `m365 aad user list --deleted` ### Description Extend command: `m365 aad user list` with an additional option `--deleted` to retrieve deleted users from the recycle bin. ### Options Option | Description -- | -- `--deleted ` | Use to retrieve deleted users ### Additional Info Can be retrieved using a get on https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.user, more background here: https://docs.microsoft.com/en-us/graph/api/directory-deleteditems-list?view=graph-rest-1.0&tabs=http
Usage
m365 aad user list --deletedDescription
Extend command:
m365 aad user listwith an additional option--deletedto retrieve deleted users from the recycle bin.Options
--deletedAdditional Info
Can be retrieved using a get on https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.user, more background here: https://docs.microsoft.com/en-us/graph/api/directory-deleteditems-list?view=graph-rest-1.0&tabs=http