How can I set an alert notification in Azure when a web app is stopped?

Q: How can I set an alert notification in Azure when a web app is stopped?

 

You can set up alert notifications for a stopped Azure Web App by using Azure Monitor to track activity logs or health metrics.

 

Step 1: Open Azure Monitor Alerts

  1. Go to the Azure Portal .
  2. Search for and select Monitor, then click on Alerts.
  3. Select Create > Alert rule.

 

Step 2: Define the Scope

  1. Click Select scope.
  2. Filter by your subscription and resource group, then select your specific App Service Web App.
  3. Click Done.

 

Step 3: Set the Condition (Signal)

  1. Click Add condition.
  2. To track manual or unexpected stops, choose the Activity Log signal type and look for an administrative event like Stop Web App (), or choose Metric signals if you are tracking a drop in HTTP availability or health checks.
  3. Configure the logic threshold as needed, then click Apply.

 

Step 4: Create an Action Group (Notifications)

  1. Navigate to the Actions tab or click Create action group.
  2. Give the group a name and display name.
  3. Under Actions, select the notification type (such as Email/SMS/Push/Voice) and enter your contact details.
  4. Click Review + create to save the action group.

 

Step 5: Finalize and Create

  1. Go to the Details tab and name your alert rule.
  2. Select your target resource group and severity level.
  3. Click Review + create, then select Create.

 

https://learn.microsoft.com/en-us/answers/questions/1180258/proactive-crash-monitoring-e-mail-notification

https://learn.microsoft.com/en-us/azure/spring-apps/basic-standard/monitor-app-lifecycle-events

https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups



 

Comments

Popular posts from this blog

Detecting Mobile Browsers

Deployment Types in AI Foundry

AI Agents vs. Agentic AI