Hello everyone and welcome to my blog. In this blog I will show how you can search for emails within a specific date range in Outlook.
The technique described shall work if you want to query for emails within a specified date range from
- Outlook client
- Microsoft Graph API’s
- Outlook connector in Power Automate.
Through my blog I share interesting tips and discuss on latest releases of Microsoft.NET technologies, Dynamics 365 and Power Platform, SharePoint and Client scripting libraries. Please subscribe to my blog to stay updated.
Let’s take this scenario. I want to search for all emails I received between 1st Sep 2023 to 10 Sep 2023
To query for this, my search term should be the following.
received:<from date in yyyy/MM/dd>..<to date in yyyy/MM/dd>
So in my scenario, the query boiled down to below.
received:2023/09/01..2023/09/10
You can use this query in the outlook client search bar to fetch your desired result
How can I end a topic that does not have a little bit of Power Platform in it?
In Office 365 Outlook connector in Power Automate, there is an action ‘Get emails (V3)‘. Using that connector, if you want to query for emails within a specified range, you can use the same query in the Search Query parameter of the connector.
Awesome isn’t it? And hope you learnt something new.
I hope this helped. If you have liked the post and if this post has helped you, please subscribe to my blog.
Debajit Dutta
Discover more from Debajit's Power Apps & Dynamics 365 Blog
Subscribe to get the latest posts sent to your email.