Share via


Set-SPOUnifiedGroup

Sets the Preferred Data Location (PDL) for the specified Office 365 Group. The customer tenant must be multi-geo enabled.

Syntax

Default (Default)

Set-SPOUnifiedGroup
    [-GroupAlias] <String>
    [-PreferredDataLocation] <String>
    [<CommonParameters>]

Description

Use this cmdlet to set the Preferred Data Location for an Office 365 Group.

Examples

Example 1

Set-SPOUnifiedGroup -GroupAlias EUTeam -PreferredDataLocation EUR

Sets the PDL for the Office 365 Group named 'EUTeam' to EUR (Europe).

Parameters

-GroupAlias

Applicable: SharePoint Online

The alias of the Office 365 Group.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PreferredDataLocation

Applicable: SharePoint Online

The Preferred Data Location for the Office 365 Group.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
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.

Inputs

None

Outputs

System.Object