Sometimes my Azure Logic Apps are sending emails internally, both for the happy path and for exceptions. Toon had a great post, Navigate directly to the Logic Apps run details | Your Azure Coach, explaining how to create a direct link to the Azure Logic App run. The idea is that you could easily check out the details and correct any issues. I’d like to add to his post the exact formula you can use to include those links either in a log, or within the email. It is easier than creating the whole resource ID, because every Logic App includes that detail in a built-in function.
The code you can use to create a link directly to the Azure Logic App run:
For the record, the workflow() method returns the following: