Tuesday, 26 March 2019

How to extract and analyze the errors from the hybrid migration report using PowerShell

Found this article, whilst trying to figure out what mailbox items were causing issues with a migration from on-premises to Office 365.

How to extract and analyze the errors from the hybrid migration report using PowerShell

Command Examples:
Get-MoveRequestStatistics -IncludeReport -Diagnostic verbose | Export-CliXml .\move_report.xml

$r=Import-Clixml .\move_report.xml

$i=0;$r.report.Failures | foreach { $_ | Select-Object @{name="index";expression={$i}},failuretype,Message,timestamp;$i++} | ft 

$r.Report.Failures[4]

$r.Report.Failures| select -last 2

Teams Tracing/Logging

This post is to outline the logging/tracing items for a MS Teams environment, most of the tracing will be from the Teams Client/Web App/etc....