Skip to content

Commit 4ef1f00

Browse files
Merge pull request #1137 from ShreyasSar26/patch-1
Update Set-SPOContainerTypeConfiguration documentation
2 parents 0a66e47 + 2fd7378 commit 4ef1f00

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ 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>] [-UseLegacyItemWebUrl <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
2828
```
2929

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

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

93+
### Example 8
94+
95+
```powershell
96+
Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -UseLegacyItemWebUrl $true
97+
```
98+
99+
Example 8 configures the containers of ContainerType ID 4f0af585-8dcc-0000-223d-661eb2c604e4 to temporarily continue using the legacy item WebUrl.
100+
93101
## PARAMETERS
94102

95103
### -AnonymousLinkExpirationInDays
@@ -179,6 +187,22 @@ Accept pipeline input: False
179187
Accept wildcard characters: False
180188
```
181189
190+
### -UseLegacyItemWebUrl
191+
192+
When enabled, temporarily uses the legacy item WebUrl format instead of the new SharePoint Embedded item WebUrl.
193+
194+
```yaml
195+
Type: System.Boolean
196+
Parameter Sets: (All)
197+
Aliases:
198+
199+
Required: False
200+
Position: Named
201+
Default value: False
202+
Accept pipeline input: False
203+
Accept wildcard characters: False
204+
```
205+
182206
### -IsArchiveEnabled
183207
184208
Use the `-IsArchiveEnabled` flag to enable archival of containers. Archival moves data to the cold tier, reducing storage costs. While archived, content is inaccessible until reactivated. Reactivation is immediate within the first seven days and can take up to 24 hours afterward. If you don't include this flag, the value defaults to `False`, and all archive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant.

0 commit comments

Comments
 (0)