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 (https://go.microsoft.com/fwlink/?LinkID=187810).

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

You must be a SharePoint Online global 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 https://go.microsoft.com/fwlink/p/?LinkId=251832 (https://go.microsoft.com/fwlink/p/?LinkId=251832).

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
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online