%3CLINGO-SUB%20id%3D%22lingo-sub-1764576%22%20slang%3D%22en-US%22%3ERe%3A%20Troubleshooting%20Failed%20Migrations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1764576%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Mirela%2C%20that's%20really%20comprehensive.%20If%20only%20more%20people%20within%20Microsoft%20bothered%20to%20produce%20such%20quality%20articles...%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1746234%22%20slang%3D%22en-US%22%3ETroubleshooting%20Failed%20Migrations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1746234%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20blog%20post%20is%20a%20part%20of%20a%205%20post%20series%20consisting%20of%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fexchange-hybrid-migrations-more-than-just-a-pretty-face%2Fba-p%2F1623109%22%20target%3D%22_self%22%3EExchange%20Hybrid%20Migrations%3A%20More%20Than%20Just%20a%20Pretty%20Face%20(Part%201)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fdigging-into-hybrid-migration-move-report-data%2Fba-p%2F1675064%22%20target%3D%22_self%22%3EDigging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%20(Part%202)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ETroubleshooting%20Failed%20Migrations%20(Part%203%20-%20you%20are%20here)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Ftroubleshooting-slow-migrations%2Fba-p%2F1795706%22%20target%3D%22_self%22%3ETroubleshooting%20Slow%20Migrations%20(Part%204)%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fwhat-to-do-if-a-migration-is-completed-with-warnings%2Fba-p%2F1833566%22%20target%3D%22_self%22%3EWhat%20to%20do%20if%20a%20migration%20is%20Completed%20With%20Warnings%20(Part%205)%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EContinuing%20the%20blog%20post%20series%2C%20we%20arrived%20at%20troubleshooting%20failed%20migrations.%3C%2FP%3E%0A%3CP%3EA%20%E2%80%98failed%20migration%E2%80%99%20is%20when%20the%20status%20of%20the%20move%20request%20shows%20as%20%E2%80%98failed%E2%80%99%2C%20and%20we%20have%20one%20or%20more%20failures%20logged%20in%20the%20move%20report.%20The%20move%20is%20stopped%20and%20needs%20the%20administrator%E2%80%99s%20attention%20to%20investigate%20the%20reason%20of%20failure.%20Sometimes%2C%20resuming%20of%20the%20move%20can%20help%2C%20especially%20if%20there%20were%20some%20temporary%20issues%20on%20the%20Exchange%20Online%20side%20that%20were%20addressed.%3C%2FP%3E%0A%3CP%3EBefore%20getting%20into%20troubleshooting%2C%20I%20recommend%20you%20check%20the%20following%20%E2%80%98Minimum%20Requirements%E2%80%99%3B%20those%20are%20the%20things%20we%20know%20will%20break%20migrations%20(and%20we%20see%20them%20do%20so)%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fhelp%2F3063913%2Fthe-remote-server-returned-an-error-403-forbidden-error-when-you-try-t%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EMRSProxy%20needs%20to%20be%20enabled%20and%20running%20on%20Exchange%20on-premises%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EExchange%20Online%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Fhybrid-deployment-prerequisites%23hybrid-deployment-protocols-ports-and-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Erequires%20Negotiate%20(NTLM)%20authentication%20for%20MRSProxy%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EMake%20sure%20your%20migration%20users%20are%20synchronized%20with%20AADconnect%20tool%20and%20corresponding%20mail%20users%20are%20provisioned%20correctly%20on%20the%20Exchange%20Online%20side%20for%20corresponding%20on-premises%20mailboxes%20(ExchangeGuid%20present%2C%20alias%2C%20recipient%20type%20correct%2C%20accepted%20domains%20for%20the%20email%20addresses%20and%20secondary%20smtp%20address%20%3CA%20href%3D%22mailto%3Auser%40tenant.mail.onmicrosoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser%40tenant.mail.onmicrosoft.com%3C%2FA%3E).%3C%2FLI%3E%0A%3CLI%3EMaximum%20storage%20quota%20in%20Exchange%20Online%20for%20both%20primary%20and%20archive%20mailbox%20is%20100GB%20each.%20Even%20if%20you%20have%20auto-expanding%20enabled%20in%20Exchange%20Online%2C%20as%20of%20this%20writing%20the%20maximum%20mailbox%20size%20for%20migration%20of%20main%20archive%20is%20still%20100GB%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Foffice365%2Fservicedescriptions%2Fexchange-online-archiving-service-description%2Fexchange-online-archiving-service-description%23unlimited-archive-storage-quota%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EMaximum%20number%20of%20items%20per%20regular%20mailbox%20folder%20is%201%20million%20and%203%20million%20for%20the%20dumpster%2C%20reference%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fservicedescriptions%2Fexchange-online-service-description%2Fexchange-online-limits%23mailbox-folder-limits-1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EOn-premises%20migration%20admin%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2FExchange%2Fpermissions%2Ffeature-permissions%2Frecipient-permissions%3Fview%3Dexchserver-2019%23mailbox-move-and-migration-permissions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eneeds%20to%20have%20the%20minimum%20required%20permissions%3C%2FA%3E%26nbsp%3Band%20valid%20credentials.%3C%2FLI%3E%0A%3CLI%3EYou%20cannot%20offboard%20to%20Exchange%202010%20an%20Exchange%20Online%20Mailbox%20that%20has%20any%20hold%20other%20than%20Litigation%20Hold.%20This%20is%20because%20Exchange%202010%20doesn%E2%80%99t%20know%20about%20in-place%20hold%20which%20was%20introduced%20in%20Exchange%202013%20or%20about%20organization-wide%20holds%20in%20Office%20365.%20More%20info%20on%20the%20types%20of%20holds%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fmicrosoft-365%2Fcompliance%2Fidentify-a-hold-on-an-exchange-online-mailbox%3Fview%3Do365-worldwide%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EYou%20cannot%20offboard%20an%20Exchange%20Online%20archive%20mailbox%20which%20has%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fmicrosoft-365%2Fcompliance%2Fenable-unlimited-archiving%3Fview%3Do365-worldwide%23more-information%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eauto-expanding%20enabled%20in%20Office%20365%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EYou%20cannot%20offboard%20a%20mailbox%20and%20a%20primary%20archive%20to%20Exchange%202007%3C%2FLI%3E%0A%3CLI%3EYou%20cannot%20offboard%20a%20remote%20mailbox%20without%20ExchangeGuid%20set%20on%20it%3C%2FLI%3E%0A%3CLI%3EAny%20network%20load-balancing%20for%20Exchange%202010%20MRSProxy%20servers%20requires%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fbrad_hughes%2F2017%2F02%2F21%2Fits-always-the-load-balancer%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EIP%20persistence%3C%2FA%3E%26nbsp%3B(affinity).%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Fconfiguring-ssl-offloading-in-exchange-2013-exchange-2013-help%23configuring-ssl-offloading-for-the-mailbox-replication-proxy-service-mrsproxy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESSL%20offloading%20is%20not%20supported%20for%20MRSProxy%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EFor%20classic%20hybrid%20%E2%80%93%20where%20we%20require%20inbound%20connectivity%20from%20Exchange%20Online%20to%20on-premises%20Exchange%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Foffice365%2Fenterprise%2Furls-and-ip-address-ranges%23exchange-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eallow%20all%20Exchange%20Online%20IP%20addresses%20to%20connect%20to%20on-premises%20EWS%20%2F%20Autodiscover%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EFor%20classic%20hybrid%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Fhybrid-deployment-prerequisites%23hybrid-deployment-protocols-ports-and-endpoints%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Epre-authentication%20for%20EWS%20%2F%20Autodiscover%20virtual%20directories%20is%20not%20supported%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EFor%20classic%20hybrid%2C%20a%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Fhybrid-deployment-prerequisites%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Evalid%203%3CSUP%3Erd%3C%2FSUP%3E%26nbsp%3Bparty%20certificate%20is%20required%20for%20EWS%20%2F%20IIS%3C%2FA%3E.%20Also%20see%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Fcertificate-requirements%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Foffice365%2Ftroubleshoot%2Fsecurity%2Fprepare-tls-1.2-in-office-365%23references%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETLS1.2%20should%20be%20enabled%20in%20the%20on-premises%20infrastructure%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3EIf%20you%20have%20an%20Exchange%20organization%20with%20Exchange%202013%2F2016%20in%20coexistence%20with%20legacy%20Exchange%20servers%20(Exchange%202010)%2C%20then%20you%20need%20to%20point%20the%20MRSproxy%20namespace%20to%20the%20newer%20Exchange%20version%20in%20your%20environment.%20This%20is%20required%20because%2C%20for%20example%2C%20Exchange%202010%20cannot%20proxy%20to%20Exchange%202016%20in%20order%20to%20move%20an%20Exchange%202016%20mailbox%20to%20or%20from%20Exchange%20Online%20through%20an%20Exchange%202010%20MRSProxy%20endpoint.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWe%20also%20recommend%20that%20you%20bypass%20the%20network%20devices%20such%20as%20firewalls%20and%20reverse%20proxies%20during%20migrations%20in%20order%20to%20reduce%20source%20network%20latency%20and%20avoid%20frequent%20communication%20transient%20errors%20that%20would%20result%20in%20mailbox%20locks%20and%20slow%20migrations.%3C%2FP%3E%0A%3CP%3EOften%20when%20troubleshooting%20Office%20365%20migrations%2C%20the%20Exchange%20Admin%20Center%20GUI%20is%20helpful%20and%20quite%20verbose%20regarding%20the%20reason%20of%20failure%2C%20and%20it%20many%20times%20includes%20a%20link%20to%20the%20corresponding%20documentation%20page%20for%20more%20information%20on%20specific%20issue.%3C%2FP%3E%0A%3CP%3ELet%20me%20briefly%20show%20you%20some%20useful%20info%20that%20we%20can%20see%20in%20the%20(Classic)%20Exchange%20Admin%20Center.%20As%20a%20note%2C%20at%20the%20time%20of%20writing%20this%20article%2C%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fexchange-online-admin-news-at-microsoft-ignite-2020%2Fba-p%2F1687700%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3ENew%20Exchange%20Admin%20Center%3C%2FA%3E%20doesn%E2%80%99t%20currently%20show%20all%20of%20this%20information.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr01.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224253iAB5ADBC9D17964B1%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr01.jpg%22%20alt%3D%22migtr01.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20following%20can%20be%20seen%20in%20the%20above%20screenshot%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWe%20have%20one%20migration%20batch%20called%20%E2%80%9CTest%20Hybrid%20Migration%E2%80%9D%20of%20type%20Exchange%20Remote%20Move%3C%2FLI%3E%0A%3CLI%3EDirection%20of%20the%20move%20is%20Onboarding%20(from%20on-premises%20to%20the%20cloud)%3C%2FLI%3E%0A%3CLI%3EThe%20current%20status%20Syncing%20(things%20are%20going%20well%20so%20far)%3C%2FLI%3E%0A%3CLI%3EThere%20is%20only%20one%20migration%20user%20in%20the%20batch%20(looking%20at%20the%20Total%20column)%3C%2FLI%3E%0A%3CLI%3EThe%20user%20is%20not%20Synced%20(hasn%E2%80%99t%20reached%20the%20Incremental%20Sync%20at%2095%25)%2C%20not%20Finalized%20(hasn%E2%80%99t%20reached%20the%20100%25%20completion)%20and%20not%20Failed%20(didn%E2%80%99t%20encounter%20a%20fatal%20failure)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAfter%20clicking%20on%20View%20details%2C%20we%20also%20see%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EWho%20created%20the%20batch%20(%3CA%20href%3D%22mailto%3Acrystal%40mytenant.onmicrosoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecrystal%40mytenant.onmicrosoft.com%3C%2FA%3E)%2C%3C%2FLI%3E%0A%3CLI%3EWhen%20it%20was%20created%20and%20started%20(New-MigrationBatch%20-AutoStart)%2C%3C%2FLI%3E%0A%3CLI%3EWhen%20it%20should%20complete%20(after%20the%20initial%20sync%20will%20be%20done)%3C%2FLI%3E%0A%3CLI%3EThere%20is%20no%20last%20synced%20time%20because%20the%20status%20is%20%3CEM%3Esyncing%3C%2FEM%3E%20and%20no%20initial%20sync%20has%20been%20done%3C%2FLI%3E%0A%3CLI%3EAlso%2C%20the%20associated%20endpoint%20is%20the%20name%20of%20my%20migration%20endpoint%20(Get-MigrationEndpoint)%20through%20which%20I%20am%20running%20the%20batch.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr02.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224254i853F20D7AC8B5665%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22migtr02.jpg%22%20alt%3D%22migtr02.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EAfter%20a%20little%20while%2C%20the%20user%20failed%20because%20of%20the%20ExchangeGuid%20missing%20on%20the%20mail%20user%20object%20in%20Exchange%20Online%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr03.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224256i71D0993AAD29553B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr03.jpg%22%20alt%3D%22migtr03.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20such%20situation%2C%20the%20migration%20service%20failed%20to%20inject%20the%20move%20request%20because%20the%20user%20failed%20validation.%20This%20means%20that%20we%20don%E2%80%99t%20have%20a%20move%20request%20for%20this%20user%20and%20therefore%20will%20have%20no%20move%20report.%20%3CBR%20%2F%3EIf%20you%20were%20to%20click%20on%20%E2%80%98Download%20the%20report%20for%20this%20user%E2%80%99%2C%20you%20would%20get%20an%20empty%20.txt%20file.%3CBR%20%2F%3ELet%20me%20show%20you%20how%20this%20failure%20looks%20like%20in%20PowerShell%20and%20what%20objects%20are%20created%20and%20available%20for%20us%20to%20check%20there.%3CBR%20%2F%3EWith%20Get-MigrationBatch%20command%2C%20we%20can%20see%20the%20name%20of%20the%20batch%2C%20the%20status%2C%20the%20type%20and%20how%20many%20users%20are%20contained%20in%20the%20batch%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr04.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224257i16BBB734E1ED3EAD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr04.jpg%22%20alt%3D%22migtr04.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ETo%20see%20all%20properties%2C%20run%20Get-MigrationBatch%20%7CFL.%3C%2FP%3E%0A%3CP%3ESome%20other%20attributes%20values%20that%20you%20saw%20in%20the%20Exchange%20Admin%20Center%20GUI%2C%20for%20this%20batch%20were%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3ECreationDateTime%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%206%2F1%2F2020%208%3A23%3A35%20AM%3CBR%20%2F%3EStartDateTime%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%206%2F1%2F2020%208%3A23%3A34%20AM%3CBR%20%2F%3ELastSyncedDateTime%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%3CBR%20%2F%3ESubmittedByUser%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3A%20%3CA%20href%3D%22mailto%3Acrystal%40%253cmytenant%253e.onmicrosoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ecrystal%40%3CMYTENANT%3E.onmicrosoft.com%3C%2FMYTENANT%3E%3C%2FA%3E%3CBR%20%2F%3EBatchDirection%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20Onboarding%3CBR%20%2F%3ESourceEndpoint%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3A%20Hybrid%20Exchange%20Miry%3C%2FP%3E%0A%3CP%3EIf%20I%20had%20multiple%20batches%20and%20I%20was%20interested%20in%20seeing%20this%20particular%20one%2C%20I%20would%20run%3A%20Get-MigrationBatch%20%22Test%20Hybrid%20Migration%22%20or%20if%20I%20wanted%20to%20see%20all%20batches%20that%20are%20failed%2C%20I%20would%20run%3A%20Get-MigrationBatch%20-Status%20SyncedWithErrors%3C%2FP%3E%0A%3CP%3EGoing%20further%20with%20PowerShell%2C%20if%20I%20want%20to%20see%20the%20migration%20user%20contained%20in%20that%20batch%2C%20I%20would%20do%20it%20like%20this%3A%20Get-MigrationUser%20-BatchId%20%22Test%20Hybrid%20Migration%22.%20To%20see%20all%20the%20details%20on%20the%20migration%20user%2C%20I%20would%20again%20append%20%7CFL%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr05.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224259iA2B97FA8C0223D22%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr05.jpg%22%20alt%3D%22migtr05.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThis%20error%20is%20self-explanatory%2C%20ExchangeGuid%20is%20missing%20on%20the%20user%20and%20I%20can%20also%20see%20it%20with%20Get-MailUser%20command%20for%20this%20migration%20user%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr06.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224261i911C6D416075B71E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr06.jpg%22%20alt%3D%22migtr06.jpg%22%20%2F%3E%3C%2FSPAN%3EFrom%20the%20Get-MigrationUser%20output%2C%20I%20can%20also%20see%20the%20RequestGuid%20is%20empty%2C%20so%20this%20also%20tells%20me%20that%20there%20is%20no%20move%20request%20%2F%20move%20report%20for%20this%20migration%20user.%20I%20can%20run%20Get-MoveRequest%20%3CUSER%3E%20or%20Get-MigrationUser%20-BatchId%20%22Test%20Hybrid%20Migration%22%20%7C%20Get-MoveRequest%20to%20confirm%20this.%3C%2FUSER%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr07.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224262i951689C2D639269F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr07.jpg%22%20alt%3D%22migtr07.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIn%20cases%20where%20the%20error%20message%20on%20the%20migration%20user%20is%20not%20so%20obvious%20and%20you%20still%20don%E2%80%99t%20have%20a%20move%20request%20created%20for%20it%2C%20you%20can%20check%20Get-MigrationUserStatistics%20with%20DiagnosticInfo%20verbose%20switch%3A%20Get-MigrationUserStatistics%20%3CUSER%20identity%3D%22%22%3E%20-DiagnosticInfo%20verbose%20%7CFL%20and%20see%20if%20any%20more%20details%20found.%3CBR%20%2F%3EI%20will%20now%20go%20through%20some%20more%20command%20examples%20if%20you%20want%20to%20play%20around%20and%20check%20simple%20or%20more%20complicated%20stuff%20in%20PowerShell.%20Also%2C%20some%20things%20can%20be%20only%20checked%20from%20PowerShell%20and%20if%20you%20have%20a%20move%20request%20created%20and%20this%20is%20failed%20or%20is%20progressing%20slow%2C%20you%20can%20see%20more%20on%20analyzing%20move%20reports%20with%20PowerShell%20in%20later%20part%20of%20this%20blog%20series.%3C%2FUSER%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20an%20overview%20of%20migration%20statistics%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationStatistics%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr08.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224263iB2FB29EDB579949D%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr08.jpg%22%20alt%3D%22migtr08.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20all%20migration%20users%2C%20their%20status%20and%20corresponding%20batches%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUser%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr09.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224264i1270967CD6B04636%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr09.jpg%22%20alt%3D%22migtr09.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20a%20specific%20migration%20user%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUser%20%3CEMAIL%20address%3D%22%22%3E%3C%2FEMAIL%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr10.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224265iB71F4882DB943446%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr10.jpg%22%20alt%3D%22migtr10.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20check%20the%20error%20on%20a%20specific%20migration%20user%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUser%20%3CEMAIL%20address%3D%22%22%3E%20%7CFL%20errorsummary%3CBR%20%2F%3EGet-MigrationUser%20%3CEMAIL%20address%3D%22%22%3E%20%7CFL%3C%2FEMAIL%3E%3C%2FEMAIL%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr11.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224266i4359BD576A50FD9F%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr11.jpg%22%20alt%3D%22migtr11.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20all%20failed%20migration%20users%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUser%20-Status%20Failed%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr12.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224267i31FD0730E63C6A47%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr12.jpg%22%20alt%3D%22migtr12.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20all%20failed%20migration%20users%20and%20their%20errors%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUser%20-Status%20Failed%20%7C%20FT%20identity%20%2C%20errorsummary%3CBR%20%2F%3EGet-MigrationUser%20-Status%20Failed%20%7C%20FL%20identity%20%2C%20errorsummary%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr13.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224268iF793C4254C8651E2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr13.jpg%22%20alt%3D%22migtr13.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20migration%20users%20from%20a%20particular%20batch%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUser%20-Batch%20%E2%80%9CBatch%20Name%E2%80%9D%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr14.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224269iF53C0697AF8076AF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr14.jpg%22%20alt%3D%22migtr14.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20all%20migration%20batches%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationBatch%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr15.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224270i90FB32E04F0C482C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr15.jpg%22%20alt%3D%22migtr15.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20a%20particular%20batch%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationBatch%20%E2%80%9CBatch%20Name%E2%80%9D%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr16.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224271i82513E5E8DEF75FD%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr16.jpg%22%20alt%3D%22migtr16.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EChecking%20move%20requests%20(specific%20for%20hybrid%20remote%20moves)%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20all%20existing%20move%20requests%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MoveRequest%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr17.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224272iEE42B6AC1C87986C%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22migtr17.jpg%22%20alt%3D%22migtr17.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20move%20request%20statistics%20for%20a%20specific%20move%20request%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MoveRequestStatistics%20%E2%80%9CUser%E2%80%9D%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr18.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224273i4FD73AE951E3042E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr18.jpg%22%20alt%3D%22migtr18.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EKnow%20that%20there%20are%202%20main%20types%20of%20failures%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ETransient%20Exceptions%2C%20example%20DataExportTransientException%3C%2FLI%3E%0A%3CLI%3EPermanent%20Exceptions%2C%20example%20StoragePermanentException%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22note%22%3ENote%3A%20For%20a%20move%20request%20to%20be%20in%20a%20Failed%20state%2C%20we%20would%20need%20to%20have%20a%20permanent%20failure.%20Too%20many%20transient%20failures%20(usually%20more%20than%2060)%20will%20eventually%20cause%20a%20permanent%20failure.%20Too%20many%20transient%20failures%20can%20also%20slow%20down%20your%20migration%20considerably.%3C%2FP%3E%0A%3CP%3ETo%20see%20the%20failures%20(transient%20or%20permanent)%2C%20you%20would%20run%20commands%20similar%20to%20these%20or%20export%20the%20statistics%20to%20an%20XML%20file%20(discussed%20in%20the%20later%20part%20of%20this%20blog%20series)%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20store%20the%20move%20report%20in%20a%20variable%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats%20%3D%20Get-MoveRequestStatistics%20%E2%80%9CAffected%20User%E2%80%9D%20-IncludeReport%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20check%20all%20failures%20and%20their%20count%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats.report.Failures%20%7C%20group%20failuretype%20%7C%20Format-Table%20-AutoSize%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr19.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224274iD4396C312B4407A8%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr19.jpg%22%20alt%3D%22migtr19.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20check%20full%20details%20of%20the%20last%20failure%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats.report.Failures%5B-1%5D%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr20.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224275i5891B08DB4676704%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr20.jpg%22%20alt%3D%22migtr20.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20check%20the%20last%202%20failures%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats.Report.Failures%20%7C%20select%20-last%202%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20check%20the%20first%20failure%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats.report.Failures%5B0%5D%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20check%20the%20first%203%20failures%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats.Report.Failures%20%7C%20select%20-first%203%3C%2FP%3E%0A%3CP%3EIf%20there%20are%20a%20lot%20of%20failures%2C%20you%20can%20create%20a%20list%20of%20the%20failures%20with%20the%20PowerShell%20Index%20number%20associated%20with%20each%20failure%20by%20running%20the%20following%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24i%3D0%3B%24stats.report.Failures%20%7C%20%25%20%7B%20%24_%20%7C%20Select-Object%20%40%7Bname%3D%22index%22%3Bexpression%3D%7B%24i%7D%7D%2Ctimestamp%2Cfailurecode%2Cfailuretype%2Cfailureside%3B%24i%2B%2B%7D%20%7C%20ft%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr21.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224276iB7850AE57A22081B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr21.jpg%22%20alt%3D%22migtr21.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EUsing%20this%20output%2C%20you%20can%20then%20easily%20identify%20the%20index%20number%20you%20want%20to%20focus%20on%20by%20enclosing%20the%20failure%20index%20number%20in%20%5Bbrackets%5D%2C%20example%3A%3C%2FP%3E%0A%3CP%3E%24stats.report.Failures%5B4%5D%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr22.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224277i37C602D6331ED626%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr22.jpg%22%20alt%3D%22migtr22.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSTRONG%3ETo%20get%20failed%20move%20requests%3A%3C%2FSTRONG%3E%3C%2FEM%3E%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MoveRequest%20-MoveStatus%20Failed%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr23.jpg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224278iF1EA8A06973EDC58%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22migtr23.jpg%22%20alt%3D%22migtr23.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EMost%20frequent%20failures%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EHere%20is%20a%20list%20of%20most%20frequently%20seen%20failures%20in%20hybrid%20migrations%20(and%20when%20I%20say%20%E2%80%98most%20frequent%E2%80%99%20I%20mean%20'most%20frequent'%20issues%20that%20we%20see%20in%20support%2C%20not%20that%20you%20will%20see%20those%20errors%20in%20every%20migration).%20Note%20that%20not%20all%20are%20permanent%20failures%2C%20meaning%20not%20all%20these%20will%20cause%20your%20migrations%20to%20fail.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%22User%20is%20already%20being%20moved%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4502865%2Fcannot-move-mailboxes-from-on-premises-to-exchange-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22You%20can't%20use%20the%20domain%20because%20it's%20not%20an%20accepted%20domain%20for%20your%20organization%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3197160%2Fyou-can-t-use-the-domain-because-it-s-not-an-accepted-domain-for-your%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22Target%20mailbox%20doesn't%20have%20an%20smtp%20proxy%20matching%20'.mail.onmicrosoft.com%E2%80%99%E2%80%9D%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-gb%2Fhelp%2F2939340%2Fcannot-move-mailboxes-from-on-premises-to-exchange-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22MigrationPermanentException%3A%20Cannot%20find%20a%20recipient%20that%20has%20mailbox%20GUID%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2956029%2Fmigrationpermanentexception-cannot-find-a-recipient-that-has-mailbox-g%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20Note%20that%20another%20possible%20scenario%20for%20this%20error%20is%20when%20we%20cannot%20find%20a%20%3CEM%3EComponentShared%3C%2FEM%3E%20Mailbox%20by%20its%20GUID%20on%20the%20Exchange%20Online%20side.%20A%20%3CEM%3EComponentShared%3C%2FEM%3E%20mailbox%20is%20used%20to%20host%20data%20from%20other%20Office%20365%20workloads%20like%20Teams%2C%20OneDrive%20for%20Business%20and%20SharePoint.%20You%20would%20check%20(in%20Exchange%20Online%20PowerShell)%20these%20mailbox%20GUIDs%20with%20the%20command%3A%20Get-MailboxLocation%20-User%20%3CSMTP%3E.%20If%20the%20mailbox%20GUID%20in%20the%20error%20belongs%20to%20a%20component%20shared%20mailbox%2C%20please%20log%20a%20case%20with%20Microsoft%20Support.%3C%2FSMTP%3E%3C%2FLI%3E%0A%3CLI%3E%22You%20must%20specify%20the%20PrimaryOnly%20parameter%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3160413%2Fyou-must-specify-the-primaryonly-parameter-error-when-you-try-to-move%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22The%20remote%20server%20returned%20an%20Error%20404%E2%80%9D%20or%20%22HTTP%20request%20has%20exceeded%20the%20allotted%20timeout%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3065754%2Fthe-remote-server-returned-an-error-404-or-http-request-has-exceeded-t%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22The%20remote%20server%20returned%20an%20error%3A%20(403)%20Forbidden%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-gb%2Fhelp%2F3063913%2Fthe-remote-server-returned-an-error-403-forbidden-error-when-you-try-t%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22Access%20is%20denied%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2975731%2Faccess-is-denied-error-when-you-try-to-move-mailboxes-to-exchange-onli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22Couldn't%20switch%20the%20mailbox%20into%20Sync%20Source%20mode%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fbrad_hughes%2F2016%2F12%2F16%2Fsource-mailbox-already-being-moved-errors-while-moving-mailboxes%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22CommunicationErrorTransientException%20-%20The%20remote%20endpoint%20no%20longer%20recognizes%20this%20sequence.%20This%20is%20most%20likely%20due%20to%20an%20abort%20on%20the%20remote%20endpoint.%20The%20value%20of%20wsrm%3AIdentifier%20is%20not%20a%20known%20Sequence%20identifier.%20The%20reliable%20session%20was%20faulted.%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fblogs.msdn.microsoft.com%2Fbrad_hughes%2F2017%2F02%2F21%2Fits-always-the-load-balancer%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22The%20server%20was%20unable%20to%20process%20the%20request%20due%20to%20an%20internal%20error.%26nbsp%3B%20For%20more%20information%20about%20the%20error%2C%20either%20turn%20on%20IncludeExceptionDetailInFaults%20...%22%20%E2%80%93%20references%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3063045%2F-transientexception-errors-when-you-try-to-move-mailboxes-from-exchange-online-to-exchange-server-2007-in-the-on-premises-environment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Flatam%2F2016%2F01%2F05%2FOffice%2520365-error-when-trying-to-move-a-mailbox-to-the-cloud-creatingf%2520olderhierarchy-communicationerrortransientexception%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%E2%80%9CTooManyBadItemsPermanentException%E2%80%9D%20-%20Failed%20to%20find%20a%20principal%20from%20the%20source%20forest%20or%20target%20forest%20%E2%80%93%20references%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-ae%2Fhelp%2F4023340%2Ftoomanybaditemspermanentexception-during-migration-in-office-365%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fexchange%2F2017%2F05%2F30%2Ftoomanybaditemspermanentexception-error-when-migrating-to-exchange-online%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%E2%80%9CThe%20data%20consistency%20score%20(Investigate)%20for%20this%20request%20is%20too%20low%E2%80%9D%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fmailbox-migration%2Ftrack-prevent-data-loss-dcs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20Note%20that%20we%20will%20have%20more%20on%20Data%20Consistency%20Score%20later%20in%20the%20blog%20post%20series.%3C%2FLI%3E%0A%3CLI%3E%22Exception%20has%20been%20thrown%20by%20the%20target%20of%20an%20invocation.%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2669562%2Ferror-message-when-you-try-to-move-mailboxes-to-or-from-office-365-in%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22Transient%20error%20CommunicationErrorTransientException%20has%20occurred.%20The%20system%20will%20retry%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Ffr-tn%2Fhelp%2F2654376%2Ferror-message-when-you-move-mailboxes-from-an-on-premises-environment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%22The%20Mailbox%20'%3CUSERNAME%3E%40contoso.com'%20isn't%20enabled%20for%20unified%20messaging.%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-in%2Fhelp%2F2932443%2Fmigrationpermanentexception-error-when-you-move-a-mailbox-from-exchang%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FUSERNAME%3E%3C%2FLI%3E%0A%3CLI%3E%22Failed%20to%20convert%20the%20source%20mailbox%20'Primary%20(00000000-0000-0000-0000-000000000000)'%20to%20mail-enabled%20user%20after%20the%20move.%22%20or%20%22Unable%20to%20update%20Active%20Directory%20information%20for%20the%20source%20mailbox%20at%20the%20end%20of%20the%20move.%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F2745710%2Fa-user-can-t-access-a-mailbox-by-using-outlook-after-a-remote-mailbox%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%E2%80%9CTarget%20user%20%3CUSER%3E%20already%20has%20a%20primary%20mailbox%E2%80%9D.%20Note%3A%20pay%20special%20attention%20to%20the%20scenario%2C%20it%20matters%20if%20you%20get%20this%20error%20in%20onboarding%20(move%20to%20Exchange%20Online)%20or%20offboarding%20(move%20from%20Exchange%20Online).%20For%20onboarding%20moves%2C%20please%20see%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Ftroubleshoot%2Fmove-mailboxes%2Fmailbox-exists-exo-onpremises%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%3C%2FA%3E%2C%20and%20for%20offboarding%20see%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fexchange%2Ftroubleshoot%2Fmove-mailboxes%2Foffboarding-mailbox-fails-homemdb-homemta%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethis%3C%2FA%3E.%20Note%20on%20scenario%201%20step%207%20in%20that%20article%3A%20it%20is%20not%20supported%20to%20remote%20restore%20a%20disconnected%20mailbox%20from%20Exchange%202010%20on-premises%20source%20server%20version%2C%20it%20needs%20to%20be%20minimum%20Exchange%202013%20version.%3C%2FUSER%3E%3C%2FLI%3E%0A%3CLI%3E%22StalledDueTo_Target*%22%20when%20you%20move%20mailboxes%20to%20Exchange%20Online%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Fresource-based-throttling-and-prioritization-in-exchange-online%2Fba-p%2F608020%22%20target%3D%22_self%22%3Ehere%3C%2FA%3E.%20More%20on%20this%20when%20we%20will%20be%20discussing%20slow%20migrations%20in%20next%20part%20of%20this%20blog%20post%20series.%3C%2FLI%3E%0A%3CLI%3E%22MapiExceptionTooComplex%3A%20Unable%20to%20query%20table%20rows.%20(hr%3D0x80040117%2C%20ec%3D-2147221225)%22%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fanswers.microsoft.com%2Fen-us%2Fmsoffice%2Fforum%2Fmsoffice_Office%2520365admin-mso_upgrade%2Fmapiexceptiontoocomplex-when-migrating-one-users%2Faeaa098f-9f63-48ce-8adf-cacbfd732cc9%3Fauth%3D1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%E2%80%9CMailbox%20Replication%20Proxy%20Service%20can't%20process%20this%20request%20because%20it%20has%20reached%20the%20maximum%20number%20of%20active%20MRS%20connections%20allowed%E2%80%9D%20%E2%80%93%20reference%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F3091026%2Fmailbox-replication-proxy-service-can-t-process-this-request-because-i%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EA%20few%20more%20troubleshooting%20tips%3C%2FFONT%3E%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId--539746346%22%20id%3D%22toc-hId--539746316%22%20id%3D%22toc-hId--539746316%22%3E%3CSPAN%3EMoveOptions%3C%2FSPAN%3E%20Parameter%3C%2FH4%3E%0A%3CP%3EOften%20mailbox%20moves%20fail%20because%20of%20corrupt%20items%20or%20elements%20in%20a%20mailbox.%20These%20mailbox%20move%20failures%20can%20be%20avoided%20by%20excluding%20those%20(often%20corrupt)%20elements%20from%20being%20migrated.%3C%2FP%3E%0A%3CP%3EThe%20%3CEM%3EMoveOptions%3C%2FEM%3E%20parameter%20(previously%20known%20as%20the%20%3CEM%3ESkipMoving%3C%2FEM%3E%20parameter%20which%20is%20being%20deprecated)%20can%20be%20added%20to%20the%20onboard%20or%20offboard%20request%20from%20PowerShell%20with%20the%20values%20of%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E'SkipFolderRules%2C%20SkipFolderACLs%2C%20SkipFolderPromotedProperties%2C%20SkipFolderViews%2C%20SkipFolderRestrictions%2C%20SkipContentVerification%2C%20SkipPerObjectIndex'.%3C%2FP%3E%0A%3CP%3EThis%20will%20tell%20the%20migration%20to%20skip%20these%20elements%20when%20performing%20the%20move.%20We%20%3CEM%3Erecommend%3C%2FEM%3E%20you%20perform%20these%20skips%20under%20the%20guidance%20of%20Microsoft%20Support.%3C%2FP%3E%0A%3CP%3EYou%20can%20review%20a%20move%20report%20from%20a%20previously%20failed%20move%20attempt%20and%20get%20some%20clues%20on%20what%20exclusions%20you%20should%20consider%20making.%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20this%20failure%20below%20means%20that%20we%20have%20a%20search%20folder%20on%20the%20source%20mailbox%20where%20the%20query%20(restriction)%20is%20too%20complex%20and%20cannot%20be%20created%20on%20the%20target.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22migtr24.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F224280i4B7F321DA1BBD993%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22migtr24.jpg%22%20alt%3D%22migtr24.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESometimes%20the%20failure%20identifies%20the%20actual%20problematic%20source%20folder%20so%20you%20can%20look%20more%20at%20the%20DataContext%20content.%20You%20can%20then%20either%20delete%20the%20query%20on%20the%20source%20mailbox%20or%20just%20skip%20the%20migration%20of%20the%20queries%20(search%20folders)%20so%20that%20you%20can%20complete%20the%20migration%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3ESet-MoveRequest%20user%40contoso.com%20-MoveOptions%20%40%7Badd%3D%22SkipFolderRestrictions%E2%80%9D%7D%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-1947766487%22%20id%3D%22toc-hId-1947766517%22%20id%3D%22toc-hId-1947766517%22%3EMailbox%20Integrity%20checks%3C%2FH4%3E%0A%3CP%3EIf%20you%20migrate%20a%20mailbox%20(primary%20mailbox%20or%20archive)%20to%20Exchange%20Online%20and%20the%20size%20is%20bigger%20than%2010GB%2C%20this%20is%20considered%20a%20large%20mailbox%20and%20the%20MRS%20will%20perform%20an%20ISinteg%20task%20to%20ensure%20integrity%20of%20the%20mailbox%20that%20is%20being%20moved.%3C%2FP%3E%0A%3CP%3EIf%20you%20suspect%20that%20your%20move%20is%20stuck%20on%20ISinteg%20task%2C%20you%20can%20check%20the%20move%20report%20in%20EXO%20PowerShell%20and%20search%20for%20all%20strings%20containing%20isinteg%20keyword%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats%20%3D%20Get-MoveRequestStatistics%20%3CUSER%3E%20-IncludeReport%3CBR%20%2F%3E%24stats.report.Entries%20%7C%20where%20%7B%20%5Bstring%5D%20%24_%20-like%20%22*IsInteg*%22%20%7D%20%7C%20%25%20%7B%5Bstring%5D%20%24_%7D%3C%2FUSER%3E%3C%2FP%3E%0A%3CP%3EIf%20that%20shows%20completed%2C%20this%20means%20there%20are%20no%20issues.%20Otherwise%2C%20you%20can%20try%20running%20the%20same%20command%20MRS%20is%20using%20on%20your%20Exchange%20on-premises%20environment%2C%20in%20EMS%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3ENew-MailboxRepairRequest%20%3CMIGRATION%20user%3D%22%22%20identity%3D%22%22%3E%20-CorruptionType%20MessageId%3C%2FMIGRATION%3E%3C%2FP%3E%0A%3CP%3EFor%20more%20info%20on%20the%20New-MailboxRepairRequest%20cmdlet%2C%20you%20can%20check%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fnew-mailboxrepairrequest%3Fview%3Dexchange-ps%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EDepending%20on%20the%20Exchange%20Server%20Version%20you%20can%20check%20then%20the%20status%20of%20the%20repair%20request.%3C%2FP%3E%0A%3CP%3EFor%20Exchange%202013%20and%20later%2C%20use%20this%20cmdlet%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-MailboxRepairRequest%20-Mailbox%20%3CUSER%20identity%3D%22%22%3E%3C%2FUSER%3E%3C%2FP%3E%0A%3CP%3EFor%20Exchange%202010%20version%2C%20you%20would%20need%20to%20look%20in%20Event%20Viewer%20for%20the%20following%20events%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EEvent%2010047%20when%20the%20repair%20request%20is%20started%3C%2FLI%3E%0A%3CLI%3EEvent%2010062%20when%20a%20corruption%20is%20detected%20and%20repaired%3C%2FLI%3E%0A%3CLI%3EEvent%2010048%20when%20the%20repair%20completes%20successfully%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EYou%20can%20also%20try%20to%20move%20a%20mailbox%20locally%20from%20one%20server%20to%20another%2C%20remove%20the%20local%20move%20request%20and%20then%20retry%20migration%20of%20the%20mailbox%20to%20Exchange%20Online.%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId-140312024%22%20id%3D%22toc-hId-140312054%22%20id%3D%22toc-hId-140312054%22%3ETesting%20MRS%20service%3C%2FH4%3E%0A%3CP%3EOne%20utility%20that%20can%20be%20used%20for%20troubleshooting%20the%20mailbox%20move%20operation%20is%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Ftest-mrshealth%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ETest-MRSHealth%3C%2FA%3E%20cmdlet.%26nbsp%3B%20One%20thing%20to%20realize%20is%20that%20it%20cannot%20be%20tested%20from%20Office%20365%20side%20since%20the%20cmdlet%20is%20not%20available%20to%20a%20tenant%20administrators.%20However%2C%20at%20least%20from%20my%20experience%2C%20I%20have%20never%20encountered%20a%20situation%20where%20MRS%20service%20would%20be%20stopped%20on%20the%20Office%20365%20side%26nbsp%3B(and%20was%20not%20automatically%20recovered%20within%20seconds).%20We%20can%20use%20this%20utility%20to%20test%20the%20mailbox%20replication%20service%20health%20on-premises.%20Also%20on-premises%2C%20you%20can%20check%20if%20the%20MRSProxy%20is%20enabled%20on%20the%20EWS%20virtual%20directories%20and%20if%20EWS%20application%20pool%20is%20started%20in%20IIS%20manager.%3C%2FP%3E%0A%3CH4%20id%3D%22toc-hId--1667142439%22%20id%3D%22toc-hId--1667142409%22%20id%3D%22toc-hId--1667142409%22%3EEvent%20Viewer%20Diagnostic%20logging%3C%2FH4%3E%0A%3CP%3EWhen%20performing%20a%20mailbox%20move%2C%20you%20can%20turn%20up%20diagnostic%20logging%20on%20the%20mailbox%20replication%20service%20or%20other%20component%20like%20asp.net%20to%20get%20better%2C%20more%20granular%20events%20in%20the%20event%20log%20on-premises.%3C%2FP%3E%0A%3CP%3EIn%20most%20situations%2C%20you%20don%E2%80%99t%20actually%20get%20useful%20events%20in%20the%20on-premises%20event%20viewer%20when%20troubleshooting%20an%20Exchange%20Online%20remote%20move%20due%20to%20the%20fact%20that%20those%20events%20would%20be%20written%20in%20the%20datacenter.%20The%20default%20event%20logging%20can%20provide%20you%20with%20enough%20information%20on%20what%20the%20issue%20would%20be%2C%20take%20for%20example%20%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fhelp%2F3063913%2Fthe-remote-server-returned-an-error-403-forbidden-error-when-you-try-t%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eevent%201309%20from%20ASP.NET%3C%2FA%3E%20where%20the%20description%20is%20self-explanatory%3A%20MRSproxy%20service%20being%20disabled.%3C%2FP%3E%0A%3CP%3EIf%20you%20do%20find%20a%20relevant%20event%20log%20for%20the%20affected%20Exchange%20Online%20remote%20move%20in%20the%20event%20viewer%20and%20this%20is%20related%20to%20MRS%2C%20you%20can%20turn%20up%20diagnostic%20logging%20for%20the%20MRS%20service%20with%20the%20following%20cmdlet%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3EGet-EventLogLevel%20'MSExchange%20Mailbox%20Replication*'%20%7C%20Set-EventLogLevel%20-Level%20Expert%3C%2FP%3E%0A%3CP%3EThen%20reproduce%20the%20issue%20or%20wait%20for%20it%20to%20be%20reproduced%20again%20and%20then%20check%20in%20the%20Event%20Viewer%20logs%20for%20any%20relevant%20events.%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSPAN%3ETracking%20incoming%20failed%20requests%20from%20EXO%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EEspecially%20useful%20in%20communication%20or%20timeout%20failures%2C%20there%20are%203%20main%20logs%20to%20track%20the%20MRS%20requests%20on%20the%20Exchange%20on-premises%20servers%20in%20order%20for%20you%20to%20understand%20if%20an%20MRS%20Exchange%20Online%20request%20reached%20your%20Exchange%20server%2C%20or%20not.%20These%20often%20help%20us%20narrow%20down%20the%20issue%20to%20a%20most%20likely%20network%20device%20(in%20front%20of%20Exchange%20Server)%20that%20could%20terminate%20the%20connection%20and%20not%20pass%20it%20to%20Exchange%20Servers.%20Or%20if%20the%20request%20reaches%20the%20Exchange%20servers%2C%20we%20can%20see%20where%20this%20is%20stuck%20and%20get%20a%20better%20understanding%20on%20what%E2%80%99s%20the%20problem%20on%20the%20Exchange%20server%20on-premises.%3C%2FP%3E%0A%3CP%3EExchange%20on-premises%20server%20logs%20to%20track%20an%20EXO%20Incoming%20MRS%20request%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EHTTPerr%20logs%3A%20%25SystemRoot%25%5CSystem32%5CLogFiles%5CHTTPERR%3C%2FLI%3E%0A%3CLI%3EIIS%20logs%20for%20Default%20Web%20Site%20(DWS)%3A%20%25SystemDrive%25%5Cinetpub%5Clogs%5CLogFiles%5CW3SVC1%20%E2%80%93%20UTC%20Timezone%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThe%20name%20of%20the%20IIS%20logs%20contains%20the%20date%20of%20the%20log%2C%20for%20example%20u_ex%3CSTRONG%3E190930%3C%2FSTRONG%3E.log%20is%20from%20Sept%2030%2C%202019.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EHTTPProxy%20logs%20for%20EWS%20(available%20in%20Exchange%202013%20or%20later)%3A%26nbsp%3B%25ExchangeInstallPath%25Logging%5CHttpProxy%5CEws%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThe%20name%20of%20the%20HTTPProxy%20logs%20contains%20the%20date%20and%20hour%20starting%20to%20log%2C%20for%20example%20HttpProxy_%3CSTRONG%3E2019093014-10%3C%2FSTRONG%3E.LOG%20(10%3CSUP%3Eth%3C%2FSUP%3E%26nbsp%3Blog%20from%20Sept%2030%2C%202019%2C%20starting%20hour%2014%3A00%20UTC)%3C%2FP%3E%0A%3CP%3EFew%20things%20to%20mention%20here%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAlways%20correlate%20the%20timestamp%20of%20a%20failure%20HH%3AMM%3ASS%20in%20move%20report%20with%20these%20logs%20(IIS%20and%20HTTPProxy%20are%20in%20UTC%20timezone)%3C%2FLI%3E%0A%3CLI%3EA%20failed%20request%20will%20never%20have%20200%20Status%20code%20(if%20you%20see%20it%20with%20200%20in%20logs%2C%20it%20means%20you%20are%20not%20looking%20at%20the%20failed%20one).%20Note%20that%20for%20a%20request%20that%20times%20out%2C%20you%20might%20still%20be%20able%20to%20see%20it%20here%20with%20200%20status%20code%20and%20possibly%20a%20higher%20time-taken%3C%2FLI%3E%0A%3CLI%3EIf%20you%20see%20the%20failed%20request%20%26nbsp%3Bin%20HTTPerr%20logs%2C%20this%20won%E2%80%99t%20probably%20be%20present%20in%20IIS%20logs%20or%20HTTPProxy%20logs%20%E2%80%93%20it%20is%20stuck%20in%20front%20of%20IIS%2C%20check%20the%20particular%20reason%20in%20HTTPerr%20logs%20and%20check%20for%20IIS%20misconfiguration%3C%2FLI%3E%0A%3CLI%3EIf%20you%20see%20the%20failed%20requests%20in%20IIS%20logs%20%2C%20then%20you%20can%20do%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fiis%2Ftroubleshoot%2Fusing-failed-request-tracing%2Ftroubleshooting-failed-requests-using-tracing-in-iis%23enable-failed-request-tracing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EIIS%20failed%20request%20tracing%3C%2FA%3E%20on%20that%20status%20code%20and%20check%20further%20the%20detailed%20error%20in%20HttpProxy%20logs%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20concludes%20Part%203%20of%20these%20blog%20series.%20We%20will%20be%20talking%20about%20troubleshooting%20slow%20migrations%20next!%3C%2FP%3E%0A%3CP%3EI%20would%20like%20to%20thank%20the%20following%20persons%20for%20contributing%20to%20this%20blog%20and%20for%20their%20time%20and%20patience%20to%20read%20this%3A%20Angus%20Leeming%2C%20William%20Rall%2C%20Brad%20Hughes%2C%20Chris%20Boonham%2C%20Ben%20Winzenz%2C%26nbsp%3B%20Cristian%20Dimofte%2C%20Nicu%20Simion%2C%20Nino%20Bilic%2C%26nbsp%3B%20Timothy%20Heeney%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3EMirela%20Buruiana%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1746234%22%20slang%3D%22en-US%22%3E%3CP%3EContinuing%20our%20hybrid%20migration%20blog%20post%20series%2C%20we%20arrived%20at%20troubleshooting%20failed%20migrations.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1746234%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ehybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20'n%20Tricks%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1770670%22%20slang%3D%22en-US%22%3ERe%3A%20Troubleshooting%20Failed%20Migrations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1770670%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E!%20I%20am%20already%20encouraging%20people%20inside%20my%20team%20to%20write%20articles%20and%20collaborating%20on%20one%20right%20now%20%3A)%3C%2Fimg%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E

