JAEN

Microsoft 365

Get-MessageTrace

SafeTrace mail flow

Get-MessageTrace -SenderAddress <addr>

Traces message delivery to diagnose mail that isn't arriving.

Examples

  • Get-MessageTrace -RecipientAddress [email protected] -StartDate (Get-Date).AddDays(-1) -EndDate (Get-Date)Trace last 24h of inbound

Syntax

Get-MessageTrace -StartDate <d> -EndDate <d> [-RecipientAddress]

Before you run it

Read-only.

Used when you see

Mail not arriving (M365)
2
Trace the deliverySet addresses and time range
See the whole flow →
Checking anti-spoofing (SPF/DKIM)
3
Confirm verdicts with message trace
See the whole flow →
Mail vanishes in M365
1
Trace the message's delivery verdict
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store