Usage
m365 spe container list [options]
Description
Lists containers of a specific Container Type
Options
| Option |
Description |
--containerTypeId [containerTypeId] |
The Container Type Id of the container instance. Use either containerTypeId or containerTypeName but not both |
--containerTypeName [containerTypeName] |
The Container Type name of the container instance. Use either containerTypeId or containerTypeName but not both. |
Examples
List containers of a specific type
m365 spe container list --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"
Default properties
- id
- displayName
- containerTypeId
- createdDateTime
Additional Info
We may use the following GET request to get this:
/storage/fileStorage/containers?$filter=containerTypeId eq {containerTypeId}
https://learn.microsoft.com/en-us/graph/api/filestorage-list-containers?view=graph-rest-1.0&tabs=http
Usage
m365 spe container list [options]
Description
Lists containers of a specific Container Type
Options
--containerTypeId [containerTypeId]containerTypeIdorcontainerTypeNamebut not both--containerTypeName [containerTypeName]containerTypeIdorcontainerTypeNamebut not both.Examples
List containers of a specific type
m365 spe container list --containerTypeId "91710488-5756-407f-9046-fbe5f0b4de73"Default properties
Additional Info
We may use the following
GETrequest to get this:https://learn.microsoft.com/en-us/graph/api/filestorage-list-containers?view=graph-rest-1.0&tabs=http