This blog post is a part of a 5 post series consisting of:

Continuing the blog post series, we arrived at troubleshooting failed migrations.

A ‘failed migration’ is when the status of the move request shows as ‘failed’, and we have one or more failures logged in the move report. The move is stopped and needs the administrator’s attention to investigate the reason of failure. Sometimes, resuming of the move can help, especially if there were some temporary issues on the Exchange Online side that were addressed.

Before getting into troubleshooting, I recommend you check the following ‘Minimum Requirements’; those are the things we know will break migrations (and we see them do so):

We also recommend that you bypass the network devices such as firewalls and reverse proxies during migrations in order to reduce source network latency and avoid frequent communication transient errors that would result in mailbox locks and slow migrations.

Often when troubleshooting Office 365 migrations, the Exchange Admin Center GUI is helpful and quite verbose regarding the reason of failure, and it many times includes a link to the corresponding documentation page for more information on specific issue.

Let me briefly show you some useful info that we can see in the (Classic) Exchange Admin Center. As a note, at the time of writing this article, the New Exchange Admin Center doesn’t currently show all of this information.

migtr01.jpg

The following can be seen in the above screenshot:

  • We have one migration batch called “Test Hybrid Migration” of type Exchange Remote Move
  • Direction of the move is Onboarding (from on-premises to the cloud)
  • The current status Syncing (things are going well so far)
  • There is only one migration user in the batch (looking at the Total column)
  • The user is not Synced (hasn’t reached the Incremental Sync at 95%), not Finalized (hasn’t reached the 100% completion) and not Failed (didn’t encounter a fatal failure)

