Note The mailbox value is stored in the ExchangeGUID property (also known as the msExchMailboxGUID attribute).
This situation occurs because the value of the property isn't synced to the associated remote mailbox in the on-premises organization when a mailbox is created in Exchange Online.
To move a mailbox, the value of the ExchangeGUID property must be the same in the Exchange Online mailbox and in the associated on-premises remote mailbox.
- Open the Exchange Management Shell on the on-premises server, and then run the following command to check whether the ExchangeGUID property of the on-premises remote mailbox is set:Note If the ExchangeGUID property returns all zeros, the value isn't stamped on the on-premises remote mailbox.
Get-RemoteMailbox <alias of cloud mailbox to move> | Format-List ExchangeGUID
- Open Windows PowerShell (don't use the Exchange Management Shell), and then connect to Exchange Online. For more info about how to do this, see Connect to Exchange Online Using Remote PowerShell.
- Run the following command to retrieve the value of ExchangeGUID property of the mailbox that you want to move.
Get-Mailbox <MailboxName> | Format-List ExchangeGUID
- Run the following command to set the value of the ExchangeGUID property on the on-premises remote mailbox to the value that you retrieved in step 3:
Set-RemoteMailbox <MailboxName> -ExchangeGUID <GUID>
- Force directory synchronization. For more info about how to do this, see the "Force directory synchronization" section of Synchronize your directories.
Exchange Online. This stamps the value of the ExchangeGUID property on the mailbox, and then syncs the value to Exchange Online. After you do this, you can return the mailbox to the on-premises organization.
For more information, see Move mailboxes between on-premises and Exchange Online organizations in 2013 hybrid deployments.
If you experience issues when you move mailboxes to Exchange Online in Office 365, you can run the Troubleshoot Office 365 Mailbox Migration tool. This diagnostic is an automated troubleshooting tool. If you're experiencing a known issue, you receive a message that states what went wrong. The message includes a link to an article that contains the solution. Currently, the tool is supported only in Internet Explorer.
Article ID: 2956029 - Last Review: 29 Dec 2016 - Revision: 1