microsoft / microsoft/CSS-Exchange

M365/MDO/ResendFailedMail.ps1 not working cause of deprecation

Open
#2,521 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.