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??
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".
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.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
If you are a small business ISV/Reseller, share your thoughts with our research team.