Skip to content

Conversation

@Canthv0
Copy link
Contributor

@Canthv0 Canthv0 commented Feb 25, 2025

Issue:
Starting to build a script like healthchecker but for EXO message tracking logs.

Reason:
Need to help engineers and customers that have little experience with MTLs determine what they mean.

@Canthv0 Canthv0 requested a review from a team as a code owner February 25, 2025 21:10
@dpaulson45
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45
Copy link
Member

@Canthv0 address pipeline issues

@Canthv0
Copy link
Contributor Author

Canthv0 commented Feb 28, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Canthv0
Copy link
Contributor Author

Canthv0 commented Feb 28, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Canthv0
Copy link
Contributor Author

Canthv0 commented Feb 28, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Canthv0
Copy link
Contributor Author

Canthv0 commented Mar 5, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dpaulson45
Copy link
Member

@Canthv0 build pipeline failed.

@Canthv0
Copy link
Contributor Author

Canthv0 commented Mar 11, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Canthv0
Copy link
Contributor Author

Canthv0 commented Mar 11, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Comment on lines +307 to +308
$OriginalInformationPreference = $InformationPreference
$InformationPreference = 'Continue'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do this correctly by doing a try finally block, so this always gets set back correctly.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Initial implementation of a new PowerShell script for analyzing Exchange Online Message Tracking Logs (MTL). This tool helps engineers and customers with limited MTL experience understand message delivery issues by parsing detailed tracking logs and generating readable reports.

  • Adds Get-EXOMTLReport.ps1 script with functions to import, validate, and analyze EXO MTL data
  • Includes documentation explaining usage with Start-HistoricalSearch for EXO log collection
  • Adds navigation entry and spell check updates to support the new tool

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
mkdocs.yml Adds navigation entry for Get-EXOMTLReport documentation
docs/Transport/Get-EXOMTLReport.md Documentation explaining script usage, parameters, and examples
Transport/Get-EXOMTLReport.ps1 Main PowerShell script implementing MTL parsing and reporting functionality
.build/cspell-words.txt Updates spell check dictionary with new terms used in the script

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +48 to +53
.\Get-EXOMTLReport -MTLPath C:\temp\MyMtl.csv
```
Generates a report to the default path from the file C:\Temp\MyMtl.csv.

``` PowerShell
.\Measure-EmailDelayInMTL -MTLPath C:\temp\LargeMTL.csv -ReportPath C:\output -MessageID "<[email protected]>"
Copy link

Copilot AI Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter name in the example is 'MTLPath' but the script defines it as 'MTLFile'. This inconsistency could confuse users.

Suggested change
.\Get-EXOMTLReport -MTLPath C:\temp\MyMtl.csv
```
Generates a report to the default path from the file C:\Temp\MyMtl.csv.
``` PowerShell
.\Measure-EmailDelayInMTL -MTLPath C:\temp\LargeMTL.csv -ReportPath C:\output -MessageID "<[email protected]>"
.\Get-EXOMTLReport -MTLFile C:\temp\MyMtl.csv

Generates a report to the default path from the file C:\Temp\MyMtl.csv.

.\Measure-EmailDelayInMTL -MTLFile C:\temp\LargeMTL.csv -ReportPath C:\output -MessageID "<[email protected]>"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants