How Far Back Can Exchange Online Message Trace Search?
Question details
The user wants to know the maximum time range for tracking emails using Exchange Online Message Trace and why historical logs are missing after migrating from an on-premises Exchange Server.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Tracking older email messages or analyzing email routing history after migrating an organization to Exchange Online.
- Observed behavior
- Message trace does not show email tracking logs indefinitely, and logs from before the on-premises server migration are completely missing.
Verify that you have Exchange Admin Center (EAC) permissions to run message traces, and confirm the exact date your organization migrated to Exchange Online.
Search the On-Premises Exchange Server for Older Logs
Exchange Online Message Trace does not automatically import historical tracking logs from on-premises servers. You must check the original server for pre-migration data.
Message trace in the Exchange Admin Center only retains summary routing data for a limited time. Because tracking logs from your previous Exchange 2016 (or older) server are not moved to the cloud during a migration, any search for emails sent or received prior to the migration date will yield no results in Exchange Online.
Log into the Exchange Admin Center or Exchange Management Shell of your original on-premises Exchange server.
Navigate to the message tracking tools within the on-premises EAC, or execute the Get-MessageTrackingLog cmdlet in the Exchange Management Shell.
Specify the date range prior to your Exchange Online migration to locate the missing message routing records.

Run an Extended Message Trace in Exchange Online
For emails processed within the last 90 days but older than 10 days, you can request an extended historical trace directly in Exchange Online.
Contact Microsoft Support for Data Recovery
If the message data you need is older than 90 days and the on-premises server is no longer accessible, you may need to escalate the issue.
Enhance Your Productivity with WPS Office
While you troubleshoot Exchange server migrations and email tracing limitations, managing the exported CSV reports and internal documentation is crucial. WPS Office provides a lightweight, free alternative to Microsoft Office, allowing you to easily open, analyze, and format your message trace logs without an expensive subscription.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the setup file and follow the on-screen instructions to complete the fast installation process.
- 3. Open Trace Reports: Launch WPS Spreadsheet to instantly open, filter, and analyze the CSV trace reports downloaded from Exchange Online.

Frequently Asked Questions
Why can't I find emails from before our Exchange migration?
Exchange Online does not automatically import message tracking logs from on-premises servers during a migration. You must access the original server's tracking logs to view pre-migration email routing data.
What is the maximum time range for an Exchange Online Message Trace?
You can perform a quick message trace for emails processed up to 10 days ago. For emails older than 10 days, you can run an extended historical trace, which can retrieve data up to 90 days in the past.
Are message trace logs kept longer than 90 days in Microsoft 365?
No, Exchange Online automatically purges message trace data after 90 days. If you need to retain email routing data or message contents longer for compliance reasons, you should configure Microsoft 365 retention policies or use a third-party archiving solution.
How do I read an extended message trace report?
Extended message traces are generated as CSV (Comma Separated Values) files. You can open these files using spreadsheet software like Microsoft Excel or WPS Spreadsheet to filter and analyze the detailed routing events, sender IP addresses, and delivery statuses.




