Forum Discussion

Re: Migrate to exchange online - NotFoundPermanentException

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

 

9 Replies

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

    Halloharveer singh 

     

    ich führte dieses in Powershell aus

     

    get-mailbox -Identity user@contoso.de | fl *guid*

    get-mailuser -identity user@contoso.de | fl *guid*
    set-mailuser -identity user@contoso.de -exchangeguid "guid"

     

    Ergebniss: WARNUNG: Der Befehl wurde erfolgreich abgeschlossen, es wurden jedoch keine Einstellungen von 'User' geändert.

     

    die Exchangeguid ist die gleiche.

     

     

    get-mailbox -identity mailto:user@contoso.de  gab keine Ergebnisse.

     

    Die GUID aus dem Fehler kann ich nicht finden. Sie stimmt mit der Exchangeguid nicht übernein.

     

    Grüße

    Stefan

    • harveer singh's avatar
      harveer singh
      Iron Contributor

      Hey Stefan Kießig ,

       

      Run this command and check to what entity the exchange GUID shown in the error message is related to:

       

      Get-Recipient -IncludeSoftDeletedRecipients 'ExchangeGUID value from error' | ft RecipientType,PrimarySmtpAddress,*WhenSoftDeleted*

       

      check if the GUID in error is that of a soft deleted mailbox.

       

      Thanks

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

        Halloharveer singh 

         

        das ist das Resultat:

         

        RecipientType    PrimarySmtpAddress       WhenSoftDeleted
        -------------        ------------------              ---------------
        MailUser            user@contoso.de

Resources