Forum Discussion
Migrate to exchange online - NotFoundPermanentException
- 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.
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
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 singhAug 16, 2020Iron 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ßigAug 17, 2020Brass Contributor
Halloharveer singh
das ist das Resultat:
RecipientType PrimarySmtpAddress WhenSoftDeleted
------------- ------------------ ---------------
MailUser user@contoso.de- harveer singhAug 17, 2020Iron ContributorAll looks good here, is the guid in error message still different from the guid you get when you run get-mailuser? Based on the outputs you shared it appears that both are same. Remove one of the users from the migration batch and try to migrate using powershell, here is a link:
https://www.alitajran.com/move-mailbox-to-exchange-online-with-powershell/
Thanks