aad o365group recyclebinitem list¶
Lists Groups from the recycle bin in the current tenant
Usage¶
m365 aad o365group recyclebinitem list [options]
Options¶
-d, --groupDisplayName [groupDisplayName]
- Lists groups with DisplayName starting with the specified value
-m, --groupMailNickname [groupMailNickname]
- Lists groups with MailNickname starting with the specified value
-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¶
List all deleted Microsoft 365 Groups in the tenant
m365 aad o365group recyclebinitem list
List deleted Microsoft 365 Groups with display name starting with Project
m365 aad o365group recyclebinitem list --groupDisplayName Project
List deleted Microsoft 365 Groups mail nick name starting with team
m365 aad o365group recyclebinitem list --groupMailNickname team
List deleted Microsoft 365 Groups mail nick name starting with team and with display name starting with Project
m365 aad o365group recyclebinitem list --groupMailNickname team --groupDisplayName Project