Skip to content

Commit 3e3eb1e

Browse files
authored
Update Set-SPOContainerTypeConfiguration.md
1 parent 92696d4 commit 3e3eb1e

File tree

1 file changed

+145
-4
lines changed

1 file changed

+145
-4
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOContainerTypeConfiguration.md

Lines changed: 145 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ online version: https://learn.microsoft.com/powershell/module/sharepoint-online/
55
applicable: SharePoint Online
66
title: Set-SPOContainerTypeConfiguration
77
schema: 2.0.0
8-
author: FarreltinF
9-
ms.author: fanyi
8+
author: ShreyasSar26
9+
ms.author: shsaravanan
1010
ms.reviewer:
1111
---
1212

@@ -18,14 +18,19 @@ Sets or updates the configuration settings of a container type in SharePoint Emb
1818

1919
## SYNTAX
2020
```powershell
21-
Set-SPOContainerTypeConfiguration [-ContainerTypeId <ContainerTypeId>] [-DiscoverabilityDisabled <Boolean>] [-SharingRestricted <Boolean>]
21+
Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisabled <Boolean>]
22+
[-SharingRestricted <Boolean>] [-ApplicationRedirectUrl <String>] [-WhoCanShareAnonymousAllowList <Guid[]>]
23+
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
24+
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
25+
[[-CopilotEmbeddedChatHosts] <System.Collections.Generic.List`1[System.String]>] [-WhatIf] [-Confirm]
26+
[<CommonParameters>]
2227
```
2328

2429
## DESCRIPTION
2530

2631
For any parameters passed in, the `Set-SPOContainerTypeConfiguration` cmdlet sets or updates the settings for a container type created under a SharePoint Embedded application.
2732

28-
You must be a SharePoint Administrator or Global Administrator to run this cmdlet.
33+
You must be a SharePoint Embedded Administrator to run this cmdlet.
2934

3035
## EXAMPLES
3136

@@ -45,6 +50,13 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb
4550

4651
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.
4752

53+
### Example 3
54+
55+
```powershell
56+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585 -CopilotEmbeddedChatHosts "http://localhost:3000 https://contoso.sharepoint.com https://fabrikam.com"
57+
```
58+
This example sets the host URLs for the container type with Id 4f0af585.
59+
4860
## PARAMETERS
4961

5062
### -DiscoverabilityDisabled
@@ -79,6 +91,135 @@ Default value: True
7991
Accept pipeline input: False
8092
Accept wildcard characters: False
8193
```
94+
### -ApplicationRedirectUrl
95+
96+
This parameter specifies the url of that the application should be redirected to.
97+
98+
```yaml
99+
Type: String
100+
Parameter Sets: (All)
101+
Aliases:
102+
103+
Required: False
104+
Position: Named
105+
Default value: None
106+
Accept pipeline input: False
107+
Accept wildcard characters: False
108+
```
109+
110+
### -ContainerTypeId
111+
112+
This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application.
113+
114+
```yaml
115+
Type: Guid
116+
Parameter Sets: (All)
117+
Aliases:
118+
119+
Required: True
120+
Position: Named
121+
Default value: None
122+
Accept pipeline input: False
123+
Accept wildcard characters: False
124+
```
125+
126+
### -CopilotEmbeddedChatHosts
127+
This parameter is used to add host URLs allowed to use the SharePoint Embedded application's declarative agent experience.
128+
129+
```yaml
130+
Type: System.Collections.Generic.List`1[System.String]
131+
Parameter Sets: (All)
132+
Aliases:
133+
134+
Required: False
135+
Position: 3
136+
Default value: None
137+
Accept pipeline input: False
138+
Accept wildcard characters: False
139+
```
140+
141+
142+
### -OverrideTenantWhoCanShareAnonymousAllowList
143+
144+
This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`. The default value for this parameter is false.
145+
146+
PARAMVALUE: True | False
147+
148+
```yaml
149+
Type: Boolean
150+
Parameter Sets: (All)
151+
Aliases:
152+
153+
Required: False
154+
Position: Named
155+
Default value: None
156+
Accept pipeline input: False
157+
Accept wildcard characters: False
158+
```
159+
160+
### -OverrideTenantWhoCanShareAuthenticatedGuestAllowList
161+
162+
This setting determines if the container type `WhoCanShareAuthenticatedGuestAllowList` overrides the tenant-level `WhoCanShareAuthenticatedGuestAllowList`. The default value for this parameter is false.
163+
164+
PARAMVALUE: True | False
165+
166+
```yaml
167+
Type: Boolean
168+
Parameter Sets: (All)
169+
Aliases:
170+
171+
Required: False
172+
Position: Named
173+
Default value: None
174+
Accept pipeline input: False
175+
Accept wildcard characters: False
176+
```
177+
178+
### -WhoCanShareAnonymousAllowList
179+
180+
Sets a container type-specific list of security groups who are allowed to share with anonymous (non-authenticated) users as well as authenticated guest users. This must be set in conjunction with `OverrideTenantWhoCanShareAnonymousAllowList`.
181+
182+
> [!NOTE]
183+
> This allow list only accepts security groups, and not Microsoft 365 Groups.
184+
185+
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to anyone, set this allow list and the `WhoCanShareAuthenticatedGuestAllowList` to null arrays.
186+
187+
```yaml
188+
Type: Guid[]
189+
Parameter Sets: (All)
190+
Aliases:
191+
192+
Required: False
193+
Position: Named
194+
Default value: None
195+
Accept pipeline input: False
196+
Accept wildcard characters: False
197+
```
198+
199+
### -WhoCanShareAuthenticatedGuestAllowList
200+
201+
Sets a container type-specific list of security groups who are allowed to share with authenticated guest users at the container level. This must be set in conjunction with `OverrideTenantWhoCanShareAuthenticatedGuestAllowList`.
202+
203+
> [!NOTE]
204+
> This allow list only accepts security groups, and not Microsoft 365 Groups.
205+
206+
Each security group is denoted by its GUID object ID. To set this list to be a specific security group, you need to enter its GUID as the parameter. You can enter multiple GUIDs by using a comma to separate them. To skip the check and allow all security groups to share to authenticated guests, set this allow list to a null array.
207+
208+
209+
```yaml
210+
Type: Guid[]
211+
Parameter Sets: (All)
212+
Aliases:
213+
214+
Required: False
215+
Position: Named
216+
Default value: None
217+
Accept pipeline input: False
218+
Accept wildcard characters: False
219+
```
220+
221+
### CommonParameters
222+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
82223

83224
## RELATED LINKS
84225

0 commit comments

Comments
 (0)