Commands › SharePoint Online

Get-SPOCrossGeoMovedUsers

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

In a multi-geo tenant returns the SharePoint Online user (or users) that had been moved.

Quick start script

# Get-SPOCrossGeoMovedUsers — 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-SPOCrossGeoMovedUsers -Direction <String> | Format-List

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

Syntax

Get-SPOCrossGeoMovedUsers -Direction <String> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-Direction String yes Possible values

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