How to Fix Custom Message Trace Errors in Exchange Online
Question details
Administrators are unable to successfully run custom message trace queries in the Exchange admin center due to system errors.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Attempting to track email delivery or run a custom message trace query through the web-based Exchange admin center.
- Observed behavior
- The custom message trace query fails and returns an error message, which may be caused by temporary service issues, browser conflicts, or invalid request parameters.
Verify that your Microsoft 365 account has the necessary administrator permissions (such as Organization Management) to access the Exchange admin center and run message traces.
Run Message Trace via Exchange Online PowerShell
Use PowerShell to bypass potential browser issues or web-interface glitches when tracking messages.
Often, errors in the Exchange admin center are tied to caching issues or localized web interface bugs. Running the trace directly through PowerShell provides a more reliable connection to the Exchange backend.
Before using command-line tools, attempt to run the trace in a completely different web browser or in an Incognito/InPrivate window to rule out browser cache issues.
Open PowerShell as an administrator on your computer and use the 'Connect-ExchangeOnline' command to authenticate with your administrator credentials.
Run the 'Get-MessageTrace' cmdlet with your required parameters (such as SenderAddress or StartDate) to retrieve your email delivery data without relying on the web portal.

Escalate to Microsoft Support
If the error persists across interfaces, it indicates a backend service degradation requiring Microsoft intervention.
Boost Your Productivity with WPS Office
While managing Exchange Online requires Microsoft administration tools, your everyday document editing doesn't require a costly subscription. WPS Office provides a free, powerful, and lightweight alternative to Microsoft Office for writing reports, analyzing data, and preparing presentations.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install WPS Office: Run the downloaded installation file and follow the simple on-screen prompts to set up the software.
- 3. Open and Edit Documents: Launch WPS Office to immediately start creating new documents or editing your existing Microsoft Office files.

Frequently Asked Questions
What is a message trace in Exchange Online?
A message trace is an administrative tool in Exchange Online that allows you to follow email messages as they travel through your organization. It helps determine if an email was received, rejected, deferred, or successfully delivered.
Why does my custom message trace keep failing?
Failures can occur due to corrupted browser caches, overly complex or invalid search parameters in your custom query, or temporary backend service outages on Microsoft's Exchange servers.
Do I need special permissions to use the Get-MessageTrace command?
Yes, to run message trace commands in Exchange Online PowerShell, you must be assigned specific administrative roles in Microsoft 365, such as Organization Management, Compliance Management, or Security Administrator.




