New-MoveRequest
Begin the process of an asynchronous mailbox or personal archive move. You can also check mailbox readiness to be moved by using the WhatIf parameter. **Note**: After April 15, 2020, you shouldn't use this cmdlet to manually move mailboxes within an Exchange Online organization. You can only use this cmdlet for migrating to and from Exchange Online. If you have issues with a mailbox and want to fix it by moving the mailbox within your Exchange Online organization, please open a Microsoft Support request instead.
Quick start script
# New-MoveRequest — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-MoveRequest
$before | Format-List
# 3. Make the change (dry run first)
New-MoveRequest -Identity <MailboxOrMailUserIdParameter> -Outbound <SwitchParameter> -Remote <SwitchParameter> -WhatIf
New-MoveRequest -Identity <MailboxOrMailUserIdParameter> -Outbound <SwitchParameter> -Remote <SwitchParameter>
# 4. Verify and diff
$after = Get-MoveRequest
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 6 parameter sets
MigrationOutbound
New-MoveRequest [-Identity] <MailboxOrMailUserIdParameter> -RemoteHostName <Fqdn>
[-Outbound]
[-RemoteCredential <PSCredential>]
[-RemoteGlobalCatalog <Fqdn>]
[-AcceptLargeDataLoss]
[-AllowLargeItems]
[-ArchiveDomain <String>]
[-ArchiveOnly]
[-BadItemLimit <Unlimited>]
[-BatchName <String>]
[-CompleteAfter <DateTime>]
[-CompletedRequestAgeLimit <Unlimited>]
[-Confirm]
[-DomainController <Fqdn>]
[-ForceOffline]
[-IgnoreRuleLimitErrors]
[-IncrementalSyncInterval <TimeSpan>]
[-InternalFlags <InternalMrsFlag[]>]
[-LargeItemLimit <Unlimited>]
[-MoveOptions <MultiValuedProperty>]
[-MRSServer <Fqdn>]
[-PreventCompletion]
[-PrimaryOnly]
[-Priority <RequestPriority>]
[-Protect]
[-ProxyToMailbox <MailboxIdParameter>]
[-RemoteArchiveTargetDatabase <String>]
[-RemoteOrganizationName <String>]
[-RemoteTargetDatabase <String>]
[-RequestExpiryInterval <Unlimited>]
[-SkipMoving <SkippableMoveComponent[]>]
[-SourceEndpoint <MigrationEndpointIdParameter>]
[-StartAfter <DateTime>]
[-Suspend]
[-SuspendComment <String>]
[-SuspendWhenReadyToComplete]
[-TargetDeliveryDomain <Fqdn>]
[-WhatIf]
[-WorkloadType <RequestWorkloadType>]
[<CommonParameters>]
MigrationRemote
New-MoveRequest [-Identity] <MailboxOrMailUserIdParameter> -RemoteHostName <Fqdn>
[-Remote]
[-RemoteCredential <PSCredential>]
[-RemoteGlobalCatalog <Fqdn>]
[-AcceptLargeDataLoss]
[-AllowLargeItems]
[-ArchiveDomain <String>]
[-ArchiveOnly]
[-ArchiveTargetDatabase <DatabaseIdParameter>]
[-BadItemLimit <Unlimited>]
[-BatchName <String>]
[-CompleteAfter <DateTime>]
[-CompletedRequestAgeLimit <Unlimited>]
[-Confirm]
[-DomainController <Fqdn>]
[-ForceOffline]
[-IgnoreRuleLimitErrors]
[-IncrementalSyncInterval <TimeSpan>]
[-InternalFlags <InternalMrsFlag[]>]
[-LargeItemLimit <Unlimited>]
[-MoveOptions <MultiValuedProperty>]
[-MRSServer <Fqdn>]
[-PreventCompletion]
[-PrimaryOnly]
[-Priority <RequestPriority>]
[-Protect]
[-ProxyToMailbox <MailboxIdParameter>]
[-RemoteOrganizationName <String>]
[-RequestExpiryInterval <Unlimited>]
[-SkipMoving <SkippableMoveComponent[]>]
[-SourceEndpoint <MigrationEndpointIdParameter>]
[-StartAfter <DateTime>]
[-Suspend]
[-SuspendComment <String>]
[-SuspendWhenReadyToComplete]
[-TargetDatabase <DatabaseIdParameter>]
[-TargetDeliveryDomain <Fqdn>]
[-WhatIf]
[-WorkloadType <RequestWorkloadType>]
[<CommonParameters>]
MigrationRemoteLegacy
New-MoveRequest [-Identity] <MailboxOrMailUserIdParameter> -RemoteCredential <PSCredential> -RemoteGlobalCatalog <Fqdn>
[-RemoteLegacy]
[-AcceptLargeDataLoss]
[-AllowLargeItems]
[-BadItemLimit <Unlimited>]
[-BatchName <String>]
[-CompleteAfter <DateTime>]
[-CompletedRequestAgeLimit <Unlimited>]
[-Confirm]
[-DomainController <Fqdn>]
[-ForceOffline]
[-IgnoreRuleLimitErrors]
[-IncrementalSyncInterval <TimeSpan>]
[-InternalFlags <InternalMrsFlag[]>]
[-LargeItemLimit <Unlimited>]
[-MoveOptions <MultiValuedProperty>]
[-MRSServer <Fqdn>]
[-PreventCompletion]
[-Priority <RequestPriority>]
[-Protect]
[-ProxyToMailbox <MailboxIdParameter>]
[-RemoteTargetDatabase <String>]
[-RequestExpiryInterval <Unlimited>]
[-SkipMoving <SkippableMoveComponent[]>]
[-SourceEndpoint <MigrationEndpointIdParameter>]
[-StartAfter <DateTime>]
[-Suspend]
[-SuspendComment <String>]
[-SuspendWhenReadyToComplete]
[-TargetDatabase <DatabaseIdParameter>]
[-TargetDeliveryDomain <Fqdn>]
[-WhatIf]
[-WorkloadType <RequestWorkloadType>]
[<CommonParameters>]
MigrationLocal
New-MoveRequest [-Identity] <MailboxOrMailUserIdParameter>
[-AcceptLargeDataLoss]
[-AllowLargeItems]
[-ArchiveOnly]
[-ArchiveTargetDatabase <DatabaseIdParameter>]
[-BadItemLimit <Unlimited>]
[-BatchName <String>]
[-CompleteAfter <DateTime>]
[-CompletedRequestAgeLimit <Unlimited>]
[-Confirm]
[-DomainController <Fqdn>]
[-DoNotPreserveMailboxSignature]
[-ForceOffline]
[-ForcePull]
[-ForcePush]
[-IgnoreRuleLimitErrors]
[-IncrementalSyncInterval <TimeSpan>]
[-InternalFlags <InternalMrsFlag[]>]
[-LargeItemLimit <Unlimited>]
[-MoveOptions <MultiValuedProperty>]
[-MRSServer <Fqdn>]
[-PreventCompletion]
[-PrimaryOnly]
[-Priority <RequestPriority>]
[-Protect]
[-ProxyToMailbox <MailboxIdParameter>]
[-RequestExpiryInterval <Unlimited>]
[-SkipMoving <SkippableMoveComponent[]>]
[-SourceEndpoint <MigrationEndpointIdParameter>]
[-StartAfter <DateTime>]
[-Suspend]
[-SuspendComment <String>]
[-SuspendWhenReadyToComplete]
[-TargetDatabase <DatabaseIdParameter>]
[-WhatIf]
[-WorkloadType <RequestWorkloadType>]
[<CommonParameters>]
2 more parameter sets — see the parameter table below.
Parameters (47)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.