Add-SPOGeoAdministrator

Adds a new SharePoint user or security group as GeoAdministrator to a multi-geo tenant.

Syntax

Add-SPOGeoAdministrator
    -UserPrincipalName <string>
    -GroupAlias <string>
    -ObjectId <guid> 
   [<CommonParameters>]

Description

This cmdlet requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online global Administrator to run this cmdlet.

Examples

EXAMPLE 1

Add-SPOGeoAdministrator -UserPrincipalName admin@contoso.onmicrosoft.com

Adds the user **admin@contoso.onmicrosoft.com** as administrator to the SharePoint Online multi-geo tenant.

Parameters

-GroupAlias

PARAMVALUE: String

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-ObjectId

PARAMVALUE: Guid

Type:Guid
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-UserPrincipalName

PARAMVALUE: String

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online