Commands › SharePoint Online
Get-SPOUserAndContentMoveState
This cmdlet allows SharePoint administrators to check the status of a user or site move across geo locations.
Quick start script
# Get-SPOUserAndContentMoveState — 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-SPOUserAndContentMoveState -OdbMoveId <Guid> -UserPrincipalName <String> | Format-List
# 3. Export for evidence / drift tracking
Get-SPOUserAndContentMoveState | Export-Clixml .\SPOUserAndContentMoveState-$(Get-Date -Format yyyyMMdd).xml
Syntax — 3 parameter sets
MoveReport (Default)
Get-SPOUserAndContentMoveState [-Limit <UInt32>] [-MoveStartTime <DateTime>] [-MoveEndTime <DateTime>]
[-MoveState <MoveState>] [-MoveDirection <MoveDirection>] [<CommonParameters>]
UserPrincipalName
Get-SPOUserAndContentMoveState -UserPrincipalName <String> [<CommonParameters>]
OdbMoveId
Get-SPOUserAndContentMoveState -OdbMoveId <Guid> [<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.