Configuring Alerts, Action Groups and Alert Processing Rules
This lesson explains alert rule types, action groups and alert processing rules, and how they work together.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish between metric, log search, activity log, Service Health and Resource Health alerts.
- Describe the notifications and actions in an action group.
- Explain how alert processing rules suppress or route alerts.
Alert rules
An alert rule defines the scope (one or more resources, a resource group or a subscription), the condition (a signal and logic), the actions (action groups) and details such as severity (Sev 0 Critical to Sev 4 Verbose) and whether the alert resolves automatically. The signal types are summarized below.
| Alert type | Signal | Example |
|---|---|---|
| Metric | A platform or custom metric against a static or dynamic threshold | Percentage CPU above 85% for 15 minutes |
| Log search | A KQL query run on a schedule | More than 5 failed sign-ins per user in 10 minutes |
| Activity log | An activity log event | A VM or network security group is deleted |
| Service Health | Azure incidents, planned maintenance, advisories for chosen services and regions | An outage affects App Service in West Europe |
| Resource Health | Health status changes of specific resources | A VM becomes unavailable |
| Smart detection | Application Insights anomalies | Failure rate anomalies |
Metric alerts can use dynamic thresholds, which learn the metric's normal pattern and fire on deviations, and can monitor many resources of the same type in a region with one rule, with separate alerts per resource. Fired alerts move through the states New, Acknowledged and Closed, and stateful metric alerts resolve automatically when the condition is no longer met.
Which alert type?
Action groups
An action group is a reusable collection of notifications and actions that many alert rules, budgets and Advisor alerts can share. Notifications are email, SMS, Azure mobile app push, voice call and email Azure Resource Manager role (for example every Owner of the subscription). Actions are Automation runbooks, Azure Functions, Logic Apps, webhooks (including secure webhooks with Microsoft Entra authentication), ITSM connectors and Event Hubs. Rate limits apply, for example to SMS and voice notifications, and the common alert schema gives every action the same payload format.
What an action group can do
Alert processing rules
An alert processing rule acts on alerts after they fire, at a scope such as a subscription or resource group, optionally filtered by alert rule, severity, resource type or other properties, and optionally limited to a schedule (once, daily, weekly). It has one of two effects. Suppression stops action groups from running, for example during a planned maintenance window or outside business hours; the alerts still fire and appear in the portal. Apply action group adds an action group to every matching alert, so that one rule sends all Sev 0 and Sev 1 alerts in a subscription to the on-call team without editing each alert rule.
The following diagram shows an alert processing rule's suppression window over a weekly patching period.

Routing and silencing alerts
A maintenance window
Patching restarts all VMs in resource group RG-Prod every Saturday from 22:00 to 02:00, which triggers dozens of availability alerts and pages the on-call engineer. Alerts must still be recorded, but no notifications should be sent during the window, and nobody should need to remember to change anything each week. What should you configure?
Create an alert processing rule scoped to RG-Prod with the suppression action and a weekly recurring schedule on Saturdays from 22:00 to 02:00. Alerts still fire and are visible, but action groups do not run during the window. Disabling the alert rules would need manual work each week and would lose the alert records.
Do alerts still fire while an alert processing rule suppresses them?
Show answer
Yes. They fire and appear in the portal, but their action groups do not run.
Exam Tips
Remember for the exam
- Alert rules detect; action groups respond; alert processing rules adjust fired alerts.
- Suppress notifications during maintenance with a scheduled alert processing rule.
- Azure outages affecting your services: Service Health alerts.
- Dynamic thresholds learn normal behaviour instead of using a fixed value.