| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/remove-spogeoadministrator |
| applicable | SharePoint Online |
| title | Remove-SPOGeoAdministrator |
| schema | 2.0.0 |
| author | samkabue |
| ms.author | speedta |
| ms.reviewer |
Removes a new SharePoint user or security Group in the current Multi-Geo Tenant.
Remove-SPOGeoAdministrator [-UserPrincipalName] <String> [<CommonParameters>]
Remove-SPOGeoAdministrator [-GroupAlias] <String> [<CommonParameters>]
Remove-SPOGeoAdministrator [-ObjectId] <Guid> [<CommonParameters>]
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.
Remove-SPOGeoAdministrator contosoadminRemove the GeoAdministrator privileges to the user contosoadmin of the SharePoint Online multi-geo tenant.
Remove-SPOGeoAdministrator -LoginName contosoadminSame as example 1, but using the LoginName parameter explicitly.
Applicable: SharePoint Online
The login name of the security group to be removed.
Type: System.String
Parameter Sets: Group
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseApplicable: SharePoint Online
The ID of the user or security group to be removed.
Type: System.Guid
Parameter Sets: ObjectId
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseApplicable: SharePoint Online
The login name of the user to be removed.
Type: System.String
Parameter Sets: User
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.