SOLVED

Migrate to exchange online - NotFoundPermanentException

%3CLINGO-SUB%20id%3D%22lingo-sub-1591554%22%20slang%3D%22de-DE%22%3EMigrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591554%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20have%20to%20migrate%20users%20form%20exchange%202013%20to%20exchange%20online.%3C%2FP%3E%3CP%3EBy%203%20users%20I%20get%20thies%20error%20message%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EError%3A%20RecipientNotFoundPermanentException%3A%20Error%3A%20Cannot%20find%20a%20recipient%20that%20has%20mailbox%20GUID%20'...'%20.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWhat%20cna%20I%20do%20to%20migrate%20these%203%20users%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%20for%20your%20help%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1591554%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3E2013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591592%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591592%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98746%22%20target%3D%22_blank%22%3E%40Stefan%20Kie%C3%9Fig%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20usually%20happens%20when%20there%20is%20a%20mismatch%20between%20mailbox%20GUID%20of%20your%20on-premises%20exchange%20mailbox%20and%20office%20365%20mail%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20From%20on-premises%20exchange%20powershell%20run%3A%3C%2FP%3E%3CP%3Eget-mailbox%20-identity%20user%40domain.com%20%7C%20fl%20*guid*%3CBR%20%2F%3ETake%20a%20note%20of%20Exchange%20GUID%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Connect%20to%20exchange%20online%20powershell%20and%20run%3A%3C%2FP%3E%3CP%3Eget-mailuser%20-identity%20user%40domain.com%20%7C%20fl%20*guid*%3C%2FP%3E%3CP%3ECheck%20if%20the%20Exchange%20GUID%20matches.%3C%2FP%3E%3CP%3EIF%20not%20try%20matching%20it%3A%3C%2FP%3E%3CP%3Eset-mailuser%20-identity%20user%40domain.com%20-exchangeguid%20%22paste%20Guid%20here%20from%20on-premises%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIF%20you%20are%20not%20able%20to%20find%20the%20mail%20user%20in%20exchange%20online%20using%20get-mailuser%2C%20check%20if%20office%20365%20created%20mailboxes%20for%20these%20users%20in%20absence%20of%20mailbox%20GUID%20from%20on-premises%2C%20in%20that%20case%26nbsp%3B%20permanently%20delete%20these%20users%20from%20office%20365%20and%20sync%20them%20again%2C%20then%20check%20if%20the%20mailbox%20guid%20stamped%20on%20mail%20user%20again.%20Make%20sure%20the%20users%20are%20not%20using%20any%20other%20services%20before%20deleting%20them%20from%20office%20365%20though.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591642%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591642%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67895%22%20target%3D%22_blank%22%3E%40harveer%20singh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethere%20must%20be%20a%20mailbox%20because%20the%20GUID%20in%20the%20error%20message%20does%20not%20match%20the%20GUID%20mailbox%20in%20Exchange%202013.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThese%20two%20GUIDs%20must%20match%20for%20syncronization.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet%20Mailbox%20in%20the%20Exchange%20online%20to%20the%20mailbox%20GUID%20in%20the%20error%20message.%20Then%20I%20change%20the%20mailbox%20GUID%20to%20the%20one%20from%20the%20Exchange%202013%20server.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreetings%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591667%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591667%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98746%22%20target%3D%22_blank%22%3E%40Stefan%20Kie%C3%9Fig%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20hybrid%20setup%20the%20mailbox%20GUID%20stamped%20on%20the%20mail%20user%20in%20office%20365%20should%20match%20the%20mailbox%20GUID%20of%20on-premises%20exchange%20mailbox.%3C%2FP%3E%3CP%3EWhen%20you%20run%20get-mailuser%20for%20these%20three%20users%2C%20do%20you%20get%20a%20output%3F%3C%2FP%3E%3CP%3E%26nbsp%3BRun%3A%3C%2FP%3E%3CP%3Eget-mailbox%20-identity%20%3CA%20href%3D%22mailto%3Auser1%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser1%40domain.com%3C%2FA%3E%3C%2FP%3E%3CP%3EIf%20you%20get%20an%20output%20that%20would%20mean%20that%20office%20365%20created%20mailboxes%20for%20these%20users%2C%20if%20there%20is%20already%20a%20mailbox%20created%20in%20office%20365%20for%20these%20users%2C%20you%20will%20have%20to%20delete%20these%20users%20from%20office%20365%20completely%20and%20then%20sync%20them%20again%20with%20proper%20mailbox%20guid.%20Make%20sure%20there%20is%20no%20data%20in%20these%20mailboxes%20in%20office%20365%20before%20deleting.%3C%2FP%3E%3CP%3EIf%20you%20don't%20get%20an%20output%20when%20you%20run%20get-mailbox%20%3CA%20href%3D%22mailto%3Auser1%40domain.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser1%40domain.com%3C%2FA%3E%26nbsp%3Bthen%20simply%20run%3A%3C%2FP%3E%3CP%3Eset-mailuser%20-identity%20user1%40domain.com%20-exchangeguid%20%22paste%20Guid%20here%20from%20on-premises%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591748%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591748%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67895%22%20target%3D%22_blank%22%3E%40harveer%20singh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20performed%20this%20in%20Powershell%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eget-mailbox%20-Identity%20user%40contoso.de%20%7C%20fl%20*guid*%3C%2FP%3E%3CP%3Eget-mailuser%20-identity%20user%40contoso.de%20%7C%20fl%20*guid*%20%3CBR%20%2F%3E%20set-mailuser%20-identity%20user%40contoso.de%20-exchangeguid%20%22guid%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EResult%3A%20WARNING%3A%20The%20command%20completed%20successfully%2C%20but%20no%20user%20settings%20were%20changed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20Exchangeguid%20is%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eget-mailbox%20-identity%20%3CA%20href%3D%22mailto%3Auser%40contoso.de%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser%40contoso.de%3C%2FA%3E%20did%20not%20yield%20any%20results.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can't%20find%20the%20GUID%20from%20the%20error.%20It%20does%20not%20agree%20with%20the%20Exchangeguid.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGreetings%3C%2FP%3E%3CP%3EStefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1591810%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1591810%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98746%22%20target%3D%22_blank%22%3E%40Stefan%20Kie%C3%9Fig%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERun%20this%20command%20and%20check%20to%20what%20entity%20the%20exchange%20GUID%20shown%20in%20the%20error%20message%20is%20related%20to%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EGet-Recipient%20-IncludeSoftDeletedRecipients%20'ExchangeGUID%20value%20from%20error'%20%7C%20ft%20RecipientType%2CPrimarySmtpAddress%2C*WhenSoftDeleted*%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Echeck%20if%20the%20GUID%20in%20error%20is%20that%20of%20a%20soft%20deleted%20mailbox.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592294%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592294%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67895%22%20target%3D%22_blank%22%3E%40harveer%20singh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethis%20is%20the%20result%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERecipientType%20PrimarySmtpAddress%20WhenSoftDeleted%20%3CBR%20%2F%3E%20-------------%20------------------%20---------------%20%3CBR%20%2F%3E%20MailUser%20user%40contoso.de%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592370%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592370%22%20slang%3D%22en-US%22%3EAll%20looks%20good%20here%2C%20is%20the%20guid%20in%20error%20message%20still%20different%20from%20the%20guid%20you%20get%20when%20you%20run%20get-mailuser%3F%20Based%20on%20the%20outputs%20you%20shared%20it%20appears%20that%20both%20are%20same.%20Remove%20one%20of%20the%20users%20from%20the%20migration%20batch%20and%20try%20to%20migrate%20using%20powershell%2C%20here%20is%20a%20link%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.alitajran.com%2Fmove-mailbox-to-exchange-online-with-powershell%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.alitajran.com%2Fmove-mailbox-to-exchange-online-with-powershell%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592478%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592478%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67895%22%20target%3D%22_blank%22%3E%40harveer%20singh%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can't%20find%20the%20GUID%20with%20get-mailuser.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592521%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592521%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67895%22%20target%3D%22_blank%22%3E%40harveer%20singh%3C%2FA%3E%20%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhen%20I%20run%20it%20with%20powershell%20it%20also%20faild.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1592621%22%20slang%3D%22en-US%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1592621%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98746%22%20target%3D%22_blank%22%3E%40Stefan%20Kie%C3%9Fig%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20we%20are%20facing%20a%20disconnect%20due%20to%20responses%20being%20translated.%20You%20can%20also%20post%20your%20issue%20at%20answers.microsoft.com%20for%20more%20personalized%20support%20in%20your%20language.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAssuming%20you%20are%20performing%20exchange%20hybrid%20migration%20via%20office%20365%20batches%2C%20I%20will%20try%20to%20summarize%20our%20conversation%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20run%20from%20powershell%20connected%20to%20%3CSTRONG%3Eexchange%20online%3C%2FSTRONG%3E%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%26nbsp%3B%3CSPAN%3EGet-Recipient%20-IncludeSoftDeletedRecipients%20'ExchangeGUID%20value%20from%20error'%20%7C%20ft%20RecipientType%2CPrimarySmtpAddress%2C*WhenSoftDeleted*%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThe%20response%20you%20get%20is%3A%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CEM%3ERecipientType%20PrimarySmtpAddress%20WhenSoftDeleted%3CBR%20%2F%3E-------------%20------------------%20---------------%3CBR%20%2F%3EMailUser%20%3CA%20href%3D%22mailto%3Auser%40contoso.de%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser%40contoso.de%3C%2FA%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EThis%20output%20means%20that%20the%20'%3CSPAN%3E%3CSTRONG%3EExchangeGUID%20value%20from%20error%3C%2FSTRONG%3E'%20is%20associated%20with%20the%20mail%20user%3A%26nbsp%3B%3CA%20href%3D%22mailto%3Auser%40contoso.de%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser%40contoso.de%3C%2FA%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2.%20Next%2C%20When%20you%20run%26nbsp%3B%26nbsp%3Bget-mailuser%20-identity%20%3CA%20href%3D%22mailto%3Auser%40contoso.de%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser%40contoso.de%3C%2FA%3E%26nbsp%3B%7C%20fl%20*guid*%20%2C%26nbsp%3B%3CSTRONG%3Ewith%20the%20same%20mail%20user%20returned%20in%20step%201%3C%2FSTRONG%3E.%20You%20don't%20see%20the%20same%20exchange%20GUID%20%3F%20or%20there%20is%20no%20ExchangeGUID%20at%20all%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheck%20if%20same%20user%20is%20present%20in%20soft%20deleted%20mail%20users%20as%20well%3A%3C%2FP%3E%3CP%3Eget-mailuser%20-softdeleted%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E3.%20Next%2C%20on%20your%20%3CSTRONG%3Eon-premises%20exchange%20powershell%3C%2FSTRONG%3E%26nbsp%3B%20when%20you%20run%3A%3C%2FP%3E%3CP%3E%3CSPAN%3Eget-mailbox%20-Identity%20user%40contoso.de%20%7C%20fl%20*guid*%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EYou%20get%20an%20exchange%20GUID%2C%20for%20example%201234-5678-54321%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ENow%20%3CSTRONG%3Efrom%20exchange%20online%20powershell%3C%2FSTRONG%3E%20run%20the%20following%20command%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-Recipient%20-IncludeSoftDeletedRecipients%20'%3CSPAN%3E1234-5678-54321%3C%2FSPAN%3E'%20%7C%20ft%20RecipientType%2CPrimarySmtpAddress%2C*WhenSoftDeleted*%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20get%20any%20response%20from%20this%20command%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20a%20few%20moving%20parts%20here%2C%20You%20may%20also%20be%20facing%20an%20issue%20with%20duplicate%20users%2C%20were%20these%203%20users%20created%20in%20office%20365%20directly%20at%20some%20point%20before%20installing%20aadconnect%20%3F%20Please%20check%20active%20users%20and%20deleted%20users%20for%20any%20duplicates%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1593018%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1593018%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67895%22%20target%3D%22_blank%22%3E%40harveer%20singh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-Recipient%20-IncludeSoftDeletedRecipients%20'ExchangeGUID%20value%20from%20error'%20%7C%20ft%20RecipientType%2CPrimarySmtpAddress%2C*WhenSoftDeleted*%3C%2FP%3E%3CP%3E%3CBR%20%2F%3Edid%20not%20yield%20any%20results%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1626502%22%20slang%3D%22de-DE%22%3ERe%3A%20Migrate%20to%20exchange%20online%20-%20NotFoundPermanentException%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1626502%22%20slang%3D%22de-DE%22%3E%3CP%3EI%20solved%20it.%20By%20removing%20the%20users%20from%20sync%2C%20deleting%20them%20in%20Azure%20AD%2C%20and%20syncing%20them%20again.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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

