How to create an extended message trace report in Office 365
You would like to generate an extended message trace report in a CSV file, e.g. for diagnostic purposes.
There are various types of message traces you can run but, for diagnostic purposes, you should prepare an extended message trace report because it contains the most comprehensive information about mail flow.
Exchange Online allows you to view message traces online or generate CSV reports with extended message trace. Extended message traces in the CSV format are particularly useful for diagnostic purposes. To learn how to generate them in Microsoft 365 (Office 365), follow the guidelines below.
- Log in to the Exchange admin center.
- Go to Mail flow > Message trace > Custom queries > Start a trace (Fig. 1.) to open a pane where you can customize a new message trace job.
- To be able to generate the extended message trace report, you need to narrow down the trace results to at least a sender, a recipient, or a message ID (see Fig. 2.). Of course, you can provide more senders or recipients or define both senders and recipients if you wish.
- Next, define a time range for your message trace. You can specify time range by using either the slider (see Fig. 2.) or special controls (see Fig. 3.) available after clicking Custom time range:
- If you use the slider, the time range you set is relative to the current date.
- When using the Custom time range controls, you can set an absolute time range where the start date and the end date are defined precisely.
- Now, you can use the filtering options to narrow down the messages that will be included in the report.
If you would like to create a trace report for a specific message, use the Message ID filter. Learn how to find the Message-ID of an email
- Finally, choose Extended report as the report type (Fig. 4.). Once you are ready, click Next at the bottom.
In the case of the Enhanced summary and Extended reports, the last 24 hours of message trace data might not be included.
- In the last step of the wizard, you can change the title of your report as well as specify the email address which a notification will be send to once your report is ready. To finally add the message trace job for execution, click the Prepare report button (Fig. 5.).
You can check the status of your message trace report completion by going to the Downloadable reports tab. Here, the Status column will show the current status of all the message trace jobs you’ve added (Fig. 6.).
Keep in mind that depending on the number of emails that need to be processed, concurrent traces, etc., it may take up to several hours for a message trace report to be generated.