Microsoft retires legacy Get-MessageTrace in Exchange Online; V2 cmdlets now generally available
Microsoft has begun deprecating the legacy Message Trace interface in the Exchange Admin Center and the Get-MessageTrace and Get-MessageTraceDetail cmdlets, with full removal expected over time. The replacement, Get-MessageTraceV2 and Get-MessageTraceDetailV2, is now generally available and offers a modernized interface with more detailed delivery status filters. The new cmdlets drop -Page and -PageSize pagination, instead relying on StartingRecipientAddress and EndDate, and limit each query to a 10-day window within a 90-day history. Output timestamps are in UTC, and administrators are advised to use MessageTraceId where possible. Scripts still using the old cmdlets should be updated before removal to avoid failures during incidents.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in