Usage
m365 aad user recyclebinitem clear [options]
Description
Removes all users from the tenant recycle bin
Options
| Option |
Description |
--confirm |
Don't prompt for confirmation. |
Examples
Removes all users from the tenant recycle bin
m365 aad user recyclebinitem clear
Removes all users from the tenant recycle bin without confirmation prompt
m365 aad user recyclebinitem clear --confirm
Default properties
No response
Additional Info
Let's use Graph batching to batch all remove requests.
API docs:
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 clear [options]
Description
Removes all users from the tenant recycle bin
Options
--confirmExamples
Removes all users from the tenant recycle bin
Removes all users from the tenant recycle bin without confirmation prompt
Default properties
No response
Additional Info
Let's use Graph batching to batch all remove requests.
API docs:
Let's specify in the docs which roles you need to remove a user: