Skip to content

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

@Theragus

Description

@Theragus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions