all Technical posts

New Azure Logic Apps Template for Handling Azure Monitor Alerts

You can now create an Azure Alert handler in Azure Logic Apps by using a new template. Here's how!

Transparency and monitoring of your systems is crucial – it allows you to gain insights into what’s going on and allow you to react when things are about to go wrong.  Azure Monitor Alerts are one way to cope with that.

More than two years ago, I wrote about how you can use Azure Logic Apps to handle your Azure Alerts and this is still how I approach it to this day.

New quickstart template for Azure Logic Apps

That’s why I’ve submitted a PR with a new Azure Logic Apps template that helps you get started quickly by adding a HTTP trigger with the alert contract already specified for Azure Monitor Metric Alerts. No more excuses not to handle those alerts!

You can easily use it by creating a new Azure Logic App and select it from the template list:

It will give you a nice description of what it provides:

Once it is created, you’ll have a HTTP trigger with the official schema :

How you handle your alerts is up to you, but now you are already able to start receiving the webhook notifications.

Still using Azure Classic Alerts? Time to move it!

Are you still using Azure Classic Alerts? Those are now officially deprecated and are retiring by June 2019 so it’s time to move it! However, the alert payload has changed so if you have an alert handler already you’ll need to migrate that one as well.

One approach is to map the old format to the new one and simply call your new alert handler as mitigation until all your Classic Alerts are recreated with the new Azure Monitor Alerts.

Thanks for reading,

Tom.

Subscribe to our RSS feed

Hi there,
how can we help?

Got a project in mind?

Connect with us

Let's talk

Let's talk

Thanks, we'll be in touch soon!

Call us

Thanks, we've sent the link to your inbox

Invalid email address

Submit

Your download should start shortly!

Stay in Touch - Subscribe to Our Newsletter

Keep up to date with industry trends, events and the latest customer stories

Invalid email address

Submit

Great you’re on the list!