Skip to content

Commit 27177ca

Browse files
Update date and improve clarity in container types doc (#10434)
* Update date and improve clarity in container types doc Updated the date to 10/07/2025 and revised several sections for clarity and consistency. * Fix grammar and clarity in container types documentation Corrected minor grammatical errors and improved clarity in the documentation regarding SharePoint Embedded container types. Fix broken links --------- Co-authored-by: Andrew Connell <[email protected]>
1 parent 59f023e commit 27177ca

File tree

1 file changed

+72
-21
lines changed

1 file changed

+72
-21
lines changed

docs/embedded/getting-started/containertypes.md

Lines changed: 72 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
---
22
title: Create New SharePoint Embedded Container Types
33
description: This article explains how Container Types work and the steps to create new Container Types.
4-
ms.date: 03/03/2025
4+
ms.date: 10/07/2025
55
ms.localizationpriority: high
66
---
77

88
# SharePoint Embedded Container Types
99

1010
A container type is a SharePoint Embedded resource that defines the relationship, access privileges, and billing accountability between a SharePoint Embedded application and a set of containers. Also, the container type defines behaviors on the set of containers.
1111

12-
Each container type is strongly coupled with one SharePoint Embedded application, which is referred to as the owning application. The owning application developer is responsible for creating and managing their container types. SharePoint Embedded mandates a 1:1 relationship between owning application and a container type.
12+
Each container type is strongly coupled with one SharePoint Embedded application, which is referred to as the owning application. The owning application developer is responsible for creating and managing their container types. SharePoint Embedded mandates a 1:1 relationship between the owning application and a container type.
1313

1414
Container type is represented on each container instance as an immutable property (ContainerTypeID) and is used across the entire SharePoint Embedded ecosystem, including:
1515

1616
- **Access authorization**: A SharePoint Embedded application must be associated with a container type to get access to container instances of that type. Once associated, the application has access to all container instances of that type. The actual access privilege is determined by the application-ContainerTypeID permission setting. The owning application by default has full access privilege to all container instances of the container type it's strongly coupled with. Learn more about [SharePoint Embedded Authorization](../development/auth.md).
17-
- **Easy exploration**: Container type can be created for trial purposes, allowing developers to explore SharePoint Embedded application development and assess its features for free.
17+
- **Easy exploration**: A Container type can be created for trial purposes, allowing developers to explore SharePoint Embedded application development and assess its features for free.
1818
- **Billing**: Container types for non-trial purposes are billable and must be created with an Azure Subscription. The usage of containers is metered and charged. Learn more about [metering](../administration/billing/meters.md) and the [SharePoint Embedded billing experience](../administration/billing/billingmanagement.md).
1919
- **Configurable behaviors**: Container type defines selected behaviors for all container instances of that type. Learn more about setting [Container type configuration](../getting-started/containertypes.md#configuring-container-types).
2020

2121
> [!NOTE]
2222
>
23-
> 1. You must specify the purpose of the container type you're creating at creation time. Depending on the purpose, you may or may not need to provide your Azure Subscription ID. A container type set for trial purposes can't be converted for production; or vice versa.
24-
> 1. Standard and pass through container types can't be converted once created. If you want to convert a standard container type to pass through billing or vice versa, you must delete and re-create the container type.
23+
> 1. You must specify the purpose of the container type you're creating at creation time. Depending on the purpose, you may or may not need to provide your Azure Subscription ID. A container type set for trial purposes can't be converted for production, or vice versa.
24+
> 1. Standard and pass-through container types can't be converted once created. If you want to convert a standard container type to pass through billing or vice versa, you must delete and re-create the container type.
2525
> 1. You must use the latest version of SharePoint PowerShell to configure a container type. For permissions and the most current information about Windows PowerShell for SharePoint Embedded, see the documentation at [Intro to SharePoint Embedded Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell).
2626
2727
## Creating Container Types
@@ -31,13 +31,13 @@ SharePoint Embedded has 2 different Container Types you can create.
3131
1. [Trial Container Type](#trial-container-type)
3232
1. [Standard Container Type](#standard-container-types-non-trial)
3333

34-
### Prerequisites to create SharePoint Embedded container type
34+
### Prerequisites to create a SharePoint Embedded container type
3535

3636
A new container type will be created using **SharePoint Online Management Shell**:
3737

3838
1. Download and install the [latest version of SharePoint Online Management Shell](https://www.microsoft.com/download/details.aspx?id=35588)
3939
1. Open SharePoint Online Management Shell from **Start** screen, type **sharepoint**, and then select **SharePoint Online Management Shell**.
40-
1. Connect to SPO service using `Connect-SPOService` cmdlet by providing admin credentials associated with tenancy. For information on [how to use Connect-SPOService](/powershell/module/sharepoint-online/connect-sposervice), refer the linked documentation.
40+
1. Connect to the SPO service using `Connect-SPOService` cmdlet by providing admin credentials associated with tenancy. For information on [how to use Connect-SPOService](/powershell/module/sharepoint-online/connect-sposervice), refer to the linked documentation.
4141

4242
### Tenant requirements
4343

@@ -67,7 +67,7 @@ Each developer can have only one container type in the trial status in their ten
6767

6868
To create a container type for trial purposes, you can:
6969

70-
- Use SharePoint Embedded Visual Studio Code Extension to create the container type in just a few steps. The Visual Studio Code extension registers your container type and creates containers for you.
70+
- Use the SharePoint Embedded Visual Studio Code Extension to create the container type in just a few steps. The Visual Studio Code extension registers your container type and creates containers for you.
7171
- Use SharePoint PowerShell. You must be a SharePoint Embedded Administrator or Global Administrator to run the following cmdlet. If you're a SharePoint Administrator, grant yourself the SharePoint Embedded Admin role as well to execute these cmdlets.
7272

7373
```powershell
@@ -78,7 +78,7 @@ The following restrictions are applied to trial container types:
7878
7979
- Up to five containers of the container type can be created. This includes active containers and those in the recycle bin.
8080
- Each container has up to 1 GB of storage space.
81-
- The container type expires after 30 days and access to any existing containers of that container type will be removed.
81+
- The container type expires after 30 days, and access to any existing containers of that container type will be removed.
8282
- The developer must permanently delete all containers of an existing container type in trial status to create a new container type for trial. This includes containers in the deleted container collection.
8383
- The container type is restricted to work in the developer tenant. It can't be deployed in other consuming tenants.
8484
@@ -88,15 +88,15 @@ A standard container type in SharePoint Embedded defines the relationship, acces
8888
8989
### Billing profile
9090
91-
SharePoint Embedded is a consumption-based Pay-as-you-go (PAYG) offering meaning you pay only for what you use. SharePoint Embedded provides two billing models that the tenant developing the SharePoint Embedded application can select for respective container types, tailoring it to their unique business requirements. The two billing models are Standard and Pass-through billing.
91+
SharePoint Embedded is a consumption-based Pay-as-you-go (PAYG) offering, meaning you pay only for what you use. SharePoint Embedded provides two billing models that the tenant developing the SharePoint Embedded application can select for respective container types, tailoring it to their unique business requirements. The two billing models are Standard and Pass-through billing.
9292
9393
### Standard Container Type - with billing profile
9494
9595
With the standard billing profile, all consumption-based charges are directly billed to the tenant who owns or develops the application. The admin in the developer tenant must establish a valid billing profile when creating a standard container type.
9696
9797
![Standard](../images/1bill521.png)
9898
99-
Each developer tenant can create up to five container types consisting of 1 trial container type and 4 standard container types or 5 standard container types.
99+
Each developer tenant can create up to five container types, consisting of 1 trial container type and 4 standard container types or 5 standard container types.
100100
Standard container types are created using the [New-SPOContainerType](/powershell/module/sharepoint-online/new-spocontainertype) cmdlet.
101101
102102
You need the following to create a standard container type:
@@ -126,17 +126,17 @@ Add-SPOContainerTypeBilling –ContainerTypeId <ContainerTypeId> -AzureSubscript
126126
>
127127
> An Azure subscription can be attached to any number of container types.
128128
>
129-
> If the cmdlet above fails with a SubscriptionNotRegistered error, it is because **Microsoft.Syntex** is not registered as a resource provider in the subscription. The cmdlet will send a resource provider registration request on your behalf but it will take a few minutes to be completed. Please wait 5-10 minutes and try again until the cmdlet succeeds.
129+
> If the cmdlet above fails with a SubscriptionNotRegistered error, it is because **Microsoft.Syntex** is not registered as a resource provider in the subscription. The cmdlet will send a resource provider registration request on your behalf, but it will take a few minutes to be completed. Please wait 5-10 minutes and try again until the cmdlet succeeds.
130130
131131
### Standard Container Type - pass-through billing
132132

133133
With pass-through billing, consumption-based charges are billed directly to the tenant registered to use the SharePoint Embedded application (consuming tenant). Admins in the developer tenant don't need to set up an Azure billing profile when creating a pass-through SharePoint Embedded container type.
134134

135135
![Pass Through](../images/2bill521.png)
136136

137-
For container types intended to be directly billed to a customer use the flag `-IsPassThroughBilling`. For the direct to customer billed container type, there's no need to attach a billing profile.
137+
For container types intended to be directly billed to a customer, use the flag `-IsPassThroughBilling`. For the direct-to-customer billed container type, there's no need to attach a billing profile.
138138

139-
To create a pass through billing, standard container type, use the following cmdlet:
139+
To create a pass-through billing, standard container type, use the following cmdlet:
140140

141141
```powershell
142142
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-IsPassThroughBilling] [<CommonParameters>]
@@ -156,23 +156,49 @@ Once the container type is [registered](../getting-started/register-api-document
156156
![Microsoft 365 admin center SharePoint Embedded Billing setting](../images/SyntexPAYGActivateSPE.png)
157157

158158
> [NOTE]
159-
The subscription configured in the Syntex services will reflect the consuming charges in the Azure billing portal.
159+
The subscription configured in the Syntex services will reflect the consumption charges in the Azure billing portal.
160160

161161
1. [Register the container type](#registering-container-types) using the App only authentication token.
162162

163163
## Configuring Container Types
164164

165-
The Developer Admin can set selected settings on the SharePoint Embedded container types created by using this PowerShell cmdlet.
165+
Developer admins can configure selected settings for SharePoint Embedded container types that have been created. The following table lists the available settings.
166166

167-
This cmdlet allows admins to set [Microsoft 365 content discoverability](../development/content-experiences/user-experiences-overview.md) and [sharing](../development/sharing-and-perm.md) settings on container types. The setting applies to all container instances of the container type:
167+
| Settings | Description |
168+
|----------|----------|
169+
| **ApplicationRedirectUrl** | Specifies the URL to which the application’s files are redirected. |
170+
| **CopilotEmbeddedChatHosts** | Adds host URLs that are permitted to use the SharePoint Embedded application’s declarative agent experience. |
171+
| **DiscoverabilityDisabled** | Determines whether content from a SharePoint Embedded application is visible across Microsoft 365 experiences. |
172+
| **SharingRestricted** | Configures sharing permissions for SharePoint Embedded containers by using role-based access. Supports both open and restrictive sharing models. When restrictive sharing is set to true, only managers and owners can share files in the container.|
173+
174+
The [Set-SPOContainerType](/powershell/module/sharepoint-online/Set-SPOContainerType) cmdlet allows admins to update the Application Redirect URL. The [Set-SPOContainerTypeConfiguration](/powershell/module/sharepoint-online/Set-SPOContainerTypeConfiguration) cmdlet allows admins to add host URLs, set [Microsoft 365 content discoverability](../development/content-experiences/user-experiences-overview.md) and [sharing](../development/sharing-and-perm.md) settings on container types. The setting applies to all container instances of the container type.
175+
176+
### Example 1
177+
178+
```powershell
179+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -DiscoverabilityDisabled $false
180+
```
181+
182+
Example 1 turns on discoverability for this container type. All content created within this container type will be discoverable in the Microsoft 365 experience, including on office.com, onedrive.com, recommended files, and other intelligent discovery experiences.
183+
184+
### Example 2
168185

169186
```powershell
170-
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -DiscoverabilityDisabled $False
187+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -SharingRestricted $false
171188
```
172189

190+
Example 2 turns on an open sharing model for this container type. Any container members and guest users with edit permissions can share files created within the container type.
191+
192+
### Example 3
193+
194+
```powershell
195+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -CopilotEmbeddedChatHosts "https://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com"
196+
```
197+
This example sets the host URLs for the container type with ID `4f0af585-8dcc-0000-223d-661eb2c604e4`.
198+
173199
## Viewing Container Types
174200

175-
The Developer Admin can view all the SharePoint Embedded container types they created on their tenant using `Get-SPOContainerType`. This cmdlet retrieves and returns the list of container types created for a SharePoint Embedded Application in the tenant.
201+
The Developer Admin can view all the SharePoint Embedded container types they created on their tenant using [Get-SPOContainerType](/powershell/module/sharepoint-online/Get-SPOContainerType). This cmdlet retrieves and returns the list of container types created for a SharePoint Embedded Application in the tenant.
176202

177203
```powershell
178204
Get-SPOContainerType [<CommonParameters>]
@@ -189,14 +215,39 @@ AzureSubscriptionId : 564e9025-f7f5-xxx9-9ddd-4cdxxxx1755
189215
ResourceGroup : prod-resources
190216
Region : EastUS
191217
```
218+
## Updating Container Types
219+
220+
Developer admins can update a SharePoint Embedded container type in their tenant by using the [Set-SPOContainerType](/powershell/module/sharepoint-online/Set-SPOContainerType). This cmdlet changes one or more property values for trial, standard, or direct-to-customer billed container types. You can use it to update basic information, such as the container type name or billing details.
221+
222+
To update basic information, you must be a SharePoint Embedded Administrator. To change billing information, you need owner or contributor access to both the existing billing subscription and the new billing subscription associated with the container type.
223+
224+
The following properties cannot be updated: container type ID and owning application ID.
225+
226+
227+
### Example 1
228+
229+
```powershell
230+
Set-SPOContainerType -ContainerTypeId da1d89b3-b4cf-4c0a-8e1c-0d131c57544f -OwningApplicationId 12a9d93c-18d7-46a0-b43e-28d20addd56a - ContainerTypeName 'Red Container Type'
231+
```
232+
233+
Example 1 sets the container type name as 'Red Container Type'
234+
235+
### Example 2
236+
237+
```powershell
238+
Set-SPOContainerType -ContainerTypeId da1d89b3-b4cf-4c0a-8e1c-0d131c57544f –Azure Subscription 12a9d93c-18d7-46a0-b43e-28d20addd56a -ResourceGroup RG200
239+
```
240+
241+
In Example 2, the billing profile of the container type is updated.
242+
192243

193244
## Registering Container Types
194245

195-
To create and interact with containers, you must [register](../getting-started/register-api-documentation.md) the container type within the Consuming Tenant. The owning application defines the permissions for the container type by invoking the [registration API](../getting-started/register-api-documentation.md).
246+
To create and interact with containers, you must [register](register-api-documentation.md) the container type within the Consuming Tenant. The owning application defines the permissions for the container type by invoking the [registration API](register-api-documentation.md).
196247

197248
## Deleting Container Types
198249

199-
Developer admins can delete both trial and standard container types. To delete a container type, you must first remove all containers of that container type, including from the deleted container collection. To remove containers, refer to [Consuming Tenant Admin](../administration/consuming-tenant-admin/cta.md).
250+
Developer admins can delete both trial and standard container types. To delete a container type, you must first remove all containers of that container type, including those from the deleted container collection. To remove containers, refer to [Consuming Tenant Admin](../administration/consuming-tenant-admin/cta.md).
200251
Once all the containers are deleted, Developer admins can delete the container type using `Remove-SPOContainerType`.
201252

202253
```powershell

0 commit comments

Comments
 (0)