spe containertype get
Gets a specific container type
Usage
m365 containertype get [options]
Options
-i, --id [id]
The ID of the container type. Specify either id or name but not both.
-n, --name [name]
The container type name. Specify either id or name but 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
.--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
Gets container type by ID
m365 spe containertype get --id 5de5c251-61c2-40f5-8947-5a719c1c0b71
Gets container type by name
m365 spe containertype get --name 'Container Type 1'
Response
- JSON
- Text
- CSV
- Markdown
{
"id": "5de5c251-61c2-40f5-8947-5a719c1c0b71",
"name": "Container Type 1",
"owningAppId": "a6f79b17-a0f5-47d1-bfde-9995caebc2a3",
"billingClassification": "standard",
"billingStatus": "invalid",
"createdDateTime": "2025-06-19T05:17:32.0760075Z",
"etag": "MC4wLjAuMA==",
"settings": {
"urlTemplate": "",
"isDiscoverabilityEnabled": false,
"isSearchEnabled": true,
"isItemVersioningEnabled": true,
"itemMajorVersionLimit": 500,
"maxStoragePerContainerInBytes": 27487790694400,
"isSharingRestricted": false,
"consumingTenantOverridables": ""
}
}
billingClassification: standard
billingStatus : invalid
createdDateTime : 2025-06-19T05:17:32.0760075Z
etag : MC4wLjAuMA==
id : 5de5c251-61c2-40f5-8947-5a719c1c0b71
name : Container Type 1
owningAppId : a6f79b17-a0f5-47d1-bfde-9995caebc2a3
settings : {"urlTemplate":"","isDiscoverabilityEnabled":false,"isSearchEnabled":true,"isItemVersioningEnabled":true,"itemMajorVersionLimit":500,"maxStoragePerContainerInBytes":27487790694400,"isSharingRestricted":false,"consumingTenantOverridables":""}
id,name,owningAppId,billingClassification,billingStatus,createdDateTime,etag
5de5c251-61c2-40f5-8947-5a719c1c0b71,Container Type 1,a6f79b17-a0f5-47d1-bfde-9995caebc2a3,standard,invalid,2025-06-19T05:17:32.0760075Z,MC4wLjAuMA==
# spe containertype get --id "5de5c251-61c2-40f5-8947-5a719c1c0b71"
Date: 27/08/2025
## Container Type 1 (5de5c251-61c2-40f5-8947-5a719c1c0b71)
Property | Value
---------|-------
id | 5de5c251-61c2-40f5-8947-5a719c1c0b71
name | Container Type 1
owningAppId | a6f79b17-a0f5-47d1-bfde-9995caebc2a3
billingClassification | standard
billingStatus | invalid
createdDateTime | 2025-06-19T05:17:32.0760075Z
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