App Service Error 500 triggering Logic App

Rodrigo 1 Reputation point
2020-06-29T13:18:12.677+00:00

Im trying to create an alert with Logic Apps on Azure, but im not doing well...

my cenario is: I have an app service running, and I want to automate the alerts to send me a email when this app service gets an error 500.

I created an Application Insight and its working good, and now i'm trying to integrate it with an Logic App script.

Can someone help me?

Thank you.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,672 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Mike Urnun 8,756 Reputation points Microsoft Employee
    2020-06-29T20:10:59.317+00:00

    Hello @Rodrigo-5826

    If your end goal is to be notified whenever HTTP 500 errors occur in your App Service, there are multiple ways to set that up:

    Since the App Insights' built-in Alerting supports invoking webhooks, you can also use both of the above together with your Logic Apps running off of Http trigger as well. If you have more specific questions regarding implementations, just let me know and we'd be happy to provide examples.


  2. Rodrigo 1 Reputation point
    2020-07-01T14:27:19.843+00:00

    I managed to integrate the Logic App with Alert.

    My question now is how to bring the error properties in the body of the email?

    11076-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.