@pnp/cli-microsoft365 11.0.0-beta.88d51e6 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Command.js +4 -0
- package/dist/config.js +1 -0
- package/dist/m365/adaptivecard/commands/adaptivecard-send.js +1 -1
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-add.js +13 -27
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-get.js +18 -43
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-list.js +10 -21
- package/dist/m365/entra/commands/administrativeunit/administrativeunit-remove.js +25 -49
- package/dist/m365/entra/commands/group/group-member-add.js +6 -27
- package/dist/m365/entra/commands/group/group-member-set.js +5 -26
- package/dist/m365/entra/commands/m365group/m365group-get.js +1 -7
- package/dist/m365/entra/commands/m365group/m365group-list.js +1 -7
- package/dist/m365/entra/commands/pim/pim-role-assignment-eligibility-list.js +1 -7
- package/dist/m365/entra/commands/pim/pim-role-assignment-list.js +1 -7
- package/dist/m365/entra/commands/pim/pim-role-request-list.js +1 -7
- package/dist/m365/entra/commands/roleassignment/roleassignment-add.js +146 -0
- package/dist/m365/entra/commands.js +1 -0
- package/dist/m365/flow/commands/flow-list.js +7 -14
- package/dist/m365/flow/commands/run/run-get.js +1 -7
- package/dist/m365/graph/commands/openextension/openextension-add.js +2 -2
- package/dist/m365/graph/commands/openextension/openextension-set.js +2 -6
- package/dist/m365/graph/commands/subscription/subscription-add.js +3 -10
- package/dist/m365/pp/commands/copilot/copilot-get.js +0 -4
- package/dist/m365/pp/commands/copilot/copilot-list.js +0 -4
- package/dist/m365/pp/commands/copilot/copilot-remove.js +0 -4
- package/dist/m365/pp/commands/solution/solution-publisher-list.js +1 -8
- package/dist/m365/pp/commands.js +0 -3
- package/dist/m365/purview/commands/threatassessment/threatassessment-get.js +1 -7
- package/dist/m365/spe/commands/container/container-add.js +1 -3
- package/dist/m365/spe/commands/container/container-list.js +1 -3
- package/dist/m365/spe/commands/container/container-recyclebinitem-list.js +1 -3
- package/dist/m365/spe/commands/container/container-recyclebinitem-restore.js +1 -3
- package/dist/m365/spe/commands/container/container-remove.js +1 -3
- package/dist/m365/spe/commands/containertype/containertype-add.js +67 -90
- package/dist/m365/spe/commands/containertype/containertype-get.js +53 -81
- package/dist/m365/spe/commands/containertype/containertype-list.js +8 -19
- package/dist/m365/spe/commands/containertype/containertype-remove.js +27 -5
- package/dist/m365/spfx/commands/project/project-upgrade.js +23 -66
- package/dist/m365/spo/commands/file/file-move.js +2 -8
- package/dist/m365/spo/commands/homesite/homesite-add.js +26 -2
- package/dist/m365/spo/commands/homesite/homesite-get.js +28 -14
- package/dist/m365/spo/commands/homesite/homesite-list.js +1 -12
- package/dist/m365/spo/commands/homesite/homesite-remove.js +6 -34
- package/dist/m365/spo/commands/hubsite/hubsite-get.js +4 -13
- package/dist/m365/spo/commands/hubsite/hubsite-list.js +1 -8
- package/dist/m365/spo/commands/serviceprincipal/serviceprincipal-grant-list.js +17 -25
- package/dist/m365/spo/commands/{tenant/tenant-site-archive.js → site/site-archive.js} +14 -14
- package/dist/m365/spo/commands/{tenant/tenant-site-list.js → site/site-list.js} +16 -27
- package/dist/m365/spo/commands/{tenant/tenant-site-membership-list.js → site/site-membership-list.js} +15 -15
- package/dist/m365/spo/commands/{tenant/tenant-site-rename.js → site/site-rename.js} +14 -14
- package/dist/m365/spo/commands/{tenant/tenant-site-unarchive.js → site/site-unarchive.js} +14 -14
- package/dist/m365/spo/commands/term/term-list.js +1 -7
- package/dist/m365/spo/commands.js +4 -6
- package/dist/m365/teams/commands/chat/chat-member-add.js +3 -9
- package/dist/m365/viva/commands/engage/engage-network-list.js +1 -7
- package/dist/utils/entraAdministrativeUnit.js +1 -1
- package/dist/utils/spe.js +5 -39
- package/docs/docs/cmd/entra/group/group-member-add.mdx +7 -26
- package/docs/docs/cmd/entra/group/group-member-set.mdx +5 -23
- package/docs/docs/cmd/entra/m365group/m365group-get.mdx +0 -3
- package/docs/docs/cmd/entra/m365group/m365group-list.mdx +0 -3
- package/docs/docs/cmd/entra/pim/pim-role-assignment-eligibility-list.mdx +0 -3
- package/docs/docs/cmd/entra/pim/pim-role-assignment-list.mdx +0 -3
- package/docs/docs/cmd/entra/pim/pim-role-request-list.mdx +0 -3
- package/docs/docs/cmd/entra/roleassignment/roleassignment-add.mdx +163 -0
- package/docs/docs/cmd/flow/flow-list.mdx +0 -3
- package/docs/docs/cmd/flow/run/run-get.mdx +0 -3
- package/docs/docs/cmd/graph/subscription/subscription-add.mdx +0 -3
- package/docs/docs/cmd/pp/copilot/copilot-get.mdx +0 -6
- package/docs/docs/cmd/pp/copilot/copilot-list.mdx +0 -6
- package/docs/docs/cmd/pp/copilot/copilot-remove.mdx +0 -6
- package/docs/docs/cmd/pp/solution/solution-publisher-list.mdx +0 -3
- package/docs/docs/cmd/purview/threatassessment/threatassessment-get.mdx +0 -3
- package/docs/docs/cmd/spe/container/container-activate.mdx +21 -0
- package/docs/docs/cmd/spe/container/container-add.mdx +29 -0
- package/docs/docs/cmd/spe/container/container-get.mdx +20 -1
- package/docs/docs/cmd/spe/container/container-list.mdx +29 -0
- package/docs/docs/cmd/spe/container/container-permission-list.mdx +19 -0
- package/docs/docs/cmd/spe/container/container-recyclebinitem-list.mdx +29 -0
- package/docs/docs/cmd/spe/container/container-recyclebinitem-restore.mdx +31 -0
- package/docs/docs/cmd/spe/container/container-remove.mdx +31 -0
- package/docs/docs/cmd/spe/containertype/containertype-add.mdx +111 -55
- package/docs/docs/cmd/spe/containertype/containertype-get.mdx +69 -38
- package/docs/docs/cmd/spe/containertype/containertype-list.mdx +59 -31
- package/docs/docs/cmd/spe/containertype/containertype-remove.mdx +31 -4
- package/docs/docs/cmd/spfx/project/project-upgrade.mdx +18 -5
- package/docs/docs/cmd/spo/file/file-move.mdx +0 -3
- package/docs/docs/cmd/spo/homesite/homesite-add.mdx +13 -4
- package/docs/docs/cmd/spo/homesite/homesite-get.mdx +44 -23
- package/docs/docs/cmd/spo/homesite/homesite-list.mdx +0 -6
- package/docs/docs/cmd/spo/homesite/homesite-remove.mdx +10 -35
- package/docs/docs/cmd/spo/homesite/homesite-set.mdx +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.mdx +0 -3
- package/docs/docs/cmd/spo/hubsite/hubsite-list.mdx +0 -3
- package/docs/docs/cmd/spo/serviceprincipal/serviceprincipal-grant-list.mdx +18 -18
- package/docs/docs/cmd/spo/{tenant/tenant-site-archive.mdx → site/site-archive.mdx} +4 -4
- package/docs/docs/cmd/spo/{tenant/tenant-site-list.mdx → site/site-list.mdx} +7 -16
- package/docs/docs/cmd/spo/{tenant/tenant-site-membership-list.mdx → site/site-membership-list.mdx} +5 -5
- package/docs/docs/cmd/spo/{tenant/tenant-site-rename.mdx → site/site-rename.mdx} +7 -7
- package/docs/docs/cmd/spo/{tenant/tenant-site-unarchive.mdx → site/site-unarchive.mdx} +4 -4
- package/docs/docs/cmd/spo/term/term-list.mdx +0 -3
- package/docs/docs/cmd/teams/chat/chat-member-add.mdx +2 -5
- package/docs/docs/cmd/viva/engage/engage-network-list.mdx +0 -3
- package/package.json +2 -2
- package/dist/m365/spo/commands/tenant/SPOTenantSitePropertiesEnumerable.js +0 -2
- package/dist/m365/spo/commands/tenant/TenantSiteProperties.js +0 -2
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spe containertype add
|
|
6
6
|
|
|
7
|
-
Creates a new
|
|
7
|
+
Creates a new container type
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -18,50 +18,105 @@ m365 spe containertype add [options]
|
|
|
18
18
|
`-n, --name <name>`
|
|
19
19
|
: Container type name.
|
|
20
20
|
|
|
21
|
-
`--
|
|
22
|
-
: Application ID of the Microsoft Entra ID app that will be the owner of the
|
|
21
|
+
`--appId [appId]`
|
|
22
|
+
: Application ID of the Microsoft Entra ID app that will be the owner of the container type. By default, the current app is used.
|
|
23
23
|
|
|
24
|
-
`--
|
|
25
|
-
:
|
|
24
|
+
`--billingType [billingType]`
|
|
25
|
+
: The billing type. The possible values are: `standard`, `trial`, `directToCustomer`, `unknownFutureValue`. The default value is `standard`.
|
|
26
26
|
|
|
27
|
-
`--
|
|
28
|
-
:
|
|
27
|
+
`--consumingTenantOverridables [consumingTenantOverridables]`
|
|
28
|
+
: A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: `urlTemplate`, `isDiscoverabilityEnabled`, `isSearchEnabled`, `isItemVersioningEnabled`, `itemMajorVersionLimit`, `maxStoragePerContainerInBytes`.
|
|
29
29
|
|
|
30
|
-
`--
|
|
31
|
-
:
|
|
30
|
+
`--isDiscoverabilityEnabled [isDiscoverabilityEnabled]`
|
|
31
|
+
: Indicates whether items from containers are surfaced in experiences such as My Activity or Microsoft 365. Valid values: `true`, `false`. The default value is `false`.
|
|
32
32
|
|
|
33
|
-
`--
|
|
34
|
-
:
|
|
33
|
+
`--isItemVersioningEnabled [isItemVersioningEnabled]`
|
|
34
|
+
: Indicates whether item versioning is enabled for the container. Valid values: `true`, `false`. The default value is `true`.
|
|
35
|
+
|
|
36
|
+
`--itemMajorVersionLimit [itemMajorVersionLimit]`
|
|
37
|
+
: Maximum number of versions. `isItemVersioningEnabled` must be enabled. Default value is `500`.
|
|
38
|
+
|
|
39
|
+
`--isSearchEnabled [isSearchEnabled]`
|
|
40
|
+
: Indicates whether search is enabled. Valid values: `true`, `false`. The default value is `true`.
|
|
41
|
+
|
|
42
|
+
`--isSharingRestricted [isSharingRestricted]`
|
|
43
|
+
: Only the manager and owner can share files in the container if restricted sharing is enabled. Valid values: `true`, `false`. The default value is `false`.
|
|
44
|
+
|
|
45
|
+
`--maxStoragePerContainerInBytes [maxStoragePerContainerInBytes]`
|
|
46
|
+
: Controls maximum storage in bytes.
|
|
47
|
+
|
|
48
|
+
`--sharingCapability [sharingCapability]`
|
|
49
|
+
: Sharing capabilities permitted for containers. The possible values are: `disabled`, `externalUserSharingOnly`, `externalUserAndGuestSharing`, `existingExternalUserSharingOnly`.
|
|
50
|
+
|
|
51
|
+
`--urlTemplate [urlTemplate]`
|
|
52
|
+
: Pattern used to redirect files.
|
|
35
53
|
```
|
|
36
54
|
|
|
37
55
|
<Global />
|
|
38
56
|
|
|
39
57
|
## Remarks
|
|
40
58
|
|
|
41
|
-
:::
|
|
59
|
+
:::warning
|
|
42
60
|
|
|
43
|
-
|
|
61
|
+
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
44
62
|
|
|
45
63
|
:::
|
|
46
64
|
|
|
47
65
|
:::note
|
|
48
66
|
|
|
49
|
-
|
|
67
|
+
The tenant must own the application that is assigned as the owner of the container type.
|
|
50
68
|
|
|
51
69
|
:::
|
|
52
70
|
|
|
71
|
+
:::note
|
|
72
|
+
|
|
73
|
+
You can only create **one** Trial container type per tenant, a single application registration can only contain **one** container type and a tenant can contain a maximum of **five** containers types in total.
|
|
74
|
+
|
|
75
|
+
:::
|
|
76
|
+
|
|
77
|
+
The registration of a container type in a newly created tenant can fail if the tenant isn't yet fully ready. You might need to wait at least an hour before you can register a container type in a new tenant.
|
|
78
|
+
|
|
79
|
+
## Permissions
|
|
80
|
+
|
|
81
|
+
<Tabs>
|
|
82
|
+
<TabItem value="Delegated">
|
|
83
|
+
|
|
84
|
+
| Resource | Permissions |
|
|
85
|
+
|-----------------|-------------------------------------|
|
|
86
|
+
| Microsoft Graph | FileStorageContainerType.Manage.All |
|
|
87
|
+
|
|
88
|
+
:::info
|
|
89
|
+
|
|
90
|
+
To use this command you must be either **SharePoint Administrator** or **Global Administrator**.
|
|
91
|
+
|
|
92
|
+
:::
|
|
93
|
+
|
|
94
|
+
</TabItem>
|
|
95
|
+
<TabItem value="Application">
|
|
96
|
+
|
|
97
|
+
This command does not support application permissions.
|
|
98
|
+
|
|
99
|
+
</TabItem>
|
|
100
|
+
</Tabs>
|
|
101
|
+
|
|
53
102
|
## Examples
|
|
54
103
|
|
|
55
|
-
Adds a new trial
|
|
104
|
+
Adds a new trial container type.
|
|
105
|
+
|
|
106
|
+
```sh
|
|
107
|
+
m365 spe containertype add --name 'trial container' --applicationId '1b3b8660-9a44-4a7c-9c02-657f3ff5d5ac' --billingType trial
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Adds a new container type using a standard billing type for the current application.
|
|
56
111
|
|
|
57
112
|
```sh
|
|
58
|
-
m365 spe containertype add --name '
|
|
113
|
+
m365 spe containertype add --name 'standard container'
|
|
59
114
|
```
|
|
60
115
|
|
|
61
|
-
Adds a new
|
|
116
|
+
Adds a new container type with additional settings
|
|
62
117
|
|
|
63
118
|
```sh
|
|
64
|
-
m365 spe containertype add --name '
|
|
119
|
+
m365 spe containertype add --name 'Contoso container type' --appId 5181cccf-7a36-44c1-a00d-62581ca4d14a --billingType directToCustomer --consumingTenantOverridables "isDiscoverabilityEnabled, isSearchEnabled" --isDiscoverabilityEnabled true --isItemVersioningEnabled true --isSearchEnabled false --itemMajorVersionLimit 25 --isSharingRestricted true --maxStoragePerContainerInBytes 102030 --sharingCapability externalUserSharingOnly --urlTemplate "https://app.contoso.com/redirect?item={item-id}"
|
|
65
120
|
```
|
|
66
121
|
|
|
67
122
|
## Response
|
|
@@ -71,17 +126,24 @@ m365 spe containertype add --name 'standard container' --applicationId '1b3b8660
|
|
|
71
126
|
|
|
72
127
|
```json
|
|
73
128
|
{
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
129
|
+
"id": "ac8ac926-f924-4f89-bdc0-4e569c143a4d",
|
|
130
|
+
"name": "Contoso container types",
|
|
131
|
+
"owningAppId": "0e083c20-ad1c-4b45-93a6-6dd58fe4d694",
|
|
132
|
+
"billingClassification": "trial",
|
|
133
|
+
"billingStatus": "valid",
|
|
134
|
+
"createdDateTime": "2025-08-28T06:13:12.0080609Z",
|
|
135
|
+
"etag": "MC4wLjAuMA==",
|
|
136
|
+
"settings": {
|
|
137
|
+
"sharingCapability": "externalUserSharingOnly",
|
|
138
|
+
"urlTemplate": "https://app.contoso.com/redirect?tenant={tenant-id}&drive={drive-id}&folder={folder-id}&item={item-id}",
|
|
139
|
+
"isDiscoverabilityEnabled": false,
|
|
140
|
+
"isSearchEnabled": true,
|
|
141
|
+
"isItemVersioningEnabled": true,
|
|
142
|
+
"itemMajorVersionLimit": 500,
|
|
143
|
+
"maxStoragePerContainerInBytes": 27487790694400,
|
|
144
|
+
"isSharingRestricted": false,
|
|
145
|
+
"consumingTenantOverridables": "isSearchEnabled,itemMajorVersionLimit"
|
|
146
|
+
}
|
|
85
147
|
}
|
|
86
148
|
```
|
|
87
149
|
|
|
@@ -89,49 +151,43 @@ m365 spe containertype add --name 'standard container' --applicationId '1b3b8660
|
|
|
89
151
|
<TabItem value="Text">
|
|
90
152
|
|
|
91
153
|
```text
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
Region : West Europe
|
|
101
|
-
ResourceGroup : Standard group
|
|
102
|
-
SPContainerTypeBillingClassification: Standard
|
|
154
|
+
billingClassification: trial
|
|
155
|
+
billingStatus : valid
|
|
156
|
+
createdDateTime : 2025-08-28T06:13:12.0080609Z
|
|
157
|
+
etag : MC4wLjAuMA==
|
|
158
|
+
id : ac8ac926-f924-4f89-bdc0-4e569c143a4d
|
|
159
|
+
name : Contoso container types
|
|
160
|
+
owningAppId : 0e083c20-ad1c-4b45-93a6-6dd58fe4d694
|
|
161
|
+
settings : {"sharingCapability":"externalUserSharingOnly","urlTemplate":"https://app.contoso.com/redirect?tenant={tenant-id}&drive={drive-id}&folder={folder-id}&item={item-id}","isDiscoverabilityEnabled":false,"isSearchEnabled":true,"isItemVersioningEnabled":true,"itemMajorVersionLimit":500,"maxStoragePerContainerInBytes":27487790694400,"isSharingRestricted":false,"consumingTenantOverridables":"isSearchEnabled,itemMajorVersionLimit"}
|
|
103
162
|
```
|
|
104
163
|
|
|
105
164
|
</TabItem>
|
|
106
165
|
<TabItem value="CSV">
|
|
107
166
|
|
|
108
167
|
```csv
|
|
109
|
-
|
|
110
|
-
|
|
168
|
+
id,name,owningAppId,billingClassification,billingStatus,createdDateTime,etag
|
|
169
|
+
ac8ac926-f924-4f89-bdc0-4e569c143a4d,Contoso container types,0e083c20-ad1c-4b45-93a6-6dd58fe4d694,trial,valid,2025-08-28T06:13:12.0080609Z,MC4wLjAuMA==
|
|
111
170
|
```
|
|
112
171
|
|
|
113
172
|
</TabItem>
|
|
114
173
|
<TabItem value="Markdown">
|
|
115
174
|
|
|
116
175
|
```md
|
|
117
|
-
# spe containertype add --name
|
|
176
|
+
# spe containertype add --name "Contoso container types" --billingType "trial" --consumingTenantOverridables "isSearchEnabled,itemMajorVersionLimit" --sharingCapability "externalUserSharingOnly" --urlTemplate "https://app.contoso.com/redirect?tenant={tenant-id}&drive={drive-id}&folder={folder-id}&item={item-id}"
|
|
118
177
|
|
|
119
|
-
Date:
|
|
178
|
+
Date: 28/08/2025
|
|
120
179
|
|
|
121
|
-
##
|
|
180
|
+
## Contoso container types (ac8ac926-f924-4f89-bdc0-4e569c143a4d)
|
|
122
181
|
|
|
123
182
|
Property | Value
|
|
124
183
|
---------|-------
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
Region | West Europe
|
|
133
|
-
ResourceGroup | Standard group
|
|
134
|
-
SPContainerTypeBillingClassification | Standard
|
|
184
|
+
id | ac8ac926-f924-4f89-bdc0-4e569c143a4d
|
|
185
|
+
name | Contoso container types
|
|
186
|
+
owningAppId | 0e083c20-ad1c-4b45-93a6-6dd58fe4d694
|
|
187
|
+
billingClassification | trial
|
|
188
|
+
billingStatus | valid
|
|
189
|
+
createdDateTime | 2025-08-28T06:13:12.0080609Z
|
|
190
|
+
etag | MC4wLjAuMA==
|
|
135
191
|
```
|
|
136
192
|
|
|
137
193
|
</TabItem>
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spe containertype get
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Gets a specific container type
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -16,34 +16,57 @@ m365 containertype get [options]
|
|
|
16
16
|
|
|
17
17
|
```md definition-list
|
|
18
18
|
`-i, --id [id]`
|
|
19
|
-
: The
|
|
19
|
+
: The ID of the container type. Specify either id or name but not both.
|
|
20
20
|
|
|
21
21
|
`-n, --name [name]`
|
|
22
|
-
: The
|
|
22
|
+
: The container type name. Specify either id or name but not both.
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<Global />
|
|
26
26
|
|
|
27
27
|
## Remarks
|
|
28
28
|
|
|
29
|
-
:::
|
|
29
|
+
:::warning
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
32
32
|
|
|
33
33
|
:::
|
|
34
34
|
|
|
35
|
+
## Permissions
|
|
36
|
+
|
|
37
|
+
<Tabs>
|
|
38
|
+
<TabItem value="Delegated">
|
|
39
|
+
|
|
40
|
+
| Resource | Permissions |
|
|
41
|
+
|-----------------|-------------------------------------|
|
|
42
|
+
| Microsoft Graph | FileStorageContainerType.Manage.All |
|
|
43
|
+
|
|
44
|
+
:::info
|
|
45
|
+
|
|
46
|
+
To use this command you must be either **SharePoint Administrator** or **Global Administrator**.
|
|
47
|
+
|
|
48
|
+
:::
|
|
49
|
+
|
|
50
|
+
</TabItem>
|
|
51
|
+
<TabItem value="Application">
|
|
52
|
+
|
|
53
|
+
This command does not support application permissions.
|
|
54
|
+
|
|
55
|
+
</TabItem>
|
|
56
|
+
</Tabs>
|
|
57
|
+
|
|
35
58
|
## Examples
|
|
36
59
|
|
|
37
|
-
Gets
|
|
60
|
+
Gets container type by ID
|
|
38
61
|
|
|
39
62
|
```sh
|
|
40
|
-
m365 spe containertype get --id
|
|
63
|
+
m365 spe containertype get --id 5de5c251-61c2-40f5-8947-5a719c1c0b71
|
|
41
64
|
```
|
|
42
65
|
|
|
43
|
-
Gets
|
|
66
|
+
Gets container type by name
|
|
44
67
|
|
|
45
68
|
```sh
|
|
46
|
-
m365 spe containertype get --name '
|
|
69
|
+
m365 spe containertype get --name 'Container Type 1'
|
|
47
70
|
```
|
|
48
71
|
|
|
49
72
|
## Response
|
|
@@ -53,19 +76,23 @@ m365 spe containertype get --name 'test container'
|
|
|
53
76
|
|
|
54
77
|
```json
|
|
55
78
|
{
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
79
|
+
"id": "5de5c251-61c2-40f5-8947-5a719c1c0b71",
|
|
80
|
+
"name": "Container Type 1",
|
|
81
|
+
"owningAppId": "a6f79b17-a0f5-47d1-bfde-9995caebc2a3",
|
|
82
|
+
"billingClassification": "standard",
|
|
83
|
+
"billingStatus": "invalid",
|
|
84
|
+
"createdDateTime": "2025-06-19T05:17:32.0760075Z",
|
|
85
|
+
"etag": "MC4wLjAuMA==",
|
|
86
|
+
"settings": {
|
|
87
|
+
"urlTemplate": "",
|
|
88
|
+
"isDiscoverabilityEnabled": false,
|
|
89
|
+
"isSearchEnabled": true,
|
|
90
|
+
"isItemVersioningEnabled": true,
|
|
91
|
+
"itemMajorVersionLimit": 500,
|
|
92
|
+
"maxStoragePerContainerInBytes": 27487790694400,
|
|
93
|
+
"isSharingRestricted": false,
|
|
94
|
+
"consumingTenantOverridables": ""
|
|
95
|
+
}
|
|
69
96
|
}
|
|
70
97
|
```
|
|
71
98
|
|
|
@@ -73,39 +100,43 @@ m365 spe containertype get --name 'test container'
|
|
|
73
100
|
<TabItem value="Text">
|
|
74
101
|
|
|
75
102
|
```text
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
103
|
+
billingClassification: standard
|
|
104
|
+
billingStatus : invalid
|
|
105
|
+
createdDateTime : 2025-06-19T05:17:32.0760075Z
|
|
106
|
+
etag : MC4wLjAuMA==
|
|
107
|
+
id : 5de5c251-61c2-40f5-8947-5a719c1c0b71
|
|
108
|
+
name : Container Type 1
|
|
109
|
+
owningAppId : a6f79b17-a0f5-47d1-bfde-9995caebc2a3
|
|
110
|
+
settings : {"urlTemplate":"","isDiscoverabilityEnabled":false,"isSearchEnabled":true,"isItemVersioningEnabled":true,"itemMajorVersionLimit":500,"maxStoragePerContainerInBytes":27487790694400,"isSharingRestricted":false,"consumingTenantOverridables":""}
|
|
79
111
|
```
|
|
80
112
|
|
|
81
113
|
</TabItem>
|
|
82
114
|
<TabItem value="CSV">
|
|
83
115
|
|
|
84
116
|
```csv
|
|
85
|
-
|
|
86
|
-
|
|
117
|
+
id,name,owningAppId,billingClassification,billingStatus,createdDateTime,etag
|
|
118
|
+
5de5c251-61c2-40f5-8947-5a719c1c0b71,Container Type 1,a6f79b17-a0f5-47d1-bfde-9995caebc2a3,standard,invalid,2025-06-19T05:17:32.0760075Z,MC4wLjAuMA==
|
|
87
119
|
```
|
|
88
120
|
|
|
89
121
|
</TabItem>
|
|
90
122
|
<TabItem value="Markdown">
|
|
91
123
|
|
|
92
124
|
```md
|
|
93
|
-
# spe containertype
|
|
125
|
+
# spe containertype get --id "5de5c251-61c2-40f5-8947-5a719c1c0b71"
|
|
94
126
|
|
|
95
|
-
Date:
|
|
127
|
+
Date: 27/08/2025
|
|
96
128
|
|
|
97
|
-
##
|
|
129
|
+
## Container Type 1 (5de5c251-61c2-40f5-8947-5a719c1c0b71)
|
|
98
130
|
|
|
99
131
|
Property | Value
|
|
100
132
|
---------|-------
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
SPContainerTypeBillingClassification | 0
|
|
133
|
+
id | 5de5c251-61c2-40f5-8947-5a719c1c0b71
|
|
134
|
+
name | Container Type 1
|
|
135
|
+
owningAppId | a6f79b17-a0f5-47d1-bfde-9995caebc2a3
|
|
136
|
+
billingClassification | standard
|
|
137
|
+
billingStatus | invalid
|
|
138
|
+
createdDateTime | 2025-06-19T05:17:32.0760075Z
|
|
139
|
+
etag | MC4wLjAuMA==
|
|
109
140
|
```
|
|
110
141
|
|
|
111
142
|
</TabItem>
|
|
@@ -4,7 +4,7 @@ import TabItem from '@theme/TabItem';
|
|
|
4
4
|
|
|
5
5
|
# spe containertype list
|
|
6
6
|
|
|
7
|
-
Lists all
|
|
7
|
+
Lists all container types
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -18,12 +18,35 @@ m365 spe containertype list [options]
|
|
|
18
18
|
|
|
19
19
|
## Remarks
|
|
20
20
|
|
|
21
|
-
:::
|
|
21
|
+
:::warning
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
The command is based on an API that is currently in preview and is subject to change once the API reached general availability.
|
|
24
24
|
|
|
25
25
|
:::
|
|
26
26
|
|
|
27
|
+
## Permissions
|
|
28
|
+
|
|
29
|
+
<Tabs>
|
|
30
|
+
<TabItem value="Delegated">
|
|
31
|
+
|
|
32
|
+
| Resource | Permissions |
|
|
33
|
+
|-----------------|-------------------------------------|
|
|
34
|
+
| Microsoft Graph | FileStorageContainerType.Manage.All |
|
|
35
|
+
|
|
36
|
+
:::info
|
|
37
|
+
|
|
38
|
+
To use this command you must be either **SharePoint Administrator** or **Global Administrator**.
|
|
39
|
+
|
|
40
|
+
:::
|
|
41
|
+
|
|
42
|
+
</TabItem>
|
|
43
|
+
<TabItem value="Application">
|
|
44
|
+
|
|
45
|
+
This command does not support application permissions.
|
|
46
|
+
|
|
47
|
+
</TabItem>
|
|
48
|
+
</Tabs>
|
|
49
|
+
|
|
27
50
|
## Examples
|
|
28
51
|
|
|
29
52
|
Retrieves a list of Container Types created for a SharePoint Embedded Application from the tenant.
|
|
@@ -40,19 +63,24 @@ m365 spe containertype list
|
|
|
40
63
|
```json
|
|
41
64
|
[
|
|
42
65
|
{
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
66
|
+
"id": "5de5c251-61c2-40f5-8947-5a719c1c0b71",
|
|
67
|
+
"name": "Container Type 1",
|
|
68
|
+
"owningAppId": "a6f79b17-a0f5-47d1-bfde-9995caebc2a3",
|
|
69
|
+
"billingClassification": "trial",
|
|
70
|
+
"billingStatus": "valid",
|
|
71
|
+
"createdDateTime": "2025-04-15T17:50:26.9411866Z",
|
|
72
|
+
"expirationDateTime": "2025-05-15T17:50:26.8161883Z",
|
|
73
|
+
"etag": "MC4wLjAuMA==",
|
|
74
|
+
"settings": {
|
|
75
|
+
"urlTemplate": "",
|
|
76
|
+
"isDiscoverabilityEnabled": false,
|
|
77
|
+
"isSearchEnabled": true,
|
|
78
|
+
"isItemVersioningEnabled": true,
|
|
79
|
+
"itemMajorVersionLimit": 500,
|
|
80
|
+
"maxStoragePerContainerInBytes": 209715200,
|
|
81
|
+
"isSharingRestricted": false,
|
|
82
|
+
"consumingTenantOverridables": ""
|
|
83
|
+
}
|
|
56
84
|
}
|
|
57
85
|
]
|
|
58
86
|
```
|
|
@@ -61,17 +89,17 @@ m365 spe containertype list
|
|
|
61
89
|
<TabItem value="Text">
|
|
62
90
|
|
|
63
91
|
```text
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
92
|
+
id name owningAppId
|
|
93
|
+
------------------------------------ --------------------------- ------------------------------------
|
|
94
|
+
5de5c251-61c2-40f5-8947-5a719c1c0b71 Container Type 1 a6f79b17-a0f5-47d1-bfde-9995caebc2a3
|
|
67
95
|
```
|
|
68
96
|
|
|
69
97
|
</TabItem>
|
|
70
98
|
<TabItem value="CSV">
|
|
71
99
|
|
|
72
100
|
```csv
|
|
73
|
-
|
|
74
|
-
|
|
101
|
+
id,name,owningAppId,billingClassification,billingStatus,createdDateTime,etag
|
|
102
|
+
5de5c251-61c2-40f5-8947-5a719c1c0b71,Container Type 1,a6f79b17-a0f5-47d1-bfde-9995caebc2a3,trial,valid,2025-04-15T17:50:26.9411866Z,MC4wLjAuMA==
|
|
75
103
|
```
|
|
76
104
|
|
|
77
105
|
</TabItem>
|
|
@@ -82,18 +110,18 @@ m365 spe containertype list
|
|
|
82
110
|
|
|
83
111
|
Date: 5/11/2024
|
|
84
112
|
|
|
85
|
-
##
|
|
113
|
+
## Container Type 1
|
|
86
114
|
|
|
87
115
|
Property | Value
|
|
88
116
|
---------|-------
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
117
|
+
id | 5de5c251-61c2-40f5-8947-5a719c1c0b71
|
|
118
|
+
name | Container Type 1
|
|
119
|
+
owningAppId | a6f79b17-a0f5-47d1-bfde-9995caebc2a3
|
|
120
|
+
billingClassification | trial
|
|
121
|
+
billingStatus | valid
|
|
122
|
+
createdDateTime | 2025-04-15T17:50:26.9411866Z
|
|
123
|
+
expirationDateTime | 2025-05-15T17:50:26.8161883Z
|
|
124
|
+
etag | MC4wLjAuMA==
|
|
97
125
|
```
|
|
98
126
|
|
|
99
127
|
</TabItem>
|
|
@@ -107,4 +135,4 @@ Container Type is a property stamped on every Container instance. Each Container
|
|
|
107
135
|
|
|
108
136
|
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.
|
|
109
137
|
|
|
110
|
-
More information about SharePoint Embedded and the limits can be found at the following location: [SharePoint Embedded](https://learn.microsoft.com/
|
|
138
|
+
More information about SharePoint Embedded and the limits can be found at the following location: [SharePoint Embedded](https://learn.microsoft.com/sharepoint/dev/embedded/concepts/app-concepts/containertypes#sharepoint-embedded-trial-container-types)
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Global from '/docs/cmd/_global.mdx';
|
|
2
|
+
import Tabs from '@theme/Tabs';
|
|
3
|
+
import TabItem from '@theme/TabItem';
|
|
2
4
|
|
|
3
5
|
# spe containertype remove
|
|
4
6
|
|
|
@@ -27,21 +29,46 @@ m365 spe containertype remove [options]
|
|
|
27
29
|
|
|
28
30
|
## Remarks
|
|
29
31
|
|
|
30
|
-
:::
|
|
32
|
+
:::danger[Important]
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
This command relies on a different API endpoint due to current API limitations. As a result, it requires different permissions than other `spe containertype` commands. We plan to align the permissions in the future once these limitations are resolved.
|
|
33
35
|
|
|
34
36
|
:::
|
|
35
37
|
|
|
38
|
+
## Permissions
|
|
39
|
+
|
|
40
|
+
<Tabs>
|
|
41
|
+
<TabItem value="Delegated">
|
|
42
|
+
|
|
43
|
+
| Resource | Permissions |
|
|
44
|
+
|------------|--------------------|
|
|
45
|
+
| SharePoint | Container.Selected |
|
|
46
|
+
|
|
47
|
+
:::info
|
|
48
|
+
|
|
49
|
+
To use this command you must be either **SharePoint Administrator** or **Global Administrator**.
|
|
50
|
+
|
|
51
|
+
:::
|
|
52
|
+
|
|
53
|
+
</TabItem>
|
|
54
|
+
<TabItem value="Application">
|
|
55
|
+
|
|
56
|
+
| Resource | Permissions |
|
|
57
|
+
|------------|--------------------|
|
|
58
|
+
| SharePoint | Container.Selected |
|
|
59
|
+
|
|
60
|
+
</TabItem>
|
|
61
|
+
</Tabs>
|
|
62
|
+
|
|
36
63
|
## Examples
|
|
37
64
|
|
|
38
|
-
Removes a container type by ID
|
|
65
|
+
Removes a container type by ID.
|
|
39
66
|
|
|
40
67
|
```sh
|
|
41
68
|
m365 spe containertype remove --id 4ec4aefd-4fa3-0e4a-20c3-6e68389e7138
|
|
42
69
|
```
|
|
43
70
|
|
|
44
|
-
Removes a container type by name
|
|
71
|
+
Removes a container type by name.
|
|
45
72
|
|
|
46
73
|
```sh
|
|
47
74
|
m365 spe containertype remove --name 'My container type'
|