After clicking on View details, we also see:

  • Who created the batch (crystal@mytenant.onmicrosoft.com),
  • When it was created and started (New-MigrationBatch -AutoStart),
  • When it should complete (after the initial sync will be done)
  • There is no last synced time because the status is syncing and no initial sync has been done
  • Also, the associated endpoint is the name of my migration endpoint (Get-MigrationEndpoint) through which I am running the batch.

migtr02.jpg

After a little while, the user failed because of the ExchangeGuid missing on the mail user object in Exchange Online:

migtr03.jpg

In such situation, the migration service failed to inject the move request because the user failed validation. This means that we don’t have a move request for this user and therefore will have no move report.
If you were to click on ‘Download the report for this user’, you would get an empty .txt file.
Let me show you how this failure looks like in PowerShell and what objects are created and available for us to check there.
With Get-MigrationBatch command, we can see the name of the batch, the status, the type and how many users are contained in the batch:

migtr04.jpg

To see all properties, run Get-MigrationBatch |FL.

Some other attributes values that you saw in the Exchange Admin Center GUI, for this batch were:

CreationDateTime           : 6/1/2020 8:23:35 AM
StartDateTime              : 6/1/2020 8:23:34 AM
LastSyncedDateTime         :
SubmittedByUser            : crystal@<mytenant>.onmicrosoft.com
BatchDirection             : Onboarding
SourceEndpoint             : Hybrid Exchange Miry

