Remove-SPOGeoAdministrator
Removes a new SharePoint user or security Group in the current Multi-Geo Tenant.
Syntax
User (Default)
Remove-SPOGeoAdministrator
[-UserPrincipalName] <String>
[<CommonParameters>]
Group
Remove-SPOGeoAdministrator
[-GroupAlias] <String>
[<CommonParameters>]
ObjectId
Remove-SPOGeoAdministrator
[-ObjectId] <Guid>
[<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
-GroupAlias
{{ Fill GroupAlias Description }}
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Group
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ObjectId
{{ Fill ObjectId Description }}
Parameter properties
Type: | System.Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ObjectId
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-UserPrincipalName
Applicable: SharePoint Online {{ Fill UserPrincipalName Description }}
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
User
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.