web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get flagged emails in ...
Power Automate
Answered

Get flagged emails in Automate

(0) ShareShare
ReportReport
Posted on by 87

Is it possible for a flow wo get all flagged emails, and unmark them a flagged?

 

Best R, Thomas

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at

    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.

    notflagged.png 

  • sega2 Profile Picture
    87 on at

    Thanks appreciated.

  • dagrenzer Profile Picture
    9 on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard