Skip to content

Commit 66b88b1

Browse files
authored
Add -ShouldUseLegacyItemWebUrl parameter to Set-SPOContainerTypeConfiguration
Added the -ShouldUseLegacyItemWebUrl parameter to Set-SPOContainerTypeConfiguration and provided an example for its usage.
1 parent cf7224b commit 66b88b1

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisab
2424
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
2525
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
2626
[-CopilotEmbeddedChatHosts <System.Collections.Generic.List`1[System.String]>]
27-
[-AnonymousLinkExpirationInDays <Int32>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
27+
[-AnonymousLinkExpirationInDays <Int32>] [-IsArchiveEnabled <Boolean>] [-ShouldUseLegacyItemWebUrl <Boolean>]
28+
[-WhatIf] [-Confirm] [<CommonParameters>]
2829
```
2930

3031
## DESCRIPTION
@@ -90,6 +91,14 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb
9091

9192
Example 7 enables support for archive and reactivate actions on all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4.
9293

94+
### Example 8
95+
96+
```powershell
97+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -ShouldUseLegacyItemWebUrl $true
98+
```
99+
100+
Example 8 opts in to using the legacy item WebUrl for all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4.
101+
93102
## PARAMETERS
94103

95104
### -AnonymousLinkExpirationInDays
@@ -251,6 +260,22 @@ Accept pipeline input: False
251260
Accept wildcard characters: False
252261
```
253262

263+
### -ShouldUseLegacyItemWebUrl
264+
265+
Use the `-ShouldUseLegacyItemWebUrl` flag to temporarily opt in to using the legacy item WebUrl.
266+
267+
```yaml
268+
Type: System.Boolean
269+
Parameter Sets: (All)
270+
Aliases:
271+
272+
Required: False
273+
Position: Named
274+
Default value: False
275+
Accept pipeline input: False
276+
Accept wildcard characters: False
277+
```
278+
254279
### -WhoCanShareAnonymousAllowList
255280

256281
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`.

0 commit comments

Comments
 (0)