M365 migration issue due to subscription

pavan kumar 371 Reputation points
2021-10-13T00:56:48.177+00:00

Hi i have started migrating a mailboxes from on-prem to o365, where i have successful in completing the migration for pilot users and when i started migrating a 3 users today and i see the below error after it synced about 95% for 2 mailboxes and 1 mailbox at 20%. i am not sure where this problem is coming from and how to fix it.

i checked the licenses and they are assigned. exchange guid matches, no previous mailbox exists before the migration.

Error during a remote move migration: "The subscription for the migration user username@keyman .com couldn't be loaded. The following error was encountered: A subscription wasn't found for this user.."

any help or advise is appreciated.

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,115 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,281 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
1,835 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Amit Singh 4,866 Reputation points
    2021-10-13T06:48:45.79+00:00

    There are 2 possible scenarios for resolving this:

    1- Run the below command on on-premise Exchange to check the mailboxes GUIDS

    Get-RemoteMailbox UserB | Format-List ExchangeGUID  
    

    You should receive an answer similar to this:
    140000-image.png

    Run the below command on Exchange Online:

    Get-Mailbox UserB | Format-list ExchangeGuid  
    

    You should receive an answer similar to this:

    139980-image.png

    If the GUIDS are not matching, you found your problem.
    Resolution is to run the command below and rerun “Complete-Migrationbatch” cmdlet:

    Set-RemoteMailbox UserB -ExchangeGUID 4a502e5e-5064-4f60-b691-845bdaf94113  #Online MailboxGUID  
    

    2 - If the “Get-RemoteMailbox” does not return a thing for our user it means that it wasn’t migrated successfully.
    In that case, you have to remove the online mailbox for UserB:

    #In Exchange Online Powershell verify the recipient type. If user mailbox, then you need to remove the mailbox.  
      
    Get-recipient [alias]  
      
    #Go On premise to see what the recipient type is as well. Run the same cmdlet as above.  
    #If verified that we have 2 different mailboxes, then we need to purge the cloud mailbox since it is new and has no data. Please be sure that the user is not using OneDrive or Sharepoint.  
    #If so this data will need to be backed up prior to deleting the msol account. After deleting the MSOL account the OneDrive and Sharepoint data will be gone.  
    #Next Get the External Directory Object ID from the O365 mailbox.  
      
    Get-Mailbox UserB |fl *external*  
      
    #Verify the msoluser account.  
      
    Get-msoluser -objectid [insert external objectID from above]  
    #Remove the msol account  
    Remove-msoluser -ObjectID [insert objectID from above]  
    #Purge the msol user account  
    Remove-Msoluser -objectID [insert objectID from above] -removefromrecyclebin #This step is very important to do. If you don't remove it from recycle bin new DirSync will pull the same one.  
      
    #Verify the object is gone.  
    Get-msoluser -objectid [inset external objectID from above]  
      
    #Initiate a Dirsync Cycle  
    #Go back to the O365 portal, verify a new object has been created.  
    #Or you can run   
    Get-msoluser -userprincipalname UserB@tech-trainer.info | fl  
    #You will see a new object ID.  
    #Next go back in the Exchange Admin Center and migrate the user account.  
    

    I hope this will solve your problem.

    1 person found this answer helpful.
    0 comments No comments

  2. KyleXu-MSFT 26,196 Reputation points
    2021-10-13T05:47:55.443+00:00

    @pavan kumar

    i checked the licenses and they are assigned

    Do you use hybrid migration to migrate those mailboxes? If so, you need to migrate mailboxes to Exchange online first, then assign license to them. Otherwise, assign license will create a new Exchange online mailbox.

    I would suggest you remove license from the AAD account and delete the migration request. After that, try to migrate those mailbox again.

    If you still cannot migrate those 3 mailboxes successfully, you could export data from Exchange on-premises for them. Then assign license on AAD to create Exchange online mailboxes for them. After that, tell them to import data from Outlook client.


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    0 comments No comments