Get-SPOCrossGeoMovedUsers
In a multi-geo tenant returns the SharePoint Online user (or users) that had been moved.
Syntax
Default (Default)
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 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
Applicable: SharePoint Online Used to specify move direction.
Possible values
- MoveIn
- MoveOut
Parameter properties
Type: | System.String |
Default value: | None |
Accepted values: | MoveIn, MoveOut |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.