Commands › SharePoint Online

Get-SPOCrossGeoUsers

SharePoint Online Microsoft.Online.SharePoint.PowerShell Get-*

Returns the SharePoint Online users in a multi-geo tenant that match the criteria.

Quick start script

# Get-SPOCrossGeoUsers — 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-SPOCrossGeoUsers -ValidDataLocation <Boolean> | Format-List

# 3. Export for evidence / drift tracking
Get-SPOCrossGeoUsers | Export-Clixml .\SPOCrossGeoUsers-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-SPOCrossGeoUsers -ValidDataLocation <Boolean> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-ValidDataLocation Boolean yes Use this parameter to validate the location of the data. The acceptable values for this parameter are:

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.