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 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

PARAMVALUE: String

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