%3CLINGO-SUB%20id%3D%22lingo-sub-1675314%22%20slang%3D%22en-US%22%3ERe%3A%20Digging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1675314%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20so%20much%20for%20this%20interesting%20article!%20It's%20so%20useful%20to%20see%20all%20this%20information.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1678047%22%20slang%3D%22en-US%22%3ERe%3A%20Digging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1678047%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F353272%22%20target%3D%22_blank%22%3E%40diecknet%3C%2FA%3E%26nbsp%3B%2C%20thank%20you%20for%20your%20feedback.%20Glad%20you%20like%20it.%20There%20is%20more%20to%20come%2C%20the%20next%20parts%20will%20be%20focusing%20more%20on%20troubleshooting.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1698668%22%20slang%3D%22en-US%22%3ERe%3A%20Digging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1698668%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F395212%22%20target%3D%22_blank%22%3E%40Mirela_Buru%3C%2FA%3E%26nbsp%3B%20This%20is%20really%20a%20quite%20helpful%20post%2C%20but%20unfortunately%20most%20errors%20I%20am%20currently%20dealing%20with%20are%20those%20with%20%22%3CSPAN%3Efail%20to%20find%20the%20recipient%20ExchangeGUID%20of%20a%20specific%20ComponentShared%20mailbox%3C%2FSPAN%3E%3CSPAN%3E%22.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20there%20any%20chance%20this%20will%20be%20automatically%20fixed%20at%20some%20time%20in%20the%20future%3F%20It%20is%20quite%20annoying%20to%20open%20a%20support%20case%20every%20time.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3ELuckily%20I%20am%20now%20always%20contacting%20the%20same%20support%20engineer%2C%20so%20he%20already%20knows%20what%20do%20to%20and%20the%20issue%20is%20fixed%20in%2024-48%20hours.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EPS%3A%20Maybe%20you%20can%20also%20explain%20in%20more%20detail%20why%20this%20is%20happening%20and%20maybe%20%22how%20to%20avoid%22%20such%20cases.%20I%20have%20the%20feeling%20it%20is%20related%20to%20TEAMS%20when%20it%20is%20enabled%20for%20a%20user%2C%20even%20before%20there%20is%20a%20mailbox%20or%20a%20mail-user%20object%20for%20that%20same%20user%20in%20Exchange%20Online.%20Maybe%20I%20am%20wrong%2C%20but%20this%20would%20explain%20it%20for%20some%20of%20our%20cases%20we%20had%20in%20the%20past%20at%20different%20customers.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1702134%22%20slang%3D%22en-US%22%3ERe%3A%20Digging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1702134%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F32461%22%20target%3D%22_blank%22%3E%40Sascha%20Schmatz%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3BEngineering%20team%20has%20already%20created%20a%20fix%20for%20the%20Multiple%20Shard%20Mailboxes%20issue%20so%20we%20expect%20this%20to%20be%20fixed%20soon%20for%20everyone.%3CBR%20%2F%3ENothing%20can%20be%20done%20from%20your%20side%20to%20prevent%20this%20issue.%20ComponentShared%20mailboxes%20are%20indeed%20mailboxes%20that%20store%20information%20related%20to%20other%20Office%20365%20workloads%20like%20Teams.%20The%20actual%20problem%20is%20that%20we%20provision%20multiple%20such%20mailboxes%20for%20same%20service%20request.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1675064%22%20slang%3D%22en-US%22%3EDigging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1675064%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%3EDigging%20Into%20Hybrid%20Migration%20Move%20Report%20Data%20(Part%202%20-%20you%20are%20here)%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fexchange-team-blog%2Ftroubleshooting-failed-migrations%2Fba-p%2F1746234%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3ETroubleshooting%20Failed%20Migrations%20(Part%203)%3C%2FA%3E%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%3EIn%20this%20part%2C%20let%E2%80%99s%20talk%20about%20migration%20move%20reports.%20We%20will%20need%20this%20knowledge%20when%20we%20get%20to%20later%20parts%20of%20the%20series%20(and%20start%20troubleshooting%20more).%3C%2FP%3E%0A%3CP%3EWhen%20troubleshooting%20failed%20or%20slow%20migrations%2C%20it%20is%20best%20to%20export%20the%20move%20reports%20to%20XML%20files.%20If%20you%20are%20working%20with%20Microsoft%20support%2C%20you%20can%20then%20send%20those%20files%20to%20us.%20If%20we%20have%20the%20move%20request%20statistics%20with%20-IncludeReport%20and%20-DiagnosticInfo%20switches%20for%20the%20affected%20users%2C%20we%E2%80%99d%20typically%20have%20enough%20to%20troubleshoot%20hybrid%20migrations%20(assuming%20that%20the%20move%20requests%20were%20created%20for%20the%20users%20we%20are%20troubleshooting).%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EWhat%20if%20move%20requests%20are%20not%20being%20created%3F%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20started%20the%20hybrid%20migration%20via%20migration%20batches%20and%20move%20requests%20are%20not%20there%20because%20they%20weren%E2%80%99t%20created%20by%20migration%20service%20for%20some%20reason%2C%20you%20would%20send%20us%20the%20migration%20user%20statistics%20XML%20and%20eventually%20the%20migration%20batch%20XML.%20%26nbsp%3BWe%20would%20also%20require%20you%20to%20run%20New-MoveRequest%20command%20manually%20from%20PowerShell%20depending%20on%20the%20migration%20scenario%20you%20are%20doing%20(onboarding%20or%20offboarding)%20and%20see%20if%20you%20get%20an%20error%20message%20when%20manually%20invoked%20by%20the%20administrator%20(the%20exact%20commands%20for%20onboarding%20%2F%20offboarding%20move%20requests%20are%20found%20in%20%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_blank%22%20rel%3D%22noopener%22%3EPart%201%3C%2FA%3E%20of%20the%20blog).%3C%2FP%3E%0A%3CP%3EHere%20is%20a%20quick%20summary%20of%20main%20reasons%20why%20migration%20service%20wouldn%E2%80%99t%20be%20able%20to%20inject%20the%20New-MoveRequest%20(and%20thus%20produce%20the%20move%20report)%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMigration%20user%20fails%20validation%2C%20for%20example%3A%3CUL%3E%0A%3CLI%3EExchangeGuid%20not%20synced%20from%20on-premises%20mailbox%20to%20corresponding%20cloud%20mail%20user%2C%20error%20referenced%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%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ESecondary%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%22%3Euser%40tenant.mail.onmicrosoft.com%3C%2FA%3E%20is%20not%20synced%20from%20on-premises%20mailbox%20to%20corresponding%20cloud%20mail%20user%2C%20error%20referenced%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%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EPrimary%20or%20secondary%20SMTP%20address%20on%20the%20on-premises%20mailbox%20contains%20an%20SMTP%20domain%20that%20is%20not%20an%20accepted%20domain%20in%20Office%20365%20(the%20domain%20hasn%E2%80%99t%20been%20verified%20in%20Office%20365%20or%20it%20can%E2%80%99t%20be%20verified%20(for%20example%20a%20domain%20is%20a%20non-routable%20domain%20like%20%3CA%20href%3D%22mailto%3Auser%40contoso.local%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Euser%40contoso.local%3C%2FA%3E)%2C%20error%20referenced%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%22%3Ehere%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20user%20mailbox%20you%20are%20trying%20to%20migrate%20to%20Office%20365%20has%20multiple%20ComponentShared%20mailboxes%20in%20Office%20365%20and%20during%20the%20merging%20process%20we%20fail%20to%20find%20the%20recipient%20ExchangeGUID%20of%20a%20specific%20ComponentShared%20mailbox%20(the%20error%20message%20is%20similar%20to%20%231%20above%20with%20the%20difference%20that%20the%20ExchangeGuid%20doesn%E2%80%99t%20belong%20to%20the%20user%20mailbox%20being%20migrated%20but%20rather%20belongs%20to%20the%20Exchange%20Online%20ComponentShared%20mailbox%20location%20associated%20with%20the%20corresponding%20cloud%20mail%20user%20for%20your%20on-premises%20mailbox)%20.%20If%20you%20find%20yourself%20in%20this%20scenario%2C%20please%20provide%20us%20with%20the%20error%20message%20containing%20the%20affected%20ExchangeGuid%20and%20result%20of%20%3CEM%3EGet-MailboxLocation%20-User%20%3CIDENTITY%3E%20%7CFL%3C%2FIDENTITY%3E%3C%2FEM%3E%20ran%20in%20Exchange%20Online%20PowerShell%2C%20against%20the%20user%20you%20are%20failing%20to%20migrate.%3C%2FLI%3E%0A%3CLI%3EOn-premises%20environment%20is%20filtering%20connections%20from%20Office%20365%20and%20is%20not%20allowing%20specific%20Exchange%20Online%20IP%20addresses%20ranges%20which%20includes%20the%20outbound%20IP%20of%20the%20migration%20service%20server.%20Ensure%20you%20allow%20all%20EXO%20IP%20addresses%20from%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fmicrosoft-365%2Fenterprise%2Furls-and-ip-address-ranges%3Fview%3Do365-worldwide%23exchange-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3EWhen%20move%20requests%20are%20being%20created%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3ESuppose%20you%20did%20have%20a%20move%20request%20created%20(migration%20service%20or%20the%20admin%20managed%20to%20successfully%20inject%20the%20move%20request%20for%20the%20user%20with%20New-MoveRequest)%20but%20the%20move%20request%20is%20in%20a%20failed%20state.%20You%20would%20then%20typically%20retrieve%20the%20move%20request%20statistics%20with%20-IncludeReport%20switch%20for%20a%20better%20understanding%20of%20the%20cause%20of%20the%20failure.%3C%2FP%3E%0A%3CP%3EThere%20is%20another%20switch%20called%20DiagnosticInfo%20switch%3B%20it%E2%80%99s%20use%20is%20less%20common%20than%20IncludeReport%20and%20is%20usually%20used%20by%20support%20people.%20It%20accepts%203%20arguments%3A%20%3CEM%3Eshowtimeline%2C%3C%2FEM%3E%20%3CEM%3Eshowtimeslots%3C%2FEM%3E%20and%20%3CEM%3Everbose%3C%2FEM%3E%3B%20showtimeline%20and%20showtimeslots%20are%20useful%20when%20we%20have%20slow%20migrations%20because%20we%20want%20to%20see%20where%20the%20requests%20spent%20most%20of%20the%20time%20and%20useful%20to%20understand%20why%20it%20is%20slow.%20Verbose%20argument%20can%20be%20also%20useful%20in%20failed%20migrations%2C%20especially%20when%20we%20don%E2%80%99t%20have%20a%20report%20for%20the%20move%2F%20migration%20user.%3CBR%20%2F%3EA%20move%20request%20can%20have%20the%20following%20statuses%20and%20you%20can%20use%20-%3CEM%3EMoveStatus%3C%2FEM%3E%20parameter%20to%20filter%20the%20move%20request%20based%20on%20a%20specific%20status%2C%20reference%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fmodule%2Fexchange%2Fget-moverequest%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20I%20will%20list%20the%20main%20statuses%20of%20move%20requests%2C%20with%20a%20brief%20explanation%20of%20each%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CEM%3EAutoSuspended%20-%3C%2FEM%3E%20the%20move%20request%20is%20automatically%20suspended%20by%20MRS.%20This%20happens%20if%20you%20manually%20create%20a%20move%20request%20with%20the%20-SuspendWhenReadyToComplete%20flag%20or%20use%20this%20parameter%20on%20an%20existing%20move%20request%20and%20the%20move%20request%20has%20completed%20the%20initial%20sync%20stage.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ECompleted%20-%20%3C%2FEM%3Ethe%20move%20request%20completed%20successfully.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ECompletedWithWarning%3C%2FEM%3E%20-%20the%20move%20request%20is%20completed%20but%20it%20encountered%20a%20failure%20during%20the%20move%2C%20a%20failure%20which%20%3CEM%3Edidn't%20fail%20the%20migration%3C%2FEM%3E.%20This%20needs%20your%20attention.%20We%20will%20get%20deeper%20into%20this%20in%20a%20later%20part%20of%20this%20blog%20series.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ECompletionInProgress%20-%20%3C%2FEM%3Ethe%20move%20request%20is%20about%20to%20complete%20(final%20sync%20stage).%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EFailed%20-%20%3C%2FEM%3Ethe%20move%20request%20encountered%20a%20permanent%20failure%20that%20is%20not%20retriable%20automatically.%20Failed%20move%20requests%20will%20be%20discussed%20in%20Part%203%20of%20this%20blog%20series.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EInProgress%20-%20%3C%2FEM%3Ethe%20move%20request%20is%20in%20progress.%20If%20you%20suspect%20that%20the%20move%20is%20progressing%20slowly%2C%20Part%204%20of%20this%20blog%20series%20will%20cover%20that.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3EQueued%20-%20%3C%2FEM%3Ethe%20move%20request%20is%20being%20queued%20in%20the%20MRS%20queue%20and%20is%20waiting%20to%20be%20processed.%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ESuspended%20-%20%3C%2FEM%3Ethe%20move%20request%20is%20manually%20suspended%20(for%20example%2C%20Stop-MigrationBatch%2FMigrationUser%20or%20Suspend-MoveRequest%20initiated%20by%20the%20admin).%3C%2FLI%3E%0A%3CLI%3E%3CEM%3ESynced%20-%20%3C%2FEM%3Ethe%20move%20request%20has%20completed%20the%20initial%20sync%20stage%20and%20is%20waiting%20for%20manual%20or%20automatic%20resume%20(incremental%20or%20final%20sync%20stage).%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAs%20promised%20earlier%2C%20here%20are%20the%20cmdlets%20to%20export%20migration%20and%20move%20reports%20to%20XML%20files%3A%3C%2FP%3E%0A%3CH5%20id%3D%22toc-hId-1932374550%22%20id%3D%22toc-hId-1932374550%22%3EExport%20migration%20user%20statistics%20for%20one%20migration%20user%20to%20an%20XML%20file%3C%2FH5%3E%0A%3CUL%3E%0A%3CLI%3EUse%20whenever%20you%20initiate%20a%20hybrid%20migration%20through%20batches%3C%2FLI%3E%0A%3CLI%3EUse%20when%20a%20move%20request%20fails%20to%20be%20injected%20(you%20have%20nothing%20returned%20in%20Get-MoveRequest%20for%20the%20user%2C%20meaning%20no%20move%20request%20available%20for%20the%20user%20identity)%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationUserStatistics%26nbsp%3B%3CUSER%3E%26nbsp%3B-IncludeSkippedItems%26nbsp%3B-IncludeReport%26nbsp%3B-DiagnosticInfo%20Verbose%26nbsp%3B%7C%20Export-Clixml%20C%3A%5Ctemp%5CAffectedMigUser1Stats.xml%3C%2FUSER%3E%3C%2FP%3E%0A%3CH5%20id%3D%22toc-hId-124920087%22%20id%3D%22toc-hId-124920087%22%3EExport%20move%20request%20statistics%20for%20one%20user%20to%20an%20XML%20file%3C%2FH5%3E%0A%3CUL%3E%0A%3CLI%3EThis%20only%20applies%20to%20hybrid%20remote%20moves%3C%2FLI%3E%0A%3CLI%3EUse%20when%20you%20have%20a%20Get-MoveRequest%20for%20that%20user%20identity%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%20class%3D%22code%22%3EGet-MoveRequestStatistics%20%3CUSER%3E%20-IncludeReport%20-DiagnosticInfo%20%22showtimeslots%2C%20verbose%2C%20showtimeline%22%20%7C%26nbsp%3BExport-clixml%20C%3A%5Ctemp%5CEXO_AffectedHybridMoveRequest1Statistics.xml%3C%2FUSER%3E%3C%2FP%3E%0A%3CH5%20id%3D%22toc-hId--1682534376%22%20id%3D%22toc-hId--1682534376%22%3EExport%20all%20migration%20batches%20info%20to%20an%20XML%20file%3C%2FH5%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationBatch%20-DiagnosticInfo%20Verbose%20-IncludeReport%20%7C%20Export-Clixml%20C%3A%5Ctemp%5CEXO_ALL_Batches.xml%3C%2FP%3E%0A%3CH5%20id%3D%22toc-hId-804978457%22%20id%3D%22toc-hId-804978457%22%3EExport%20one%20migration%20batch%20info%20to%20an%20XML%20file%3C%2FH5%3E%0A%3CP%20class%3D%22code%22%3EGet-MigrationBatch%20%E2%80%9C%3CBATCH%20name%3D%22%22%3E%E2%80%9D%20-DiagnosticInfo%20Verbose%20-IncludeReport%20%7C%20Export-Clixml%20C%3A%5Ctemp%5CEXO_AffectedBatch.xml%3C%2FBATCH%3E%3C%2FP%3E%0A%3CP%3ESome%20of%20you%20might%20be%20in%20a%20situation%20where%20the%20migration%20completed%20fine%20and%20you%20have%20removed%20the%20move%20request%20but%20now%2C%20an%20end-user%20calls%20you%20saying%20that%20she%2Fhe%20lost%20permissions%20on%20a%20mailbox%20you%20just%20migrated%20(and%20already%20deleted%20the%20report%20for).%20Fortunately%2C%20you%20can%20still%20try%20to%20retrieve%20the%20move%20report%20and%20move%20history%20with%20Get-MailboxStatistics%20command%20executed%20on%20premises%20where%20the%20mailbox%20was%20moved%20to%20(and%20the%20mailbox%20is%20hosted%20currently%20-%20Exchange%20Online%20or%20Exchange%20on-premises).%20References%20for%20the%20command%20to%20use%20can%20be%20found%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fprevious-versions%2Foffice%2Fexchange-server-2010%2Fdd876924(v%253dexchg.141)%23use-the-shell-to-view-a-completed-move-request-report%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpowershell%2Fmodule%2Fexchange%2Fget-mailboxstatistics%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EOther%20exporting%20to%20XML%2C%20you%20can%20also%20store%20the%20report%20in%20a%20variable%2C%20for%20example%20%3CSTRONG%3E%24stats.%20%3C%2FSTRONG%3EThis%20is%20useful%20especially%20when%20you%20want%20to%20investigate%20by%20yourself%20(before%20logging%20a%20support%20case%2C%20for%20example)%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats%20%3D%20Get-MoveRequestStatistics%20%3CUSER%3E%20-IncludeReport%20-DiagnosticInfo%20verbose%3C%2FUSER%3E%3C%2FP%3E%0A%3CP%3ENote%20that%20if%20you%20run%20the%20command%20without%20those%202%20switches%2C%20you%20won%E2%80%99t%20have%20the%20report%20or%20DiagnosticInfo%20available%2C%20but%20only%20the%20actual%20statistics%2C%20example%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports01.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218816i6C0BA41C97FDF522%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports01.jpg%22%20alt%3D%22getmigreports01.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EYou%20can%20use%20%7CFL%20to%20see%20more%20info%20on%20the%20statistics%2C%20example%20here%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports02.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218819i520CB1C0C1F39A96%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports02.jpg%22%20alt%3D%22getmigreports02.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENext%20I%20will%20list%20some%20of%20the%20main%20things%20that%20can%20be%20found%20in%20just%20the%20%3CEM%3Estatistics%3C%2FEM%3E%20of%20a%20move%20request%2C%20which%20I%20find%20useful%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EInformation%20related%20to%20identifiers%20of%20the%20user%20mailboxes%20(primary%20or%20archive%20mailbox)%20being%20migrated%3A%20MailboxIdentity%2C%20DistinguishedName%2C%20Alias%2CDisplayName%2C%20ExchangeGuid%2C%20ArchiveGuid%2C%20Identity%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20the%20state%20of%20the%20move%20and%20its%20completion%20settings%3A%20Status%2C%20StatusDetail%2C%20SyncStage%2C%20PercentComplete%2C%20CompleteAfter%2C%20SuspendWhenReadyToComplete%2C%20Message%2C%20FailureType%2CFailureSide%2C%20LastFailure%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20the%20directionality%20of%20the%20move%20and%20if%20online%20or%20offline%20move%3A%20Direction%2C%20WorkloadType%2C%20IsOffline%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20the%20size%20of%20the%20mailboc%20being%20migrated%3A%20TotalPrimarySize%2C%20TotalPrimaryItemCount%2C%20TotalArchiveSize%2C%20TotalArchiveItemCount%2C%20TotalMailboxSize%2C%20TotalMailboxItemCount%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20bad%20items%2C%20large%20items%20and%20Data%20Consistency%20Score%3A%20BadItemLimit%2C%20LargeItemLimit%2C%20AllowLargeItem%2C%20BadItemsEncountered%2C%20LargeItemsEncountered%2C%20MissingItemsEncountered%2C%20DataConsistencyScore%2C%20DataConsistencyScoringFactors%2C%20LastSkippedItemEncounteredTimestamp%2C%20SkippedItemApprovalTimestamp%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20the%20batch%20and%20migration%20endpoint%20used%20(when%20we%20initiate%20hybrid%20migration%20through%20batches)%3A%20BatchName%2C%20MigrationMailboxGuid%2C%20SourceEndpointGuid%2C%20MigrationBatchGuid%2C%20MigrationUserGuid%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20source%20or%20remote%20environments%3A%20SourceVersion%2C%20SourceDatabase%2C%20SourceServer%2C%20SourceArchiveDatabase%2C%20SourceArchiveVersion%2C%20SourceArchiveServer%2C%20RemoteHostName%2C%20RemoteCredentialUserName%2C%20RemoteDatabase%2C%20RemoteDatabasename%2C%20RemoteArchiveDatabase%2C%20RemoteArchiveDatabaseName%3C%2FLI%3E%0A%3CLI%3EInformation%20related%20to%20the%20target%20environment%20and%20domains%3A%20TargetVersion%2C%20TargetDatabase%2CTargetServer%2C%20TargetArchiveDatabase%2C%20TargetArchiveServer%2C%20TargetArchiveVersion%2C%20TargetDeliveryDomain%2C%20ArchiveDomain%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EInformation%20related%20to%20duration%20and%20timestamps%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports03.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218820iB1853DEE1E989D95%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports03.jpg%22%20alt%3D%22getmigreports03.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENow%2C%20let%E2%80%99s%20talk%20about%20things%20we%20see%20in%20the%20actual%20report%20of%20a%20move%20request%20statistics%20(%3CSTRONG%3E%24stats.Report%3C%2FSTRONG%3E)%20in%20PowerShell%20(and%20with%20MRS%20Explorer%20GUI%20tool)%20so%20that%20you%20know%20what%20to%20check%20when%20you%E2%80%99re%20stuck%20with%20a%20hybrid%20move.%3C%2FP%3E%0A%3CP%3ENote%3A%20you%20need%20to%20have%20a%20move%20request%20in%20place%20for%20the%20user%20and%20get%20the%20move%20request%20statistics%20with%20IncludeReport%20switch%20in%20order%20to%20have%20the%20report%20available%20for%20analysis.%3C%2FP%3E%0A%3CP%3ESuppose%20we%20stored%20the%20move%20request%20statistics%20in%3CSTRONG%3E%20%24stats%20%3C%2FSTRONG%3Evariable%20and%20have%20the%20report%20available%20in%3CSTRONG%3E%20%24stats.Report%3C%2FSTRONG%3E.%20We%20can%20simply%20run%20%24stats.Report%20to%20dump%20the%20entire%20report%20(not%20practical)%20or%20check%20specific%20sub-parts%20of%20the%20report.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports04.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218821iDFD3C4C3B7D7124B%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports04.jpg%22%20alt%3D%22getmigreports04.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20will%20now%20list%20the%20main%20report%20components%20and%20a%20brief%20explanation%20of%20what%20type%20of%20info%20you%20will%20find%20here%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3E.Entries%20%3C%2FSTRONG%3E(all%20report%20entries%2C%20everything%20from%20the%20report%20is%20logged%20here%3B%20think%20of%20it%20as%20a%20timeline%20of%20the%20move%20operation)%3C%2FLI%3E%0A%3CLI%3E.%3CSTRONG%3EDebugEntries%3C%2FSTRONG%3E%20(%E2%80%9Chidden%E2%80%9D%20entries%2C%20these%20are%20for%20example%20useful%20when%20troubleshooting%20in-depth%20permissions%20loss%20during%20move%20or%20want%20to%20check%20the%20values%20changed%20in%20Set-MoveRequest)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EDebugEntries%20is%20different%20from%20Entries%20in%20data%20contained%20and%20as%20well%20as%20localized%20string%20language%3B%20in%20report%2C%20Entries%20will%20be%20in%20lof%20the%20admin%20whereas%20DebugEntries%20are%20in%20English%20(these%20are%20mostly%20used%20by%20Microsoft%20folks).%20DebugEntries%20is%20usually%20used%20in%20troubleshooting%20permissions%20loss%20(folder%20ACL%20before%20and%20after%20the%20move%2C%20mailbox%20security%20descriptors%20(SD)%20and%20calendar%20folder%20ACL%20for%20F%2FB%20issues)%3C%2FP%3E%0A%3CP%3ECommands%20to%20get%20Entries%20and%20DebugEntries%20linked%20together%20and%20copied%20to%20clipboard%3A%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24e%20%3D%40()%3CBR%20%2F%3E%24e%20%2B%3D%20%24stats.Report.Entries%3CBR%20%2F%3E%24e%20%2B%3D%20%24stats.Report.DebugEntries%3CBR%20%2F%3E%24e%20%7C%20sort%20CreationTime%20%7C%20%25%20%7B%20%5Bstring%5D%20%24_%20%7D%20%7C%20clip%3C%2FP%3E%0A%3CP%3ECommand%20to%20get%20the%20first%20entry%20related%20to%20a%20corrupt%20item%20-%20this%20is%20also%20seen%20in%20report.baditems%5B0%5D%3A%3C%2FP%3E%0A%3CP%20class%3D%22code%22%3E%24stats.Report.Entries%20%7C%20where%20%7B%20%24_.LocalizedString%20-match%20%E2%80%98Corrupt%E2%80%99%20%7D%20%7C%20Select%20-first%201%20%7C%20%25%20%7B%20%5Bstring%5D%20%24_%7D%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3E.Failures%3C%2FSTRONG%3E%20(these%20are%20admin%20exposed%20failures%20that%20were%20encountered%20during%20the%20move%3B%20the%20failures%20are%20normally%20grouped%20in%20transient%20and%20permanent%20ones.%20We%20will%20talk%20about%20this%20more%20in%20a%20later%20part%20of%20this%20blog%20post%20series%2C%20where%20we%20will%20discuss%20failed%20migrations)%3CBR%20%2F%3EWe%20can%20output%20these%20with%20a%20%3CSTRONG%3E%7C%20group%20failuretype%3C%2FSTRONG%3E%20and%20show%20overall%20details%20or%20we%20can%20output%20it%20with%20a%20%3CSTRONG%3E%7C%20Select%20-Last%201%3C%2FSTRONG%3E%20or%20%3CSTRONG%3E%5B-1%5D%3C%2FSTRONG%3E%20to%20show%20you%20the%20last%20error%20in%20the%20report%20or%20with%20a%20%3CSTRONG%3E%7C%20Select%20-First%201%3C%2FSTRONG%3E%20or%20%3CSTRONG%3E%5B0%5D%3C%2FSTRONG%3E%20to%20show%20you%20the%20first%20error%20in%20the%20report.%20We%20are%20mostly%20interested%20in%20Timestamp%2C%20SourceSide%2C%20DataContext%2C%20StackTrace%20and%20InnerException%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.InternalFailures%3C%2FSTRONG%3E%20(%E2%80%9Chidden%E2%80%9D%20failures%2C%20used%20mostly%20by%20migration%20engineering%20team%2C%20usually%20seen%20in%20mailbox%20locked%20scenarios%3B%20you%20can%20format%20the%20output%20the%20same%20as%20regular%20failures%20described%20above)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.BadItems%3C%2FSTRONG%3E%20(corrupted%20items%20encountered%2C%20most%20common%20ones%20are%20orphaned%20ACLs%20with%20unresolved%20SIDs)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.LargeItems%3C%2FSTRONG%3E%20(large%20items%20encountered%2C%20in%20MRS%20migrations%20limit%20is%20150MB)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.Connectivity%3C%2FSTRONG%3E%20(server%20versions%20and%20names%3B%20think%20of%20this%20as%20a%20timeline%20of%20the%20connectivity%20during%20a%20move%20operation)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.SessionStatistics%3C%2FSTRONG%3E%20(statistics%20of%20the%20move%20%2C%20like%20source%20and%20target%20average%20latency%20time)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.%3C%2FSTRONG%3E%3CSTRONG%3EMailbox%20verification%3C%2FSTRONG%3E%20(item%20statistics%20before%20and%20after%20the%20move%20on%20source%20and%20target%3B%20it%E2%80%99s%20only%20available%20when%20status%20is%20Completed).%20A%20quick%20command%20to%20see%20the%20folders%20and%20their%20properties%20where%20the%20number%20of%20items%20from%20source%20are%20different%20from%20the%20ones%20on%20target%3A%20%3CSTRONG%3E%24stats.Report.MailboxVerification%3C%2FSTRONG%3E%20%7C%20where%20%7B%20%24_.Source.Count%20-ne%20%24_.Target.Count%20%7D%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.SourceMailboxBeforeMove.Props%3C%2FSTRONG%3E%20together%20with%20.%3CSTRONG%3ETargetMailUserBeforeMove.Props%3C%2FSTRONG%3E%20(for%20example%2C%20in%20onboarding%20scenario%3A%20on-prem%20mailbox%20properties%20and%20Office%20365%20mail%20user%20properties%20before%20the%20move%3B%20only%20available%20when%20status%20is%20Completed)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.%3C%2FSTRONG%3E%3CSTRONG%3ETargetMailboxAfterMove.Props%3C%2FSTRONG%3E%20together%20with%3CSTRONG%3E%20.%3C%2FSTRONG%3E%3CSTRONG%3ESourceMailUserAfterMove.Props%3C%2FSTRONG%3E%20(in%20the%20same%20example%2C%20in%20onboarding%20scenario%3A%20on-prem%20mail%20user%20properties%20and%20Office%20365%20mailbox%20properties%20after%20move%3B%20only%20available%20when%20status%20is%20Completed)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.SourceMailboxSize%3C%2FSTRONG%3E%20(the%20size%20of%20the%20source%20mailbox)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.TargetMailboxSize%3C%2FSTRONG%3E%20(the%20size%20of%20the%20target%20mailbox)%3C%2FLI%3E%0A%3CLI%3E.%3CSTRONG%3ESourceArchiveMailboxSize%3C%2FSTRONG%3E%20(the%20size%20of%20the%20source%20archive%20mailbox)%3C%2FLI%3E%0A%3CLI%3E.%3CSTRONG%3ETargetArchiveMailboxSize%3C%2FSTRONG%3E%20(the%20size%20of%20the%20target%20archive%20mailbox)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.SourceThrottles%3C%2FSTRONG%3E%26nbsp%3B%20(shows%20reason%20for%20why%2Fif%20a%20move%20was%20throttled%20on%20the%20source%20side%20and%26nbsp%3B%20for%20how%20long)%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E.TargetThrottles%3C%2FSTRONG%3E%20(shows%20reason%20for%20why%2Fif%20a%20move%20was%20throttled%20on%20the%20target%20side%20and%20for%20how%20long)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH4%20id%3D%22toc-hId-794475353%22%20id%3D%22toc-hId-794475353%22%3EUsing%20MRS%20Explorer%3C%2FH4%3E%0A%3CP%3EIf%20you%20are%20not%20super%20skilled%20with%20PowerShell%20and%20would%20like%20to%20choose%20a%20more%20user-friendly%20interface%20to%20analyze%20the%20move%20report%2C%20you%20can%20use%20the%20MRS%20Explorer%20utility%20(please%20note%20that%20this%20is%20not%20an%20officially%20supported%20tool).%3C%2FP%3E%0A%3CP%3EYou%20will%20have%20to%20download%20the%20script%20located%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fzarkatech%2FMRS-Explorer%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E1.%20After%20you%20have%20downloaded%20%3CSTRONG%3EMRS_Explorer.ps1%3C%2FSTRONG%3E%20script%20to%20your%20local%20drive%2C%20run%20it%20from%20any%20PowerShell%20client%20as%20shown%20below%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports05.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218822i4301606CA3C841C7%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports05.jpg%22%20alt%3D%22getmigreports05.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E2.%20From%20the%20interface%20that%20pops%20up%2C%20you%20can%20import%20one%20of%20the%20XML%20migrations%20reports%20that%20you%20have%20already%20saved%20on%20your%20machine%20or%20you%20can%20connect%20directly%20to%20Exchange%20Online%20by%20selection%20the%20option%20%E2%80%9CQuery%20Exchange%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%22getmigreports06.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218823i1CD6FE17527F66E3%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports06.jpg%22%20alt%3D%22getmigreports06.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E3.%20Once%20the%20report%20has%20been%20imported%2C%20you%20can%20view%20the%20details%20of%20each%20property%20from%20the%20migration%20report.%20We%20can%20view%20more%20insight%20by%20expanding%20the%20%22Report%22%20tree%2C%20for%20example%20the%20details%20of%20%3CEM%3ESessionStatistics%3C%2FEM%3E%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports07.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218824iA11B23A836AA7E86%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports07.jpg%22%20alt%3D%22getmigreports07.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E4.%20We%20can%20also%20see%20the%20information%20about%20Data%20Consistency%20Score%20for%20example%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22getmigreports08.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F218825i3419BC9E60816F64%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22getmigreports08.jpg%22%20alt%3D%22getmigreports08.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThis%20concludes%20part%202%20of%20this%20blog%20series.%20Onto%20failed%20migrations%20next!%3C%2FP%3E%0A%3CP%3ESpecial%20thanks%20to%20the%20army%20of%20migration%20specialists%20that%20reviewed%20and%20contributed%20to%20this%20post%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%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-1675064%22%20slang%3D%22en-US%22%3E%3CP%3ELet%E2%80%99s%20talk%20about%20migration%20move%20reports.%20We%20will%20need%20this%20knowledge%20when%20we%20get%20to%20later%20parts%20of%20hybrid%20migration%20blog%20post%20series%20(and%20start%20troubleshooting%20more).%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1675064%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ehybrid%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn%20premises%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Etroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E

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

