Download an Office 365 Message Trace Report After a PowerShell Search
Question details
The user wants to download a completed Office 365 message trace report after creating a search with Exchange Online PowerShell.

- Product
- Exchange Online PowerShell and Exchange admin center
- Device & OS
- not provided
- Scenario
- A message trace search has been created with PowerShell, and the user needs to save the completed report locally.
- Observed behavior
- The described workflow does not provide a PowerShell cmdlet to download the completed report; the report can be downloaded from the Exchange admin center.
Make sure the message trace search has completed and that your account has permission to access message trace in the Exchange admin center. Keep the search name or relevant date range handy so you can identify the report.
Download the completed report from the Exchange admin center
Use the Exchange admin center to save a completed message trace report created through PowerShell.
Go to the Exchange admin center at admin.exchange.microsoft.com and sign in with an account that can access message trace.
In the navigation menu, select Mail flow, then Message trace.
Open the downloadable reports or trace history area and find the completed search by name or date. If it is still processing, wait for it to finish.
Select the completed report and choose Download. Save the file to a location on your device.

Review Your Downloaded Message Trace in WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar interface for working with downloaded reports. Open a message trace CSV in WPS Spreadsheets and work with Microsoft Excel formats as you move between office suites. WPS does not download reports from Exchange Online.

Frequently Asked Questions
Can PowerShell download the completed message trace report?
In the workflow described here, there is no PowerShell cmdlet for downloading the completed report. Open the Exchange admin center, go to Mail flow > Message trace, and download it from the reports or trace history area.
How long does a completed report remain available?
Availability can vary, and the message trace data retention period should not be assumed to be the report download period. Consult the current Microsoft message trace documentation and download the report when it is ready.
Why can't I find my report in the Exchange admin center?
Check Mail flow > Message trace and look in the downloadable reports or trace history area. Confirm that the search has completed, check its name or date, and make sure your account has the required message trace permissions.
Can I open a downloaded message trace report in WPS Office?
Yes. If the report is a CSV file, open WPS Spreadsheets and use Open to select the downloaded file.




