Usage
m365 aad user recyclebinitem list [options]
Description
Lists users from the recycle bin in the current tenant
Options
Nothing!
Examples
List all removed users
m365 aad user recyclebinitem list
Default properties
- id
- displayName
- userPrincipalName
Additional Info
Right now, this is already possible using aad user list --deleted. But if we follow the same design as with o365group, this should be another command.
Therefore I suggest we create this command, and remove the --deleted flag from aad user list in the next major release.
API info: https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-list?view=graph-rest-1.0&tabs=http
Let's specify in the docs which roles you need to remove a user:
- User Administrator
- Privileged Authentication Administrator
- Global Administrator
Usage
m365 aad user recyclebinitem list [options]
Description
Lists users from the recycle bin in the current tenant
Options
Nothing!
Examples
List all removed users
Default properties
Additional Info
Right now, this is already possible using
aad user list --deleted. But if we follow the same design as witho365group, this should be another command.Therefore I suggest we create this command, and remove the
--deletedflag fromaad user listin the next major release.API info: https://learn.microsoft.com/en-us/graph/api/directory-deleteditems-list?view=graph-rest-1.0&tabs=http
Let's specify in the docs which roles you need to remove a user: