diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md index 6344015f5..ae882a962 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md @@ -24,7 +24,7 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId [-DiscoverabilityDisab [-WhoCanShareAuthenticatedGuestAllowList ] [-OverrideTenantWhoCanShareAnonymousAllowList ] [-OverrideTenantWhoCanShareAuthenticatedGuestAllowList ] [-CopilotEmbeddedChatHosts ] - [-AnonymousLinkExpirationInDays ] [-WhatIf] [-Confirm] [] + [-AnonymousLinkExpirationInDays ] [-IsArchiveEnabled ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -82,6 +82,14 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb ``` This example sets the host URLs for the container type with Id 4f0af585-8dcc-0000-223d-661eb2c604e4. +### Example 7 + +```powershell +Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -IsArchiveEnabled $true +``` + +Example 7 enables support for archive and reactivate actions on all the containers of ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4. + ## PARAMETERS ### -AnonymousLinkExpirationInDays @@ -171,6 +179,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -IsArchiveEnabled + +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. + +```yaml +Type: System.Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -OverrideTenantWhoCanShareAnonymousAllowList This setting determines if the container type `WhoCanShareAnonymousAllowList` overrides the tenant-level `WhoCanShareAnonymousAllowList`.