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

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.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,789)