Share via

export message trace report to csv file

Anonymous
2015-11-25T05:10:55+00:00

i am trying to get a message trace report for e mails sent within my domains, i have about 20 of them on my o365 tenant

using the message trace i can get that by searching without defining send or recipient for the past 7 days for example, how can i export this data on a csv file for example, so i can see how mail os going internally, if i try to use a costume period so i can revive the report by e mail it asks me to define a recipient sender or message id which i don't want to because i need to see for all

Microsoft 365 and Office | Subscription, account, billing | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-11-25T07:48:10+00:00

Hi Nightrider1981,

To export the message trace result into .CSV file, please follow the steps below:

1. Connect to Exchange online using PowerShell.

2. Use the cmdlet Get-MessageTraceto retrieve the result, then use the PowerShell export command “>” to export them.

E.g. Get-MessageTrace -SenderAddress *** Email address is removed for privacy *** -StartDate 06/13/2012 -EndDate 06/15/2012 | FL > D:\report.csv.

Note: If you are not an admin of your Office 365 organization, please contact the global admin of your organization to run the PowerShell command above.

Please let me know if you need further assistance.

Best regards,

Mouran

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful