Trace Missing or Delayed Email in Exchange Online
Before you begin
- Applies to:Microsoft Exchange Online. The optional PowerShell path uses the V2 trace cmdlets.
- Where to start:Open the Exchange admin center with an account allowed to run message traces.
- What you need:Have the affected message's sender, recipient, and time window. For PowerShell, use an approved ExchangeOnlineManagement module. Module 3.10.0 or later requires PowerShell 7.6 or later.
Guide tools
Troubleshooting Steps
Record the identifiers and direction
Start hereCapture the sender, actual intended recipient, approximate send time in UTC, and full Internet Message-ID from the headers if available. Keep the full non-delivery report (NDR), including the enhanced SMTP status and remote response. Note whether the sender is inside the tenant and whether one or every recipient is affected.
Run a narrow message trace
Where to click
- In the Exchange admin center, go to Mail flow β Message trace.
- Select Start a trace, add the sender and recipient, choose a narrow time range, and run the search.
Start with the sender, recipient, and short UTC interval. Avoid a status filter on the first query. Multiple recipients can have different outcomes for the same message, so inspect each affected recipient separately.
Inspect the event sequence and final disposition
Where to click
- Open the matching trace row and expand Message events.
- Record the disposition, relevant rule or connector name, and any remote response.
Open the matching result. Check the recipient, timestamps, event details, and the next hop when shown. A Deliver event indicates mailbox delivery. A Send event indicates Exchange sent the message onward, so the next system may need to finish the investigation. Check the details and security disposition before treating a summary status as proof that the message reached the Inbox.
Repeat with PowerShell when you need precise filters
Sign in interactively and query a narrow window in a dedicated session. The example checks the preceding two hours. Match by MessageId, recipient, and time. To inspect one result, add a second query using the commented example with the trace GUID and recipient, then rerun it. Empty results can reflect scope, time, missing submission, or an address rewrite.
Connect-ExchangeOnline -ErrorAction Stoptry { $End = [DateTime]::UtcNow $TraceQuery = @{ StartDate = $End.AddHours(-2) EndDate = $End } Get-MessageTraceV2 @TraceQuery -ErrorAction Stop | Select-Object Received, MessageTraceId, MessageId, RecipientAddress, Status
# Run this detail query only after substituting the selected result's GUID. # Get-MessageTraceDetailV2 -MessageTraceId '<trace GUID>' -RecipientAddress '[email protected]' -ErrorAction Stop}finally { Disconnect-ExchangeOnline -Confirm:$false}Follow the evidence to the right system
For quarantine, confirm the disposition and follow the approved review process before releasing anything. For a delivered message, search the mailbox in Outlook on the web and check Junk Email and applicable mailbox rules. For a remote rejection, compare the NDR with the remote gateway log. For redirection, trace the original address and then the rewritten recipient.
Handle a trace with no matching rows
Confirm the tenant and SMTP addresses, allow for recent events to appear, and retry once with a slightly wider interval or the available Message-ID. If the senderβs gateway has no evidence of submission to Exchange Online, start there. For PowerShell V2, trace retention is 90 days and a single query covers up to 10 days.
Verify delivery with a fresh test
VerifySend one approved test with a unique subject through the same route. Record the new identifiers, verify the intended recipient and event sequence, and ask the recipient to confirm receipt. If the result still fails, pass the trace ID, recipient, UTC time, and remote response to the responsible service owner.
Decide What to Do Next
| Finding | Next action |
|---|---|
| Deliver to the mailbox | Check Junk Email, mailbox rules, and the affected mailboxβs web view. |
| 4.x.x remote response | Read the exact response and retry state. Check the named hop for a matching event. |
| 5.x.x remote response | Use the full enhanced status and remote response to identify the rejecting system. |
| Redirect or alternate recipient | Trace again using the rewritten address. |
References
Your feedback keeps these production procedures accurate and battle-tested.