spe containertype list
Lists all container types
Usage
m365 spe containertype 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 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
.--verbose
Runs command with verbose logging.
--debug
Runs 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 | FileStorageContainerType.Manage.All |
To use this command you must be either SharePoint Administrator or Global Administrator.
This command does not support application permissions.
Examples
Retrieves a list of Container Types created for a SharePoint Embedded Application from the tenant.
m365 spe containertype list
Response
- JSON
- Text
- CSV
- Markdown
[
{
"id": "5de5c251-61c2-40f5-8947-5a719c1c0b71",
"name": "Container Type 1",
"owningAppId": "a6f79b17-a0f5-47d1-bfde-9995caebc2a3",
"billingClassification": "trial",
"billingStatus": "valid",
"createdDateTime": "2025-04-15T17:50:26.9411866Z",
"expirationDateTime": "2025-05-15T17:50:26.8161883Z",
"etag": "MC4wLjAuMA==",
"settings": {
"urlTemplate": "",
"isDiscoverabilityEnabled": false,
"isSearchEnabled": true,
"isItemVersioningEnabled": true,
"itemMajorVersionLimit": 500,
"maxStoragePerContainerInBytes": 209715200,
"isSharingRestricted": false,
"consumingTenantOverridables": ""
}
}
]
id name owningAppId
------------------------------------ --------------------------- ------------------------------------
5de5c251-61c2-40f5-8947-5a719c1c0b71 Container Type 1 a6f79b17-a0f5-47d1-bfde-9995caebc2a3
id,name,owningAppId,billingClassification,billingStatus,createdDateTime,etag
5de5c251-61c2-40f5-8947-5a719c1c0b71,Container Type 1,a6f79b17-a0f5-47d1-bfde-9995caebc2a3,trial,valid,2025-04-15T17:50:26.9411866Z,MC4wLjAuMA==
# spe containertype list
Date: 5/11/2024
## Container Type 1
Property | Value
---------|-------
id | 5de5c251-61c2-40f5-8947-5a719c1c0b71
name | Container Type 1
owningAppId | a6f79b17-a0f5-47d1-bfde-9995caebc2a3
billingClassification | trial
billingStatus | valid
createdDateTime | 2025-04-15T17:50:26.9411866Z
expirationDateTime | 2025-05-15T17:50:26.8161883Z
etag | MC4wLjAuMA==
More information
In SharePoint Embedded, all files and documents are stored in Containers, and each Container is identified by a Container Type.
Container Type is a property stamped on every Container instance. Each Container Type is owned by one Application, and each Application can own only one Container Type.
The primary function of a Container Type is to manage the application workload that can access the Containers. Container Type defines the access permissions an Application has towards all Containers of that type, including create, read, write, delete containers; manage container permissions, etc.
More information about SharePoint Embedded and the limits can be found at the following location: SharePoint Embedded