If I had multiple batches and I was interested in seeing this particular one, I would run: Get-MigrationBatch "Test Hybrid Migration" or if I wanted to see all batches that are failed, I would run: Get-MigrationBatch -Status SyncedWithErrors

Going further with PowerShell, if I want to see the migration user contained in that batch, I would do it like this: Get-MigrationUser -BatchId "Test Hybrid Migration". To see all the details on the migration user, I would again append |FL

migtr05.jpg

This error is self-explanatory, ExchangeGuid is missing on the user and I can also see it with Get-MailUser command for this migration user:

migtr06.jpgFrom the Get-MigrationUser output, I can also see the RequestGuid is empty, so this also tells me that there is no move request / move report for this migration user. I can run Get-MoveRequest <user> or Get-MigrationUser -BatchId "Test Hybrid Migration" | Get-MoveRequest to confirm this.

migtr07.jpg

In cases where the error message on the migration user is not so obvious and you still don’t have a move request created for it, you can check Get-MigrationUserStatistics with DiagnosticInfo verbose switch: Get-MigrationUserStatistics <user identity> -DiagnosticInfo verbose |FL and see if any more details found.
I will now go through some more command examples if you want to play around and check simple or more complicated stuff in PowerShell. Also, some things can be only checked from PowerShell and if you have a move request created and this is failed or is progressing slow, you can see more on analyzing move reports with PowerShell in later part of this blog series.

