How can I query email based on Subject in Exchange Online?

EnterpriseArchitect 6,041 Reputation points
2022-10-07T05:51:54.05+00:00

Folks,

I need to be able to query the email that was sent in the past month (-30 days) with the subject "***Auto Reply:****".

How can I get the statistics as the Message trace (https://admin.exchange.microsoft.com/#/messagetrace) is not allowing me to enter the subject?

PowerShell can be used in this regard, but can only work in the past 10 days.

Thank you in advance.

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,172 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2022-10-07T06:57:13.397+00:00

    You cannot run message trace by subject. You'll have to fetch all messages and filter them client-side instead.


0 additional answers

Sort by: Most helpful

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.