Commands › SharePoint Online
Add-SPOGeoAdministrator
Adds a new SharePoint user or security group as GeoAdministrator to a multi-geo tenant.
Quick start script
# Add-SPOGeoAdministrator — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com
# 2. Run and inspect
Add-SPOGeoAdministrator -GroupAlias <String> -ObjectId <Guid> -UserPrincipalName <String> | Format-List
# 3. Export for evidence / drift tracking
Add-SPOGeoAdministrator | Export-Clixml .\SPOGeoAdministrator-$(Get-Date -Format yyyyMMdd).xml
Syntax — 3 parameter sets
User (Default)
Add-SPOGeoAdministrator [-UserPrincipalName] <String> [<CommonParameters>]
Group
Add-SPOGeoAdministrator [-GroupAlias] <String> [<CommonParameters>]
ObjectId
Add-SPOGeoAdministrator [-ObjectId] <Guid> [<CommonParameters>]
Parameters (3)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.