Add-PnPGeoAdministrator
SYNOPSIS
Adds a SharePoint Online multi-geo administrator.
SYNTAX
User
Add-PnPGeoAdministrator [-UserPrincipalName] <String> [-Connection <PnPConnection>]
Group
Add-PnPGeoAdministrator [-GroupAlias] <String> [-Connection <PnPConnection>]
ObjectId
Add-PnPGeoAdministrator [-ObjectId] <Guid> [-Connection <PnPConnection>]
DESCRIPTION
Adds a user or group as a SharePoint Online multi-geo administrator.
EXAMPLES
EXAMPLE 1
Add-PnPGeoAdministrator -UserPrincipalName user@contoso.com
Adds the user as a SharePoint Online multi-geo administrator.
EXAMPLE 2
Add-PnPGeoAdministrator -GroupAlias "Geo Administrators"
Adds the group as a SharePoint Online multi-geo administrator.
EXAMPLE 3
Add-PnPGeoAdministrator -ObjectId 00000000-0000-0000-0000-000000000001
Adds the principal with the specified object identifier as a SharePoint Online multi-geo administrator.
PARAMETERS
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-GroupAlias
Specifies the alias of the group to add as a SharePoint Online multi-geo administrator.
Type: String
Parameter Sets: Group
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ObjectId
Specifies the object identifier of the principal to add as a SharePoint Online multi-geo administrator.
Type: Guid
Parameter Sets: ObjectId
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UserPrincipalName
Specifies the user principal name of the user to add as a SharePoint Online multi-geo administrator.
Type: String
Parameter Sets: User
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
OUTPUTS
None
This cmdlet does not return output.