aad o365group recyclebinitem clear¶
Clears Microsoft 365 Groups from the recycle bin in the current tenant
Usage¶
m365 aad o365group recyclebinitem clear [options]
Options¶
--confirm
- Don't prompt for confirmation to clear the recycle bin items.
-h, --help [help]
- Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isfull
. --query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv,md
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Examples¶
Removes all deleted Microsoft 365 Groups in the tenant. Will prompt for confirmation before permanently removing groups.
m365 aad o365group recyclebinitem clear
Removes all deleted Microsoft 365 Groups in the tenant. Will NOT prompt for confirmation before permanently removing groups.
m365 aad o365group recyclebinitem clear --confirm