cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
robmatesick
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: https://docs.microsoft.com/en-us/power-platform/admin/block-forwarded-email-from-power-automate#bloc...) 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??

6 REPLIES 6
robmatesick
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".

komesuke
Helper I
Helper I

Hello.

 

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.

komesuke
Helper I
Helper I

Hi. @FloEnd 

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

robmatesick
Frequent Visitor

No luck so far

komesuke
Helper I
Helper I

Hi.

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

 

PS

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

Helpful resources

Announcements
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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (4,110)