Announcements
Is it possible for a flow wo get all flagged emails, and unmark them a flagged?
Best R, Thomas
Hi @sega2,
You could use the Graph API to retrieve flagged e-mails via an HTTP action. This does require the setup of an app registration in Azure AD and the correction Graph API permission. Lee Ford has written a good blog about this app reg setup: https://www.lee-ford.co.uk/using-flow-with-graph-api/
The Graph API query you could use would be:
https://graph.microsoft.com/v1.0/me/messages?select=flag&filter=flag/flagStatus eq 'flagged'
This is based on the List messages method:
https://docs.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0&tabs=http
For each item in that response you could update the flagged status by using the flag a email action.
Thanks appreciated.
As an alternative to using the Graph API via an HTTP action, I found you can also now do this with the Office 365 Outlook "Get Emails (V3)" action by entering isFlagged:true as the search query parameter.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 589
Valantis 328
David_MA 284 Super User 2026 Season 1