To get an overview of migration statistics:

Get-MigrationStatistics

migtr08.jpg

To get all migration users, their status and corresponding batches:

Get-MigrationUser

migtr09.jpg

To get a specific migration user:

Get-MigrationUser <email address>

migtr10.jpg

To check the error on a specific migration user:

Get-MigrationUser <email address> |FL errorsummary
Get-MigrationUser <email address> |FL

migtr11.jpg

To get all failed migration users:

Get-MigrationUser -Status Failed

migtr12.jpg

To get all failed migration users and their errors:

Get-MigrationUser -Status Failed | FT identity , errorsummary
Get-MigrationUser -Status Failed | FL identity , errorsummary

migtr13.jpg

To get migration users from a particular batch:

Get-MigrationUser -Batch “Batch Name”

migtr14.jpg

To get all migration batches:

Get-MigrationBatch

migtr15.jpg

To get a particular batch:

Get-MigrationBatch “Batch Name”

migtr16.jpg

Checking move requests (specific for hybrid remote moves)

To get all existing move requests:

Get-MoveRequest

migtr17.jpg

To get move request statistics for a specific move request:

Get-MoveRequestStatistics “User”

migtr18.jpg

Know that there are 2 main types of failures:

  • Transient Exceptions, example DataExportTransientException
  • Permanent Exceptions, example StoragePermanentException

