Cross Tenant Migration Error - GUID

Auon Ali Khowaja 0 Reputation points
2023-02-09T19:41:11.9833333+00:00

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
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
{count} votes

3 answers

Sort by: Most helpful
  1. QiuXiaopeng 0 Reputation points
    2023-10-08T02:50:43.36+00:00

    What is the reason for this

    User's image

    0 comments No comments

  2. 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-xxxxxxxxxxxxxxxxxxxx

    Once this command completes, you can use the Get-MailUser command again to check if the changes have been written to Azure AD.

    0 comments No comments

  3. 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 *guid
    

    2.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


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.