Commands › Exchange Online
Get-MessageTraceDetail
> [!NOTE] > This cmdlet is replaced by the Get-MessageTraceDetailV2 cmdlet and will eventually be deprecated. Use the Get-MessageTraceDetail cmdlet to view the message trace event details for a specific message. These detailed results are returned less quickly than the Get-MessageTrace results.
Quick start script
# Get-MessageTraceDetail — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Get-MessageTraceDetail -MessageTraceId <Guid> -RecipientAddress <String> | Format-List
# 3. Export for evidence / drift tracking
Get-MessageTraceDetail | Export-Clixml .\MessageTraceDetail-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-MessageTraceDetail -MessageTraceId <Guid> -RecipientAddress <String>
[-Action <MultiValuedProperty>]
[-EndDate <DateTime>]
[-Event <MultiValuedProperty>]
[-MessageId <String>]
[-Page <Int32>]
[-PageSize <Int32>]
[-ProbeTag <String>]
[-SenderAddress <String>]
[-StartDate <DateTime>]
[<CommonParameters>]
Parameters (11)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.