Note: For a move request to be in a Failed state, we would need to have a permanent failure. Too many transient failures (usually more than 60) will eventually cause a permanent failure. Too many transient failures can also slow down your migration considerably.

To see the failures (transient or permanent), you would run commands similar to these or export the statistics to an XML file (discussed in the later part of this blog series)

To store the move report in a variable:

$stats = Get-MoveRequestStatistics “Affected User” -IncludeReport

To check all failures and their count:

$stats.report.Failures | group failuretype | Format-Table -AutoSize

migtr19.jpg

To check full details of the last failure:

$stats.report.Failures[-1]

migtr20.jpg

To check the last 2 failures:

$stats.Report.Failures | select -last 2

To check the first failure:

$stats.report.Failures[0]

To check the first 3 failures:

$stats.Report.Failures | select -first 3

If there are a lot of failures, you can create a list of the failures with the PowerShell Index number associated with each failure by running the following:

$i=0;$stats.report.Failures | % { $_ | Select-Object @{name="index";expression={$i}},timestamp,failurecode,failuretype,failureside;$i++} | ft

migtr21.jpg

Using this output, you can then easily identify the index number you want to focus on by enclosing the failure index number in [brackets], example:

$stats.report.Failures[4]

migtr22.jpg

To get failed move requests:

Get-MoveRequest -MoveStatus Failed

