Forum Discussion

Stefan Kießig's avatar
Stefan Kießig
Brass Contributor
Aug 16, 2020

Migrate to exchange online - NotFoundPermanentException

Hello,


I have to migrate users form exchange 2013 to exchange online.

By 3 users I get thies error message


Fehler: RecipientNotFoundPermanentException: Error: Cannot find a recipient that has mailbox GUID ‎'...' .


What cna I do to migrate this 3 users?


Thanks for your help

Stefan

  • Stefan Kießig's avatar
    Stefan Kießig
    Sep 01, 2020

    Ich habe es gelöst. Indem ich die User aus dem Sync nahm, sie im Azure AD löschte und erneut gesynct hatte.

  • harveer singh's avatar
    harveer singh
    Steel Contributor

    Hello Stefan Kießig ,

     

    This usually happens when there is a mismatch between mailbox GUID of your on-premises exchange mailbox and office 365 mail user.

     

    1. From on-premises exchange powershell run:

    get-mailbox -identity user@domain.com | fl *guid*
    Take a note of Exchange GUID here.

     

    2. Connect to exchange online powershell and run:

    get-mailuser -identity user@domain.com | fl *guid*

    Check if the Exchange GUID matches.

    IF not try matching it:

    set-mailuser -identity user@domain.com -exchangeguid "paste Guid here from on-premises"

     

    IF you are not able to find the mail user in exchange online using get-mailuser, check if office 365 created mailboxes for these users in absence of mailbox GUID from on-premises, in that case  permanently delete these users from office 365 and sync them again, then check if the mailbox guid stamped on mail user again. Make sure the users are not using any other services before deleting them from office 365 though.

     

    Thanks

     

     

    • Stefan Kießig's avatar
      Stefan Kießig
      Brass Contributor

      Halloharveer singh 

       

      es muss eine Mailbox geben da die GUID in der Fehlermeldung nicht der Mailbox GUID im Exchange 2013 entspricht.

       

      Diese beiden GUIDs müssen für die Syncronisation übereinstimmen.

       

      Get Mailbox im Exchange online zur Mailbox GUID in der Fehlermeldung. Danach ändere ich die Mailbox GUID zu der vom Exchange 2013 Server.

       

      Grüße

      Stefan

      • harveer singh's avatar
        harveer singh
        Steel Contributor

        Hey Stefan Kießig ,

         

        In hybrid setup the mailbox GUID stamped on the mail user in office 365 should match the mailbox GUID of on-premises exchange mailbox.

        When you run get-mailuser for these three users, do you get a output?

         Run:

        get-mailbox -identity user1@domain.com

        If you get an output that would mean that office 365 created mailboxes for these users, if there is already a mailbox created in office 365 for these users, you will have to delete these users from office 365 completely and then sync them again with proper mailbox guid. Make sure there is no data in these mailboxes in office 365 before deleting.

        If you don't get an output when you run get-mailbox user1@domain.com then simply run:

        set-mailuser -identity user1@domain.com -exchangeguid "paste Guid here from on-premises"

         

        Thanks

         

Resources