spe container recyclebinitem list
Lists deleted containers of a specific container type
Usage
m365 spe container recyclebinitem list [options]
Options
--containerTypeId [containerTypeId]The container type ID of the container instance. Use either
containerTypeIdorcontainerTypeNamebut not both.--containerTypeName [containerTypeName]The container type name of the container instance. Use either
containerTypeIdorcontainerTypeNamebut not both.
-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 isoptions.--query [query]JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]Output type.
json,text,csv,md,none. Defaultjson.--verboseRuns command with verbose logging.
--debugRuns command with debug logging.
Remarks
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
Permissions
- Delegated
- Application
| Resource | Permissions |
|---|---|
| Microsoft Graph | FileStorageContainer.Selected, FileStorageContainerType.Manage.All |
This command only supports application permissions when using the containerTypeId option.
| Resource | Permissions |
|---|---|
| Microsoft Graph | FileStorageContainer.Selected |
Examples
List deleted containers of a specific container type specified by id.
m365 spe container recyclebinitem list --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"
List deleted containers of a specific container type specified by name.
m365 spe container recyclebinitem list --containerTypeName "My container type name"
Response
- JSON
- Text
- CSV
- Markdown
[
{
"id": "b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z",
"displayName": "My Application Storage Container",
"containerTypeId": "1a55ba46-a673-45a4-b0d9-bd9913d06957",
"createdDateTime": "2025-04-15T21:51:48Z",
"settings": {
"isOcrEnabled": false
}
}
]
id displayName
------------------------------------------------------------------ --------------------------------
b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z My Application Storage Container
id,displayName,containerTypeId,createdDateTime
b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z,My Application Storage Container,1a55ba46-a673-45a4-b0d9-bd9913d06957,2025-04-15T21:51:48Z
# spe container recyclebinitem list --containerTypeId "1a55ba46-a673-45a4-b0d9-bd9913d06957"
Date: 18/04/2025
## My Application Storage Container (b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z)
Property | Value
---------|-------
id | b!ISJs1WRro0y0EWgkUYcktDa0mE8zSlFEqFzqRn70Zwp1CEtDEBZgQICPkRbil_5Z
displayName | My Application Storage Container
containerTypeId | 1a55ba46-a673-45a4-b0d9-bd9913d06957
createdDateTime | 2025-04-15T21:51:48Z