Remove-SPOGeoAdministrator

Removes a new SharePoint user or security Group in the current Multi-Geo Tenant.

Syntax

Remove-SPOGeoAdministrator
      [-LoginName] <String>
      [<CommonParameters>]

Description

This cmdlet contains a single parameter set. You may only use parameters from one parameter set and you may not combine parameters from different parameter sets. For more information about how to use parameter sets, see Cmdlet parameter sets.

The Remove-SPOGeoAdministrator cmdlet matches a user or a security group and remove the GeoAdministrator privileges in the SharePoint Organization.

You must be at least a SharePoint Online administrator, and you must have a Multi-Geo Tenant to run the Remove-SPOGeoAdministrator cmdlet successfully.

For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at Intro to SharePoint Online Management Shell.

Examples

Example 1

Remove-SPOGeoAdministrator contosoadmin

Remove the GeoAdministrator privileges to the user contosoadmin of the SharePoint Online multi-geo tenant.

Example 2

Remove-SPOGeoAdministrator -LoginName contosoadmin

Same as example 1, but using the LoginName parameter explicitly.

Parameters

-LoginName

It's the user Principal Name or UPN of a user. Typically the username that he uses to log in.

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