Set-SPOTenantTaxonomyReplicationParameters
Select groups for replication
Syntax
ReplicateSelectedGroups (Default)
Set-SPOTenantTaxonomyReplicationParameters
-ReplicatedGroups <String[]>
[<CommonParameters>]
ReplicateAllGroups
Set-SPOTenantTaxonomyReplicationParameters
[-ReplicateAllGroups]
[<CommonParameters>]
Description
Before using this cmdlet, make sure you connect to SharePoint Online using Connect-SPOService and the desirable satellite ___location URL as the -Url parameter.
By default, all global groups except system/search/people/sitecollection in primary ___location will be replicated to satellite.
Examples
EXAMPLE 1
Set-SPOTenantTaxonomyReplicationParameters -ReplicatedGroups "group1","group2"
Tenant admin can use this cmdlet to select some groups only for replicating to overwrite default settings.
EXAMPLE 2
Set-SPOTenantTaxonomyReplicationParameters -ReplicateAllGroups
Tenant admin can also reset to replicate all the groups.
Parameters
-ReplicateAllGroups
Applicable: SharePoint Online
This parameter specifies whether all groups should be replicated.
Parameter properties
Type: | System.Management.Automation.SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ReplicateAllGroups
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ReplicatedGroups
Applicable: SharePoint Online
Specifies a comma-separated list of groups that should be replicated.
Parameter properties
Type: | System.String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ReplicateSelectedGroups
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.