migtr23.jpg

Most frequent failures

Here is a list of most frequently seen failures in hybrid migrations (and when I say ‘most frequent’ I mean 'most frequent' issues that we see in support, not that you will see those errors in every migration). Note that not all are permanent failures, meaning not all these will cause your migrations to fail.

  • "User is already being moved" – reference here
  • "You can't use the domain because it's not an accepted domain for your organization" – reference here
  • "Target mailbox doesn't have an smtp proxy matching '.mail.onmicrosoft.com’” – reference here
  • "MigrationPermanentException: Cannot find a recipient that has mailbox GUID" – reference here. Note that another possible scenario for this error is when we cannot find a ComponentShared Mailbox by its GUID on the Exchange Online side. A ComponentShared mailbox is used to host data from other Office 365 workloads like Teams, OneDrive for Business and SharePoint. You would check (in Exchange Online PowerShell) these mailbox GUIDs with the command: Get-MailboxLocation -User <SMTP>. If the mailbox GUID in the error belongs to a component shared mailbox, please log a case with Microsoft Support.
  • "You must specify the PrimaryOnly parameter" – reference here
  • "The remote server returned an Error 404” or "HTTP request has exceeded the allotted timeout" – reference here
  • "The remote server returned an error: (403) Forbidden" – reference here
  • "Access is denied" – reference here
  • "Couldn't switch the mailbox into Sync Source mode" – reference here
  • "CommunicationErrorTransientException - The remote endpoint no longer recognizes this sequence. This is most likely due to an abort on the remote endpoint. The value of wsrm:Identifier is not a known Sequence identifier. The reliable session was faulted." – reference here
  • "The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults ..." – references here and here
  • “TooManyBadItemsPermanentException” - Failed to find a principal from the source forest or target forest – references here and here
  • “The data consistency score (Investigate) for this request is too low” – reference here. Note that we will have more on Data Consistency Score later in the blog post series.
  • "Exception has been thrown by the target of an invocation." – reference here
  • "Transient error CommunicationErrorTransientException has occurred. The system will retry" – reference here
  • "The Mailbox '<username>@contoso.com' isn't enabled for unified messaging." – reference here
  • "Failed to convert the source mailbox 'Primary (00000000-0000-0000-0000-000000000000)' to mail-enabled user after the move." or "Unable to update Active Directory information for the source mailbox at the end of the move." – reference here
  • “Target user <User> already has a primary mailbox”. Note: pay special attention to the scenario, it matters if you get this error in onboarding (move to Exchange Online) or offboarding (move from Exchange Online). For onboarding moves, please see this, and for offboarding see this. Note on scenario 1 step 7 in that article: it is not supported to remote restore a disconnected mailbox from Exchange 2010 on-premises source server version, it needs to be minimum Exchange 2013 version.
  • "StalledDueTo_Target*" when you move mailboxes to Exchange Online – reference here. More on this when we will be discussing slow migrations in next part of this blog post series.
  • "MapiExceptionTooComplex: Unable to query table rows. (hr=0x80040117, ec=-2147221225)" – reference here.
  • “Mailbox Replication Proxy Service can't process this request because it has reached the maximum number of active MRS connections allowed” – reference here.

Migration failures due to Exchange Online mailbox folder limits

I want to discuss two common migration errors related to mailbox folder quota limits in Exchange Online when onboarding a mailbox to Office 365:

  • MapiExceptionFolderHierarchyChildrenCountQuotaExceeded
  • MapiExceptionFolderHierarchyDepthQuotaExceeded

First one, FolderHierarchyChildrenCount refers to Maximum number of subfolders per mailbox folder (10,000 subfolders per folder). MapiExceptionFolderHierarchyChildrenCountQuotaExceeded is thrown when a folder has more than 10,000 same level subfolders in it on the source mailbox.
Second one, FolderHierarchyDepth refers to maximum folder hierarchy depth (300 folders 'deep').
MapiExceptionFolderHierarchyDepthQuotaExceeded is thrown when the source mailbox has a folder hierarchy with more than 300 folder levels depth.
Here is a visual of these two:

Migaddition01.jpg

The mailbox folder limits are documented in the above and you can read them with PowerShell (Get-MailboxStatistics) ran against an Exchange Online Mailbox. These particular two folder limits are:

  • FolderHierarchyChildrenCountReceiveQuota
  • FolderHierarchyDepthReceiveQuota

Migaddition02.jpg

You can export the mailbox folders to CSV, on the source side with the following commands:

Get-MailboxFolderStatistics <user> -FolderScope NonIpmroot | Export-Csv -NoTypeInformation PrimaryFolderStats.csv
Get-MailboxFolderStatistics <user> -Archive -FolderScope NonIpmroot | Export-Csv -NoTypeInformation ArchiveFolderStats.csv

Note that NonIpmRoot Folder scope is not available on Exchange 2010 Servers, you will need to use MFCMAPI to see system folders.

The solution is to merge affected folders or move them across the folder hierarchy. You will then be able to migrate the mailbox.
However, to avoid the warnings that the end-user will receive after migration, you have to make sure you are below warning quotas (that is 9,000 for child folders and 250 for folder depth).

Here is an example of such warning for folder hierarchy children count:

Migaddition03.jpg

There is another folder limit (maximum number of messages in a mailbox folder) that is quite often seen in hybrid migrations: 1 million items per folder limit and more rarely the 3 million items per Dumpster (Recoverable Items folder).
These limits are also documented here and you can see read them using Get-MailboxStatistics:
Migaddition04.jpg

