Commands › SharePoint Online
Get-SPOUnifiedGroup
Retrieves the Preferred Data Location for the specified Office 365 Group.
Quick start script
# Get-SPOUnifiedGroup — 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
Get-SPOUnifiedGroup -GroupAlias <String> | Format-List
# 3. Export for evidence / drift tracking
Get-SPOUnifiedGroup | Export-Clixml .\SPOUnifiedGroup-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-SPOUnifiedGroup [-GroupAlias] <String> [<CommonParameters>]
Parameters (1)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.