I recently came across an issue when moving mailboxes to Exchange Online where the migration user had failed with the following error:
Error: MigrationTransientException: MAPI provider is not supported for mailbox with version ‘[version info]’ on server.
It turns out this is an issue with a recent update to Exchange Online and Microsoft is rolling out the fix. I was able to create the move request without creating a batch by running the following from Exchange Online PowerShell:
1 2 3 4 5 6 |
# Get the credentials of the on-prem account with permissions to migrate a mailbox $Creds = Get-Credential domain\serviceaccount # Create the move request New-MoveRequest -Identity user@domain.com -Remote -RemoteHostName endpoint.domain.com -RemoteCredential $creds -TargetDeliveryDomain 'domain.mail.onmicrosoft.com' -BatchName Username -CompleteAfter '09/01/20 23:00' |
There is also a similar process if you needed to move a mailbox from Exchange Online back to On-Prem:
1 2 3 4 5 6 |
# Get the credentials of the on-prem account with permissions to migrate a mailbox $Creds = Get-Credential domain\serviceaccount # Create the move request for Outbound New-MoveRequest -Identity user@domain.com -Outbound -RemoteTargetDatabase DB-001 -RemoteHostName endpoint.domain.com -RemoteCredential $creds -TargetDeliveryDomain 'domain.com' -BatchName Username -CompleteAfter '09/01/20 23:00' |