Commands › SharePoint Online

Set-SPOTenantTaxonomyReplicationParameters

SharePoint Online Microsoft.Online.SharePoint.PowerShell Set-*

Select groups for replication

Quick start script

# Set-SPOTenantTaxonomyReplicationParameters — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOTenantTaxonomyReplicationParameters
$before | Format-List

# 3. Make the change
Set-SPOTenantTaxonomyReplicationParameters -ReplicateAllGroups <SwitchParameter> -ReplicatedGroups <String[]>

# 4. Verify and diff
$after = Get-SPOTenantTaxonomyReplicationParameters
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax — 2 parameter sets

ReplicateSelectedGroups (Default)

Set-SPOTenantTaxonomyReplicationParameters -ReplicatedGroups <String[]> [<CommonParameters>]

ReplicateAllGroups

Set-SPOTenantTaxonomyReplicationParameters [-ReplicateAllGroups] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-ReplicateAllGroups SwitchParameter yes This parameter specifies whether all groups should be replicated.
-ReplicatedGroups String[] yes Specifies a comma-separated list of groups that should be replicated.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.