Perform Message Trace

Sanjay Bhakuni - admin 145 Reputation points
2024-07-22T06:51:08.95+00:00

How to get the emails details from one external domain to one of our internal user. I am searching for last 1 year emails. How i can achieve it.

When i am running Start-HistoricalSearch it is giving me below error

Write-ErrorMessage : |System.ArgumentException|Invalid StartDate value. The StartDate can't be greater than 90 days from today.

Microsoft Exchange Online
{count} votes

1 answer

Sort by: Most helpful
  1. Xintao Qiao-MSFT 3,845 Reputation points Microsoft Vendor
    2024-07-22T08:43:12.84+00:00

    Hi, @Sanjay Bhakuni - admin

    Based on your description, I understand that you want to track emails sent from an external domain to an internal domain recipient a year ago.

    Unfortunately, mail tracking can only be tracked for a maximum of 90 days, and emails from a year ago cannot be traced.

    Microsoft official documentation also clearly states that the time frame for email tracking is 90 days.

    User's image

    More information can be found Message trace in the new EAC in Exchange Online | Microsoft Learn

    As you said, the maximum search time frame for Start-HistoricalSearch is also 90 days.

    User's image

    More information can be found Start-HistoricalSearch (ExchangePowerShell) | Microsoft Learn

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.