Skip to content

Latest commit

 

History

History
92 lines (60 loc) · 2.85 KB

File metadata and controls

92 lines (60 loc) · 2.85 KB
external help file sharepointonline.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/sharepoint-online/remove-spogeoadministrator
applicable SharePoint Online
title Remove-SPOGeoAdministrator
schema 2.0.0
author trent-green
ms.author trgreen
ms.reviewer

Remove-SPOGeoAdministrator

SYNOPSIS

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
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

Get-SPOAppErrors

Add-SPOGeoAdministrator

Get-SPOGeoAdministrator