The failure is: MapiExceptionMessagePerFolderCountQuotaExceeded. You can export the folders items to CSV using the following commands:

Get-MailboxFolderStatistics <user> -FolderScope NonIpmroot | sort itemsinfolder -Descending | select folderpath, itemsinfolder |Export-Csv -NoTypeInformation PrimaryFolderItems.csv
Get-MailboxFolderStatistics <user> -Archive -FolderScope NonIpmroot | sort itemsinfolder -Descending | select folderpath, itemsinfolder |Export-Csv -NoTypeInformation ArchiveFolderItems.csv
Get-MailboxFolderStatistics <user> -FolderScope RecoverableItems | sort itemsinfolder -Descending | select folderpath, itemsinfolder | Export-Csv -NoTypeInformation PrimaryDumpsterFolderItems.csv
Get-MailboxFolderStatistics <user> -Archive -FolderScope RecoverableItems | sort itemsinfolder -Descending | select folderpath, itemsinfolder |Export-Csv -NoTypeInformation ArchiveDumpsterFolderItems.csv

Solution is to reduce the number of items in the folder (by deleting or moving them to a different folder when possible).
You will need to recreate migration (remove batch or affected migration user from migration batch and create new batch with the user) in order to successfully fix this failure.

A few more troubleshooting tips

MoveOptions Parameter

Often mailbox moves fail because of corrupt items or elements in a mailbox. These mailbox move failures can be avoided by excluding those (often corrupt) elements from being migrated.

The MoveOptions parameter (previously known as the SkipMoving parameter which is being deprecated) can be added to the onboard or offboard request from PowerShell with the values of:

'SkipFolderRules, SkipFolderACLs, SkipFolderPromotedProperties, SkipFolderViews, SkipFolderRestrictions, SkipContentVerification, SkipPerObjectIndex'.

This will tell the migration to skip these elements when performing the move. We recommend you perform these skips under the guidance of Microsoft Support.

You can review a move report from a previously failed move attempt and get some clues on what exclusions you should consider making.

For example, this failure below means that we have a search folder on the source mailbox where the query (restriction) is too complex and cannot be created on the target.

migtr24.jpg

Sometimes the failure identifies the actual problematic source folder so you can look more at the DataContext content. You can then either delete the query on the source mailbox or just skip the migration of the queries (search folders) so that you can complete the migration:

Set-MoveRequest user@contoso.com -MoveOptions @{add="SkipFolderRestrictions”}

Mailbox Integrity checks

If you migrate a mailbox (primary mailbox or archive) to Exchange Online and the size is bigger than 10GB, this is considered a large mailbox and the MRS will perform an ISinteg task to ensure integrity of the mailbox that is being moved.

If you suspect that your move is stuck on ISinteg task, you can check the move report in EXO PowerShell and search for all strings containing isinteg keyword:

$stats = Get-MoveRequestStatistics <user> -IncludeReport
$stats.report.Entries | where { [string] $_ -like "*IsInteg*" } | % {[string] $_}

If that shows completed, this means there are no issues. Otherwise, you can try running the same command MRS is using on your Exchange on-premises environment, in EMS:

New-MailboxRepairRequest <migration user identity> -CorruptionType MessageId

For more info on the New-MailboxRepairRequest cmdlet, you can check here.

Depending on the Exchange Server Version you can check then the status of the repair request.

For Exchange 2013 and later, use this cmdlet:

Get-MailboxRepairRequest -Mailbox <user identity>

For Exchange 2010 version, you would need to look in Event Viewer for the following events:

  • Event 10047 when the repair request is started
  • Event 10062 when a corruption is detected and repaired
  • Event 10048 when the repair completes successfully

You can also try to move a mailbox locally from one server to another, remove the local move request and then retry migration of the mailbox to Exchange Online.

Testing MRS service

One utility that can be used for troubleshooting the mailbox move operation is the Test-MRSHealth cmdlet.  One thing to realize is that it cannot be tested from Office 365 side since the cmdlet is not available to a tenant administrators. However, at least from my experience, I have never encountered a situation where MRS service would be stopped on the Office 365 side (and was not automatically recovered within seconds). We can use this utility to test the mailbox replication service health on-premises. Also on-premises, you can check if the MRSProxy is enabled on the EWS virtual directories and if EWS application pool is started in IIS manager.

Event Viewer Diagnostic logging

When performing a mailbox move, you can turn up diagnostic logging on the mailbox replication service or other component like asp.net to get better, more granular events in the event log on-premises.

In most situations, you don’t actually get useful events in the on-premises event viewer when troubleshooting an Exchange Online remote move due to the fact that those events would be written in the datacenter. The default event logging can provide you with enough information on what the issue would be, take for example event 1309 from ASP.NET where the description is self-explanatory: MRSproxy service being disabled.

If you do find a relevant event log for the affected Exchange Online remote move in the event viewer and this is related to MRS, you can turn up diagnostic logging for the MRS service with the following cmdlet:

Get-EventLogLevel 'MSExchange Mailbox Replication*' | Set-EventLogLevel -Level Expert

Then reproduce the issue or wait for it to be reproduced again and then check in the Event Viewer logs for any relevant events.

Tracking incoming failed requests from EXO

Especially useful in communication or timeout failures, there are 3 main logs to track the MRS requests on the Exchange on-premises servers in order for you to understand if an MRS Exchange Online request reached your Exchange server, or not. These often help us narrow down the issue to a most likely network device (in front of Exchange Server) that could terminate the connection and not pass it to Exchange Servers. Or if the request reaches the Exchange servers, we can see where this is stuck and get a better understanding on what’s the problem on the Exchange server on-premises.

Exchange on-premises server logs to track an EXO Incoming MRS request:

  • HTTPerr logs: %SystemRoot%\System32\LogFiles\HTTPERR
  • IIS logs for Default Web Site (DWS): %SystemDrive%\inetpub\logs\LogFiles\W3SVC1 – UTC Timezone

The name of the IIS logs contains the date of the log, for example u_ex190930.log is from Sept 30, 2019.

  • HTTPProxy logs for EWS (available in Exchange 2013 or later): %ExchangeInstallPath%Logging\HttpProxy\Ews

The name of the HTTPProxy logs contains the date and hour starting to log, for example HttpProxy_2019093014-10.LOG (10th log from Sept 30, 2019, starting hour 14:00 UTC)

Few things to mention here:

  • Always correlate the timestamp of a failure HH:MM:SS in move report with these logs (IIS and HTTPProxy are in UTC timezone)
  • A failed request will never have 200 Status code (if you see it with 200 in logs, it means you are not looking at the failed one). Note that for a request that times out, you might still be able to see it here with 200 status code and possibly a higher time-taken
  • If you see the failed request  in HTTPerr logs, this won’t probably be present in IIS logs or HTTPProxy logs – it is stuck in front of IIS, check the particular reason in HTTPerr logs and check for IIS misconfiguration
  • If you see the failed requests in IIS logs , then you can do IIS failed request tracing on that status code and check further the detailed error in HttpProxy logs

This concludes Part 3 of these blog series. We will be talking about troubleshooting slow migrations next!

I would like to thank the following persons for contributing to this blog and for their time and patience to read this: Angus Leeming, William Rall, Brad Hughes, Chris Boonham, Ben Winzenz,  Cristian Dimofte, Nicu Simion, Nino Bilic,  Timothy Heeney

Mirela Buruiana

5 Comments

Thanks Mirela, that's really comprehensive. If only more people within Microsoft bothered to produce such quality articles... :)

Microsoft

Thanks, @Vasil Michev! I am already encouraging people inside my team to write articles and collaborating on one right now :) 

Contributor

Thanks very much for this article and this series.  It's a doozy!  It actually is saving me right now, particularly Set-MoveRequest -MoveOptions @{Add='SkipFolderRestrictions'}.

 

I'd like to ask - what exactly are FolderRestrictions anyway.  When I look at them, in the DataContext of my final Failures entry, I can see there are entries for Admins, Delegate, and Owner, similar to audit log user types.  Would be nice to know what all I'm doing away with on the user's behalf when I skip these to get the mailbox offboarded.

 

EDIT:  I've found my answer I believe, from the following source: https://techevangs.com/tech-news-update/microsoft-exchange/troubleshooting-failed-migrations/ which looks like the original post of this post.  It is said there, that FolderRestrictions are the search criteria of a search folder (or at least that is how I've understood it).  In case I've got it wrong, please do fill me in.  Thanks again.

Microsoft

Hi @Jeremy Bradshaw, you would skip folder restrictions (search folders) only when you see a failure with applying restrictions (search queries restricting to a folder). This you see it in DataContext, in the operation below and sometimes you would see here the particular folder having issues or maybe retrieve the search keywords to identify the affected query / folder.

Operation: StorageDestinationFolder.ApplyRestrictions

 

Contributor

@Mirela_Buru Thanks for the clarification.  "Search queries restricting to a folder" is very helpful.  I get it now.