microsoft / microsoft/CSS-Exchange
M365/MDO/ResendFailedMail.ps1 not working cause of deprecation
Open
@iserrano76 is already working on this.
Since Mar 30, 2026.
Issue
- Dominant language
- PowerShell
- Stars
- 1.3k
- Forks
- 395
- Avg merge
- 14h 7m
- Merged PRs (30d)
- 5
Description
Describe the issue
M365/MDO/ResendFailedMail.ps1
The Script uses Get-MessageTrace which has been deprecated.
Running it shows
Expected behavior
Successfully running the script.
Script Output
Error: ||Get-MessageTrace will start deprecating on September 1st, 2025. Please refer to: https://learn.microsoft.com/en-us/powershell/module/exchange/get-messagetracev2?view=exchange-ps to switch to Get-MessageTraceV2..Exception.Message
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.