Open In App

Microsoft Azure – Alerts as Notifications on Phone

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

In this article, we will learn how to set up Azure alerts as push notifications on your mobile device. So, in the Azure Portal go to Azure Monitor. And there to the right, you can see that it says set up alert and actions. You need to click on the create alert.

So here, you will select the target resource. For condition, there’s a variety of conditions that you can choose for this specific alert.

For demonstration, we are going to share activity log alerts and something very simple like stopping the web app. The status you care about when it has started and leave the event empty because it’s for anyone that has actually stopped the app.

Action groups are basically your delivery mechanism for your Azure alert. If you want it saved in that resource group and the name of the action is going to be push notification. Action type, you have a variety of options, but the article is focused on push notifications.

Here, you will select Azure push notifications and you are going to input your actual email. It’s very important that you input the email that you actually use to log into the Azure mobile app, so you can get this Azure alert delivered there.

For alert details, you are going to put some stuff, the production web app is off. “Someone has turned off your web app”. Just something very straightforward. And you will enable the rule upon creation. So, click create.

So, basically, you did is you created an alert when a web app that you care about is stopped, you are going to receive a push notification. And you could also set up to receive a push notification, an email, many things at the same time. And it can be any kind of alert, not just activity log alerts.

And so now, go on to your phone and make sure that you have push notifications enabled, so you will go to the settings page and the toggle is on.

You can actually have that specific web app favorited because you are keeping an eye on it. So, just stop it just to make sure that this is actually going to give me the push notification. You have it front and center because you set it up in your favorites. And you can favorite things from resources and metric charts just to keep an eye on them. Everything that you care about is front and center as soon as you open the app. So, you can see that the push notifications have popped into your screen. And it will navigate you to the notifications view, and you can see the details for this, such as the history of when it has fired, like severity, and actually the resource alert. It also has the target alert here.

So, going into the target, which was a production web app, you can take corrective action from your mobile app itself. So, for this, it will be starting the web app. Now, you have it running.

So, you create an alert, a regular actual alert, set it as a push notification, see that push notification in your device which by now we saw it in the context of there, but also you could be in your home screen, you could do whatever. And, then from that notification figure out what happened and take an action. It’s not just activity log alerts. It can be metric alerts, application insights, log analytics, a wide variety of alerts.


Last Updated : 30 Mar, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads