Looking for message tracking logs for one year

System Admin - Exch 60 Reputation points


We have Exchange 2019 DAG, for some requirement we are looking for email send from an account for one year, how ever by using get-messagetrackinglog command/ and from EAC we able to get logs for last month only. Kindly need the way to achieve it.


Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,391 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Hu-MSFT 855 Reputation points Microsoft Vendor


    By default the retention period of the message tracking log is 30 days, you can check your retention period by Get-TransportService | ft Name, MessageTrackingLogMaxAge command, if it is 30.00:00:00, unfortunately, I'm sorry to tell you that  you can't view the message tracking log older than 30 days.

    Here is a screenshot of the test I did on this command:A black screen with white textDescription automatically generated

    If you want to modify the retention period, you can use Set-TransportService. For example:Set-TransportService -Identity ex19 -MessageTrackingLogMaxAge "365.00:00:00"

    A screen shot of a computerDescription automatically generated

    Hope this helps!