Skip to main content

spo tenant recyclebinitem list

Returns all modern and classic site collections in the tenant scoped recycle bin

Usage​

m365 spo tenant recyclebinitem list [options]

Options​

-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.

Remarks​

info

To use this command you must be either SharePoint Administrator or Global Administrator.

Examples​

Returns all modern and classic site collections in the tenant scoped recycle bin

m365 spo tenant recyclebinitem list

Response​

[
{
"_ObjectType_": "Microsoft.Online.SharePoint.TenantAdministration.DeletedSiteProperties",
"_ObjectIdentity_": "ec4abfa0-00a9-6000-a541-3b7e72f845bb|908bed80-a04a-4433-b4a0-883d9847d110:1e852b49-bf4b-4ba5-bcd4-a8c4706c8ed4\\\nDeletedSiteProperties\\\nhttps%3a%2f%2fcontoso.sharepoint.com%2fteams%2fteam1",
"DaysRemaining": 21,
"DeletionTime": "/Date(2023,3,12,8,9,55,260)/",
"SiteId": "/Guid(0031a568-a081-4157-a3ab-0946a9da7f6e)/",
"Status": "Recycled",
"StorageMaximumLevel": 1048576,
"Url": "https://contoso.sharepoint.com/teams/team1",
"UserCodeMaximumLevel": 300
}
]