From fb3141e9027a23145cf6a3f02a242a4f38b3cff2 Mon Sep 17 00:00:00 2001 From: Ishwari Tambakhe Date: Fri, 14 Nov 2025 00:46:59 +0530 Subject: [PATCH 1/4] Learn Editor: Update Set-SPOContainerTypeConfiguration.md --- .../Set-SPOContainerTypeConfiguration.md | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) 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..7513985f7 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,15 @@ 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 @@ -169,6 +178,25 @@ Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False + +``` + + +### -IsArchiveEnabled + +Using -IsArchiveEnabled flag, you can start supporting archival and reactivation actions on containers. Archival moves the data in cold tier and offers cost saving benefit. While archived, the content becomes inaccessible and needs to be reactivated first. Reactivation is instantaneous within first 7 days of archival and may take up to 24 hours after that. When not passed, the value of this parameter is set to False and all the calls to archive and unarchive API will fail. + + +```yaml +Type: System.Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False ``` ### -OverrideTenantWhoCanShareAnonymousAllowList From 8d7f70c3d771997a9f174ad2dda328e77e9fc591 Mon Sep 17 00:00:00 2001 From: Ishwari Tambakhe Date: Fri, 14 Nov 2025 00:53:33 +0530 Subject: [PATCH 2/4] Learn Editor: Update Set-SPOContainerTypeConfiguration.md From 7a145b2f3d78d05ab22e71049faf4b9201b50439 Mon Sep 17 00:00:00 2001 From: Ishwari Tambakhe Date: Fri, 14 Nov 2025 11:32:01 +0530 Subject: [PATCH 3/4] Learn Editor: Update Set-SPOContainerTypeConfiguration.md --- .../Set-SPOContainerTypeConfiguration.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 7513985f7..3fab71d66 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md @@ -84,7 +84,6 @@ This example sets the host URLs for the container type with Id 4f0af585-8dcc-000 ### Example 7 - ```powershell Set-SPOContainerTypeConfiguration -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4 -IsArchiveEnabled $true ``` @@ -178,14 +177,11 @@ Position: Named Default value: None Accept pipeline input: False Accept wildcard characters: False - ``` - ### -IsArchiveEnabled -Using -IsArchiveEnabled flag, you can start supporting archival and reactivation actions on containers. Archival moves the data in cold tier and offers cost saving benefit. While archived, the content becomes inaccessible and needs to be reactivated first. Reactivation is instantaneous within first 7 days of archival and may take up to 24 hours after that. When not passed, the value of this parameter is set to False and all the calls to archive and unarchive API will fail. - +Use the `-IsArchiveEnabled` flag to enable archival and reactivation for 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 and unarchive 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 From 37922485d129ac0ebdb56d0516c7bf4c3f420a47 Mon Sep 17 00:00:00 2001 From: Ishwari Tambakhe Date: Fri, 14 Nov 2025 16:09:55 +0530 Subject: [PATCH 4/4] Learn Editor: Update Set-SPOContainerTypeConfiguration.md --- .../Set-SPOContainerTypeConfiguration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3fab71d66..f56fb8fce 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOContainerTypeConfiguration.md @@ -181,7 +181,7 @@ Accept wildcard characters: False ### -IsArchiveEnabled -Use the `-IsArchiveEnabled` flag to enable archival and reactivation for 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 and unarchive API calls fail. After you update the flag, allow up to 24 hours for the change to take effect in the consuming tenant. +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