Get-SPOCrossGeoMovedUsers

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

Syntax

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

Description

This cmdlet allows you to get the moved users out and in the current SPO Site. It requires a connection to a multi-geo tenant to run correctly. You must be a SharePoint Online Administrator or Global Administrator to get the moved users out and in the current SPO site.

Examples

-----------------------EXAMPLE 1-----------------------------

Get-SPOCrossGeoMovedUsers -Direction MoveIn

Get the cross users that have been moved in the current SPO site

-----------------------EXAMPLE 2-----------------------------

Get-SPOCrossGeoMovedUsers -Direction MoveOut

Get the cross users that have been moved out the current SPO site

Parameters

-Direction

Used to specify move direction.

Possible values

  • MoveIn
  • MoveOut
Type:String
Accepted values:MoveIn, MoveOut
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online