Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Using the 'x-ms-mail-application' email header, identify the flow that sent a particular email

We have occasional situations where a user might receive an automated email sent by a Power Automate cloud flow. However, time has gone by and they need to contact the flow owner so that they can recommend some changes.


Since we are using Exchange Online and mandating use of the Office 365 Outlook connector to send email, we know (from this doc: that the "x-ms-mail-application" header will be attached to the email message and will have a workflow identifier. However, this ID is a hex value and we are unable to correlate that to the GUID flow ID by using powershell cmdlets such as "Get-AdminFlow -FlowName <workflowID>".


Does anyone know of a way to correlate the workflow hex value found in the mail header, with an actual flow ID that we can query in Power Platform??

Frequent Visitor

For example, I created a test flow to send me an email.  Here is an excerpt of the received message headers...

x-ms-mail-application: Microsoft Power Automate; User-Agent:
 azure-logic-apps/1.0 (workflow 8c4dcde469d34838b5dfc40a6b80c5ff; version
 08585868315292362315) microsoft-flow/1.0


The mail header above shows a workflow identifier of "8c4dcde469d34838b5dfc40a6b80c5ff".

The actual flow Name/ID is a GUID value of "7f07b36d-4473-4a17-8507-66048e3f2e55".

Helper I
Helper I



I am having the same problem...
I was wondering if there is another way to check.

Have you found a solution to this?
I have a similar/related topic.

Helper I
Helper I

Hi. @FloEnd 

No, I haven't found a better way yet.

Frequent Visitor

No luck so far

Helper I
Helper I


When I verified this a few days ago, it had been improved to be controlled by Power Automate's Flow ID!



My apologies. My answer was about the case of limiting by transport rules.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,717)