Skip to main content

entra m365group recyclebinitem list

Lists Groups from the recycle bin in the current tenant

Usage​

m365 entra m365group recyclebinitem list [options]

Options​

-d, --groupName [groupName]

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, permissions, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Permissions​

ResourcePermissions
Microsoft GraphGroup.Read.All

Examples​

List all deleted Microsoft 365 Groups in the tenant

m365 entra m365group recyclebinitem list

List deleted Microsoft 365 Groups with display name starting with Project

m365 entra m365group recyclebinitem list --groupName Project

List deleted Microsoft 365 Groups mail nick name starting with team

m365 entra m365group recyclebinitem list --groupMailNickname team

List deleted Microsoft 365 Groups mail nick name starting with team and with display name starting with Project

m365 entra m365group recyclebinitem list --groupMailNickname team --groupName Project

Response​

[
{
"id": "1b21f2fa-a104-45a9-b6f4-5348c2c695d5",
"deletedDateTime": "2023-06-01T20:17:34Z",
"classification": null,
"createdDateTime": "2023-06-01T20:16:56Z",
"creationOptions": [],
"description": "This is the Contoso Finance Group. Please come here and check out the latest news, posts, files, and more.",
"displayName": "Finance",
"expirationDateTime": null,
"groupTypes": [
"Unified"
],
"isAssignableToRole": null,
"mail": "finance@contoso.onmicrosoft.com",
"mailEnabled": true,
"mailNickname": "finance",
"membershipRule": null,
"membershipRuleProcessingState": null,
"onPremisesDomainName": null,
"onPremisesLastSyncDateTime": null,
"onPremisesNetBiosName": null,
"onPremisesSamAccountName": null,
"onPremisesSecurityIdentifier": null,
"onPremisesSyncEnabled": null,
"preferredDataLocation": null,
"preferredLanguage": null,
"proxyAddresses": [
"SMTP:finance@contoso.onmicrosoft.com"
],
"renewedDateTime": "2023-06-01T20:16:56Z",
"resourceBehaviorOptions": [],
"resourceProvisioningOptions": [],
"securityEnabled": false,
"securityIdentifier": "S-1-12-1-455209722-1168744708-1213461686-3583362754",
"theme": null,
"visibility": "Public",
"onPremisesProvisioningErrors": []
}
]