Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Set-SPOContainerTypeConfiguration -ContainerTypeId <Guid> [-DiscoverabilityDisab
[-WhoCanShareAuthenticatedGuestAllowList <Guid[]>] [-OverrideTenantWhoCanShareAnonymousAllowList <Boolean>]
[-OverrideTenantWhoCanShareAuthenticatedGuestAllowList <Boolean>]
[-CopilotEmbeddedChatHosts <System.Collections.Generic.List`1[System.String]>]
[-AnonymousLinkExpirationInDays <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-AnonymousLinkExpirationInDays <Int32>] [-IsArchiveEnabled <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -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
Copy link
Contributor

@samkabue samkabue Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove extra blank line #Closed

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
Expand Down Expand Up @@ -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
Copy link
Contributor

@samkabue samkabue Nov 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean up bunch of extra blank lines #Closed

Type: System.Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -OverrideTenantWhoCanShareAnonymousAllowList
Expand Down