| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/add-spogeoadministrator |
| applicable | SharePoint Online |
| title | Add-SPOGeoAdministrator |
| schema | 2.0.0 |
| author | samkabue |
| ms.author | speedta |
| ms.reviewer | |
| ms.custom | no-azure-ad-ps-ref |
Adds a new SharePoint user or security group as GeoAdministrator to a multi-geo tenant.
Add-SPOGeoAdministrator [-UserPrincipalName] <String> [<CommonParameters>]
Add-SPOGeoAdministrator [-GroupAlias] <String> [<CommonParameters>]
Add-SPOGeoAdministrator [-ObjectId] <Guid> [<CommonParameters>]
This cmdlet requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online administrator to run this cmdlet.
Add-SPOGeoAdministrator -UserPrincipalName admin@contoso.onmicrosoft.comAdds the user admin@contoso.onmicrosoft.com as administrator to the SharePoint Online multi-geo tenant.
Applicable: SharePoint Online
Use this parameter to add a security group or a mail-enabled security group as a geo admin. (Distribution groups and Microsoft 365 Groups are not supported).
Type: System.String
Parameter Sets: Group
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseApplicable: SharePoint Online
Not all security groups have a group alias. If you want to add a security group that does not have an alias, run Get-EntraGroup to retrieve a list of groups, find your security group's ObjectID, and then use this parameter. For more information, see Add or remove a geo administrator in Microsoft 365 Multi-Geo.
Type: System.Guid
Parameter Sets: ObjectId
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseApplicable: SharePoint Online
UserPrincipalName or UPN defined for the specific user on the SharePoint Online tenant.
Type: System.String
Parameter Sets: User
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.