In this part, let’s talk about migration move reports. We will need this knowledge when we get to later parts of the series (and start troubleshooting more).

When troubleshooting failed or slow migrations, it is best to export the move reports to XML files. If you are working with Microsoft support, you can then send those files to us. If we have the move request statistics with -IncludeReport and -DiagnosticInfo switches for the affected users, we’d typically have enough to troubleshoot hybrid migrations (assuming that the move requests were created for the users we are troubleshooting).

What if move requests are not being created?

If you started the hybrid migration via migration batches and move requests are not there because they weren’t created by migration service for some reason, you would send us the migration user statistics XML and eventually the migration batch XML.  We would also require you to run New-MoveRequest command manually from PowerShell depending on the migration scenario you are doing (onboarding or offboarding) and see if you get an error message when manually invoked by the administrator (the exact commands for onboarding / offboarding move requests are found in Part 1 of the blog).

Here is a quick summary of main reasons why migration service wouldn’t be able to inject the New-MoveRequest (and thus produce the move report):

  • Migration user fails validation, for example:
    • ExchangeGuid not synced from on-premises mailbox to corresponding cloud mail user, error referenced here
    • Secondary SMTP address user@tenant.mail.onmicrosoft.com is not synced from on-premises mailbox to corresponding cloud mail user, error referenced here
    • Primary or secondary SMTP address on the on-premises mailbox contains an SMTP domain that is not an accepted domain in Office 365 (the domain hasn’t been verified in Office 365 or it can’t be verified (for example a domain is a non-routable domain like user@contoso.local), error referenced here
  • The user mailbox you are trying to migrate to Office 365 has multiple ComponentShared mailboxes in Office 365 and during the merging process we fail to find the recipient ExchangeGUID of a specific ComponentShared mailbox (the error message is similar to #1 above with the difference that the ExchangeGuid doesn’t belong to the user mailbox being migrated but rather belongs to the Exchange Online ComponentShared mailbox location associated with the corresponding cloud mail user for your on-premises mailbox) . If you find yourself in this scenario, please provide us with the error message containing the affected ExchangeGuid and result of Get-MailboxLocation -User <Identity> |FL ran in Exchange Online PowerShell, against the user you are failing to migrate.
  • On-premises environment is filtering connections from Office 365 and is not allowing specific Exchange Online IP addresses ranges which includes the outbound IP of the migration service server. Ensure you allow all EXO IP addresses from here.

When move requests are being created

Suppose you did have a move request created (migration service or the admin managed to successfully inject the move request for the user with New-MoveRequest) but the move request is in a failed state. You would then typically retrieve the move request statistics with -IncludeReport switch for a better understanding of the cause of the failure.

There is another switch called DiagnosticInfo switch; it’s use is less common than IncludeReport and is usually used by support people. It accepts 3 arguments: showtimeline, showtimeslots and verbose; showtimeline and showtimeslots are useful when we have slow migrations because we want to see where the requests spent most of the time and useful to understand why it is slow. Verbose argument can be also useful in failed migrations, especially when we don’t have a report for the move/ migration user.
A move request can have the following statuses and you can use -MoveStatus parameter to filter the move request based on a specific status, reference here. I will list the main statuses of move requests, with a brief explanation of each:

  • AutoSuspended - the move request is automatically suspended by MRS. This happens if you manually create a move request with the -SuspendWhenReadyToComplete flag or use this parameter on an existing move request and the move request has completed the initial sync stage.
  • Completed - the move request completed successfully.
  • CompletedWithWarning - the move request is completed but it encountered a failure during the move, a failure which didn't fail the migration. This needs your attention. We will get deeper into this in a later part of this blog series.
  • CompletionInProgress - the move request is about to complete (final sync stage).
  • Failed - the move request encountered a permanent failure that is not retriable automatically. Failed move requests will be discussed in Part 3 of this blog series.
  • InProgress - the move request is in progress. If you suspect that the move is progressing slowly, Part 4 of this blog series will cover that.
  • Queued - the move request is being queued in the MRS queue and is waiting to be processed.
  • Suspended - the move request is manually suspended (for example, Stop-MigrationBatch/MigrationUser or Suspend-MoveRequest initiated by the admin).
  • Synced - the move request has completed the initial sync stage and is waiting for manual or automatic resume (incremental or final sync stage).

As promised earlier, here are the cmdlets to export migration and move reports to XML files:

Export migration user statistics for one migration user to an XML file
  • Use whenever you initiate a hybrid migration through batches
  • Use when a move request fails to be injected (you have nothing returned in Get-MoveRequest for the user, meaning no move request available for the user identity) 

Get-MigrationUserStatistics <User> -IncludeSkippedItems -IncludeReport -DiagnosticInfo Verbose | Export-Clixml C:\temp\AffectedMigUser1Stats.xml

Export move request statistics for one user to an XML file
  • This only applies to hybrid remote moves
  • Use when you have a Get-MoveRequest for that user identity

Get-MoveRequestStatistics <User> -IncludeReport -DiagnosticInfo "showtimeslots, verbose, showtimeline" | Export-clixml C:\temp\EXO_AffectedHybridMoveRequest1Statistics.xml

Export all migration batches info to an XML file

Get-MigrationBatch -DiagnosticInfo Verbose -IncludeReport | Export-Clixml C:\temp\EXO_ALL_Batches.xml

Export one migration batch info to an XML file

Get-MigrationBatch “<Batch Name>” -DiagnosticInfo Verbose -IncludeReport | Export-Clixml C:\temp\EXO_AffectedBatch.xml

Some of you might be in a situation where the migration completed fine and you have removed the move request but now, an end-user calls you saying that she/he lost permissions on a mailbox you just migrated (and already deleted the report for). Fortunately, you can still try to retrieve the move report and move history with Get-MailboxStatistics command executed on premises where the mailbox was moved to (and the mailbox is hosted currently - Exchange Online or Exchange on-premises). References for the command to use can be found here and here.

Other exporting to XML, you can also store the report in a variable, for example $stats. This is useful especially when you want to investigate by yourself (before logging a support case, for example):

$stats = Get-MoveRequestStatistics <user> -IncludeReport -DiagnosticInfo verbose

Note that if you run the command without those 2 switches, you won’t have the report or DiagnosticInfo available, but only the actual statistics, example:

getmigreports01.jpg

You can use |FL to see more info on the statistics, example here:

getmigreports02.jpg

Next I will list some of the main things that can be found in just the statistics of a move request, which I find useful:

  • Information related to identifiers of the user mailboxes (primary or archive mailbox) being migrated: MailboxIdentity, DistinguishedName, Alias,DisplayName, ExchangeGuid, ArchiveGuid, Identity
  • Information related to the state of the move and its completion settings: Status, StatusDetail, SyncStage, PercentComplete, CompleteAfter, SuspendWhenReadyToComplete, Message, FailureType,FailureSide, LastFailure
  • Information related to the directionality of the move and if online or offline move: Direction, WorkloadType, IsOffline
  • Information related to the size of the mailboc being migrated: TotalPrimarySize, TotalPrimaryItemCount, TotalArchiveSize, TotalArchiveItemCount, TotalMailboxSize, TotalMailboxItemCount
  • Information related to bad items, large items and Data Consistency Score: BadItemLimit, LargeItemLimit, AllowLargeItem, BadItemsEncountered, LargeItemsEncountered, MissingItemsEncountered, DataConsistencyScore, DataConsistencyScoringFactors, LastSkippedItemEncounteredTimestamp, SkippedItemApprovalTimestamp
  • Information related to the batch and migration endpoint used (when we initiate hybrid migration through batches): BatchName, MigrationMailboxGuid, SourceEndpointGuid, MigrationBatchGuid, MigrationUserGuid
  • Information related to source or remote environments: SourceVersion, SourceDatabase, SourceServer, SourceArchiveDatabase, SourceArchiveVersion, SourceArchiveServer, RemoteHostName, RemoteCredentialUserName, RemoteDatabase, RemoteDatabasename, RemoteArchiveDatabase, RemoteArchiveDatabaseName
  • Information related to the target environment and domains: TargetVersion, TargetDatabase,TargetServer, TargetArchiveDatabase, TargetArchiveServer, TargetArchiveVersion, TargetDeliveryDomain, ArchiveDomain

Information related to duration and timestamps:

getmigreports03.jpg

Now, let’s talk about things we see in the actual report of a move request statistics ($stats.Report) in PowerShell (and with MRS Explorer GUI tool) so that you know what to check when you’re stuck with a hybrid move.

Note: you need to have a move request in place for the user and get the move request statistics with IncludeReport switch in order to have the report available for analysis.

Suppose we stored the move request statistics in $stats variable and have the report available in $stats.Report. We can simply run $stats.Report to dump the entire report (not practical) or check specific sub-parts of the report.

getmigreports04.jpg

I will now list the main report components and a brief explanation of what type of info you will find here:

  • .Entries (all report entries, everything from the report is logged here; think of it as a timeline of the move operation)
  • .DebugEntries (“hidden” entries, these are for example useful when troubleshooting in-depth permissions loss during move or want to check the values changed in Set-MoveRequest)

DebugEntries is different from Entries in data contained and as well as localized string language; in report, Entries will be in lof the admin whereas DebugEntries are in English (these are mostly used by Microsoft folks). DebugEntries is usually used in troubleshooting permissions loss (folder ACL before and after the move, mailbox security descriptors (SD) and calendar folder ACL for F/B issues)

Commands to get Entries and DebugEntries linked together and copied to clipboard::

$e =@()
$e += $stats.Report.Entries
$e += $stats.Report.DebugEntries
$e | sort CreationTime | % { [string] $_ } | clip

Command to get the first entry related to a corrupt item - this is also seen in report.baditems[0]:

$stats.Report.Entries | where { $_.LocalizedString -match ‘Corrupt’ } | Select -first 1 | % { [string] $_}

  • .Failures (these are admin exposed failures that were encountered during the move; the failures are normally grouped in transient and permanent ones. We will talk about this more in a later part of this blog post series, where we will discuss failed migrations)
    We can output these with a | group failuretype and show overall details or we can output it with a | Select -Last 1 or [-1] to show you the last error in the report or with a | Select -First 1 or [0] to show you the first error in the report. We are mostly interested in Timestamp, SourceSide, DataContext, StackTrace and InnerException
  • .InternalFailures (“hidden” failures, used mostly by migration engineering team, usually seen in mailbox locked scenarios; you can format the output the same as regular failures described above)
  • .BadItems (corrupted items encountered, most common ones are orphaned ACLs with unresolved SIDs)
  • .LargeItems (large items encountered, in MRS migrations limit is 150MB)
  • .Connectivity (server versions and names; think of this as a timeline of the connectivity during a move operation)
  • .SessionStatistics (statistics of the move , like source and target average latency time)
  • .Mailbox verification (item statistics before and after the move on source and target; it’s only available when status is Completed). A quick command to see the folders and their properties where the number of items from source are different from the ones on target: $stats.Report.MailboxVerification | where { $_.Source.Count -ne $_.Target.Count }
  • .SourceMailboxBeforeMove.Props together with .TargetMailUserBeforeMove.Props (for example, in onboarding scenario: on-prem mailbox properties and Office 365 mail user properties before the move; only available when status is Completed)
  • .TargetMailboxAfterMove.Props together with .SourceMailUserAfterMove.Props (in the same example, in onboarding scenario: on-prem mail user properties and Office 365 mailbox properties after move; only available when status is Completed)
  • .SourceMailboxSize (the size of the source mailbox)
  • .TargetMailboxSize (the size of the target mailbox)
  • .SourceArchiveMailboxSize (the size of the source archive mailbox)
  • .TargetArchiveMailboxSize (the size of the target archive mailbox)
  • .SourceThrottles  (shows reason for why/if a move was throttled on the source side and  for how long)
  • .TargetThrottles (shows reason for why/if a move was throttled on the target side and for how long)

Using MRS Explorer

If you are not super skilled with PowerShell and would like to choose a more user-friendly interface to analyze the move report, you can use the MRS Explorer utility (please note that this is not an officially supported tool).

You will have to download the script located here.

1. After you have downloaded MRS_Explorer.ps1 script to your local drive, run it from any PowerShell client as shown below:

getmigreports05.jpg

2. From the interface that pops up, you can import one of the XML migrations reports that you have already saved on your machine or you can connect directly to Exchange Online by selection the option “Query Exchange”.

getmigreports06.jpg

3. Once the report has been imported, you can view the details of each property from the migration report. We can view more insight by expanding the "Report" tree, for example the details of SessionStatistics:

getmigreports07.jpg

4. We can also see the information about Data Consistency Score for example:

getmigreports08.jpg

This concludes part 2 of this blog series. Onto failed migrations next!

Special thanks to the army of migration specialists that reviewed and contributed to this post: Angus Leeming, William Rall, Brad Hughes, Chris Boonham, Ben Winzenz,  Cristian Dimofte, Nicu Simion, Nino Bilic, Timothy Heeney.

Mirela Buruiana

4 Comments
Occasional Contributor

Thank you so much for this interesting article! It's so useful to see all this information. 

Microsoft

@diecknet , thank you for your feedback. Glad you like it. There is more to come, the next parts will be focusing more on troubleshooting.

Contributor

@Mirela_Buru  This is really a quite helpful post, but unfortunately most errors I am currently dealing with are those with "fail to find the recipient ExchangeGUID of a specific ComponentShared mailbox".

 

Is there any chance this will be automatically fixed at some time in the future? It is quite annoying to open a support case every time.

Luckily I am now always contacting the same support engineer, so he already knows what do to and the issue is fixed in 24-48 hours.

 

PS: Maybe you can also explain in more detail why this is happening and maybe "how to avoid" such cases. I have the feeling it is related to TEAMS when it is enabled for a user, even before there is a mailbox or a mail-user object for that same user in Exchange Online. Maybe I am wrong, but this would explain it for some of our cases we had in the past at different customers.

 

Microsoft

@Sascha Schmatz , Engineering team has already created a fix for the Multiple Shard Mailboxes issue so we expect this to be fixed soon for everyone.
Nothing can be done from your side to prevent this issue. ComponentShared mailboxes are indeed mailboxes that store information related to other Office 365 workloads like Teams. The actual problem is that we provision multiple such mailboxes for same service request.