12 Replies
Highlighted

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

 

 

Highlighted

Hallo@harveer 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

Highlighted

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

 

Highlighted

Hallo@harveer 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 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

Highlighted

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

Highlighted

Hallo@harveer singh 

 

das ist das Resultat:

 

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

Highlighted
All 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
Highlighted

Hallo@harveer singh,

 

die GUID kann ich nicht mit get-mailuser finden.

Highlighted

Hallo @harveer singh ,

 

when I run it with powershell it also faild.

Highlighted

Hello @Stefan Kießig,

 

I think we are facing a disconnect due to responses being translated. You can also post your issue at answers.microsoft.com for more personalized support in your language.

 

Assuming you are performing exchange hybrid migration via office 365 batches, I will try to summarize our conversation:

 

When you run from powershell connected to exchange online :

 

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

 

The response you get is: 

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

 

This output means that the 'ExchangeGUID value from error' is associated with the mail user: user@contoso.de

 

2. Next, When you run  get-mailuser -identity user@contoso.de | fl *guid* , with the same mail user returned in step 1. You don't see the same exchange GUID ? or there is no ExchangeGUID at all ?

 

Check if same user is present in soft deleted mail users as well:

get-mailuser -softdeleted

 

3. Next, on your on-premises exchange powershell  when you run:

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

You get an exchange GUID, for example 1234-5678-54321

Now from exchange online powershell run the following command:

 

Get-Recipient -IncludeSoftDeletedRecipients '1234-5678-54321' | ft RecipientType,PrimarySmtpAddress,*WhenSoftDeleted*

 

Do you get any response from this command ?

 

There are a few moving parts here, You may also be facing an issue with duplicate users, were these 3 users created in office 365 directly at some point before installing aadconnect ? Please check active users and deleted users for any duplicates as well.

 

 

Thanks

Highlighted

Hello @harveer singh 

 

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


did not yield any results

Highlighted
Best Response confirmed by Stefan Kießig (Occasional Contributor)
Solution

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