What is the reason for this
Cross Tenant Migration Error - GUID
I am getting an error during the migration.
The user object for 'xxxxx' does not have a valid ExchangeGuid property and cannot be migrated.
Exchange Online
3 answers
Sort by: Most helpful
-
-
Amit Singh 5,321 Reputation points
2023-02-16T02:50:24.84+00:00 From the Exchange Online session, use the following command to manually set the GUID to match the on-prem one.
Set-MailUser -Identity ******@domain.com -ExchangeGUID xxxxxxxxx-xxxxxxxxxxxxxxxxxxxxOnce this command completes, you can use the Get-MailUser command again to check if the changes have been written to Azure AD.
-
Aholic Liang-MSFT 13,921 Reputation points Microsoft External Staff
2023-02-10T05:02:21.3533333+00:00 Hi @Auon Ali Khowaja ,
Cross-tenant migration requires that the mail user in the target tenant has the same user mailbox as the source tenant . You can follow these steps to set the mail user's ExchangeGuid:
1.Connect to the Exchange online PowerShell of the source tenant and refer to the following command to get the ExchangeGuid of the specified user mailbox:
get-mailbox userone |fl *guid2.Copy the ExchangeGuid as a backup
3.Connect to the Exchange online PowerShell of the target tenant and refer to the following command to set the ExchangeGuid of the specified mail user:
set-mailuser userone -ExchangeGuid 89bd6765-xxx-40xxx-a21a-1ccxxx92187
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread