Table of Contents
- When the built-in voice notification is enough, and when it is not
- What you need
- Step 1 — Create a channel that rings
- Step 2 — Add a webhook action to an action group
- Step 3 — Attach the action group to the rules that deserve a call
- Step 4 — Know what the payload really looks like
- Step 5 — Decide what rings
- Step 6 — Give resolutions a quieter door
- Test it before you trust it
- Limits that matter during an incident
- What this setup does not give you
- Troubleshooting
- Frequently asked questions
- Can Azure Monitor call my phone natively?
- Do I need a Logic App or an Azure Function?
- Will an Azure alert break through Do Not Disturb?
- Does it work for Service Health and Resource Health alerts?
- Can I call different people for different rules?
- What about several subscriptions?
- Wrap-up
- Related
Azure Monitor can place a voice call, but only to numbers in the countries on Microsoft's supported list, and no more than one call every five minutes per number. If your country is missing, the call has to ring through an app rather than a phone line, or you want every Sev0 to ring like an incoming call, the shortest path is a webhook action in an action group, pointed at an Echobell calling channel, with the common alert schema turned on.
This guide covers the action group, the fields Azure actually sends, a condition that rings only for fired Sev0 and Sev1 alerts, a quieter channel for resolutions, and the Azure-side settings that decide how often your phone goes off.
When the built-in voice notification is enough, and when it is not
An action group can email, text, push to the Azure mobile app or call a phone number. If you live in a supported country and one robocall per incident is what you want, use it. It is the simplest option.
It stops being enough when:
- Your country is not on the list. Voice is offered in a few dozen countries. Poland, Turkey, Vietnam, Indonesia, Thailand and most of Latin America outside Brazil, Chile and Mexico are not among them, and in some supported countries (Japan, India and Italy included) the call comes from a US number. Microsoft's own workaround is a webhook to a third-party calling service.
- Two alerts fire close together. In production, a number receives no more than one voice call every five minutes. The second alert in the same window does not ring.
- The call is a voice reading. You hear the alert, then it is gone. Nothing stays on your phone to look at after you hang up.
- The Azure mobile app push is an ordinary notification. It shows on the lock screen; it does not ring.
A webhook action, on the other hand, posts a structured JSON document for every alert to any public HTTPS endpoint. That is all Echobell needs.
What you need
- An Azure subscription with at least one alert rule, or a resource you want to alert on
- Permission to create action groups (Monitoring Contributor, or Contributor on the resource group)
- Echobell installed (App Store / Google Play)
- Ten minutes
Nothing in your subscription has to accept inbound traffic. Azure makes the outbound request.
Step 1 — Create a channel that rings
In Echobell, create a channel and set its notification type to Calling. A calling channel behaves like an incoming call rather than a push, so it takes over the screen and rings. Under iOS Focus Mode or Do Not Disturb it rings only if your Focus settings allow calls through.
Open the channel's Advanced Settings and turn on Custom Template. The common alert schema puts the fields you need under data.essentials, so the templates read nested fields:
Title: {{data.essentials.severity}} {{data.essentials.monitorCondition}}: {{data.essentials.alertRule}}
Body: {{data.essentials.description}}
Resource: {{data.essentials.configurationItems[0]}}
Fired: {{data.essentials.firedDateTime}}
Add a condition so only newly fired Sev0 and Sev1 alerts ring:
data.essentials.monitorCondition == "Fired" && (data.essentials.severity == "Sev0" || data.essentials.severity == "Sev1")
Copy the channel's webhook URL from the channel detail view:
https://hook.echobell.one/t/<channel-token>
Step 2 — Add a webhook action to an action group
- In the Azure portal, open Monitor → Alerts → Action groups and click Create
- Pick the subscription and resource group, and leave the region on Global
- Action group name:
ag-echobell-call; Display name:echobell(12 characters at most) - On the Actions tab, choose Webhook as the action type and name it
echobell-call - Paste your Echobell URL into URI
- Set Enable the common alert schema to Yes
- Click OK, then Review + create
Choose Webhook, not Secure webhook. The secure variant authenticates with a Microsoft Entra ID token and needs an app registration on the receiving side; Echobell authenticates by the secret token in the URL instead, so treat that URL like a password.
Do not skip the common schema toggle. Without it, metric, log search and activity log alerts each send a different JSON shape, and the templates above would only work for one of them.
The same action group from the Azure CLI:
az monitor action-group create \
--name ag-echobell-call \
--resource-group rg-monitoring \
--short-name echobell \
--action webhook echobell-call "$ECHOBELL_WEBHOOK_URL" usecommonalertschema
Or in Bicep, with the URL passed in as a secure parameter rather than committed:
@secure()
param echobellWebhookUrl string
resource echobellCall 'Microsoft.Insights/actionGroups@2021-09-01' = {
name: 'ag-echobell-call'
location: 'Global'
properties: {
groupShortName: 'echobell'
enabled: true
webhookReceivers: [
{
name: 'echobell-call'
serviceUri: echobellWebhookUrl
useCommonAlertSchema: true
}
]
}
}
Step 3 — Attach the action group to the rules that deserve a call
Open an alert rule, go to the Actions tab, and select ag-echobell-call. A rule can use up to five action groups, so keep your existing email or Teams group alongside it.
Be picky here. A call for "production API availability below 99%" or "database storage above 95%" rings rarely enough that you will still pick up. Leave "CPU above 70% for five minutes" on email.
Two settings on the rule shape what reaches your phone:
- Severity. The rule's severity, Sev0 (critical) to Sev4 (verbose), is what the Echobell condition filters on. Set it deliberately on every rule you attach: the condition from Step 1 ignores Sev2 to Sev4.
- State. Metric alerts are stateful by default: they fire once, then send a second notification with
monitorCondition: "Resolved"when the condition clears. Log search alerts are stateful only if Automatically resolve alerts is checked; otherwise they fire on every evaluation that matches, which can mean a call every few minutes. Mute actions stops a stateless log search rule from notifying again for a period after it fires.
Step 4 — Know what the payload really looks like
With the common schema on, every alert arrives in the same envelope. Trimmed to the fields you are likely to use, a fired metric alert looks like this:
{
"schemaId": "azureMonitorCommonAlertSchema",
"data": {
"essentials": {
"alertId": "/subscriptions/<subscription-id>/providers/Microsoft.AlertsManagement/alerts/<alert-guid>",
"alertRule": "prod-api-availability",
"severity": "Sev1",
"signalType": "Metric",
"monitorCondition": "Fired",
"monitoringService": "Platform",
"alertTargetIDs": [
"/subscriptions/<subscription-id>/resourcegroups/rg-prod/providers/microsoft.web/sites/prod-api"
],
"configurationItems": ["prod-api"],
"firedDateTime": "2026-11-27T02:14:08.112Z",
"description": "Availability below 99%. Check the latest deployment slot swap first.",
"essentialsVersion": "1.0",
"alertContextVersion": "1.0"
},
"alertContext": {
"conditionType": "SingleResourceMultipleMetricCriteria",
"condition": {
"windowSize": "PT5M",
"allOf": [
{
"metricName": "Http5xx",
"operator": "GreaterThan",
"threshold": "50",
"timeAggregation": "Total",
"metricValue": 183
}
]
}
},
"customProperties": {
"runbook": "https://wiki.example.com/runbooks/prod-api"
}
}
}
Things worth knowing before you edit a template:
- Everything is under
data.{{alertRule}}renders empty;{{data.essentials.alertRule}}does not. monitorConditionisFiredorResolved. That single field is what the condition relies on. Activity log alerts, including Service Health and Resource Health, never resolve: they always arrive asFired.severityis a string. Compare it with"Sev0","Sev1"and so on, not with numbers.descriptionis yours. Whatever you type in the rule's description box arrives here. A one-line instruction ("Check the latest deployment slot swap first") is more useful on a ringing phone than a metric name.alertContextchanges with the alert type. A metric alert carriescondition.allOf[0].metricValue; a log search alert carries a query and links; an activity log alert carries the event. Keep templates onessentialsand usealertContextonly on channels that receive one type of alert.- There is no stable portal link field.
investigationLinkrequires preview registration, andalertIdis a resource ID, not a URL. Put a runbook or dashboard URL in the rule's Custom properties (on the Actions tab), and set the channel's link template to it:
{{data.customProperties.runbook}}
Step 5 — Decide what rings
Most of the filtering already happened when you chose which rules get the action group. Echobell's channel condition handles the rest. The Sev0-or-Sev1 condition from Step 1 is the usual choice; these are the common variations.
| Goal | Condition |
|---|---|
| Ring only for Sev0 | data.essentials.monitorCondition == "Fired" && data.essentials.severity == "Sev0" |
| Ring for every fired alert | data.essentials.monitorCondition == "Fired" |
| Ring only for one resource | data.essentials.monitorCondition == "Fired" && data.essentials.configurationItems[0] == "prod-api" |
| Ring only for one team's rules | data.essentials.monitorCondition == "Fired" && data.customProperties.team == "payments" |
| Ring only overnight (00:00–07:00 UTC) | data.essentials.monitorCondition == "Fired" && hour < 7 |
Echobell has no "contains" operator, so match exact values. A custom property such as team: payments, added on each rule, filters more reliably than parsing resource IDs. It filters; it does not route: each webhook URL always triggers the same Echobell channel, so a property cannot send an alert to someone else's channel.
Echobell's time variables are in UTC, so convert from your own timezone first. The conditions reference lists every variable.
Step 6 — Give resolutions a quieter door
A resolved alert is good news worth seeing, not worth a ring. Create a second Echobell channel of type Time Sensitive (or normal) with the same templates and no condition, add it as a second webhook action in the same action group, and you get both. The title template already reads "Sev1 Resolved: prod-api-availability".
| Echobell channel | Condition | Channel type | Behaviour |
|---|---|---|---|
azure-call | Fired, Sev0 or Sev1 | Calling | Rings like an incoming call |
azure-log | none | Time Sensitive or Normal | Every fired and resolved alert, without ringing |
Test it before you trust it
Test the Echobell side first. Post a payload shaped like Azure's:
curl -X POST https://hook.echobell.one/t/<channel-token> \
-H 'Content-Type: application/json' \
-d '{"schemaId":"azureMonitorCommonAlertSchema","data":{"essentials":{"alertRule":"Manual test","severity":"Sev1","monitorCondition":"Fired","configurationItems":["test-resource"],"description":"Testing the Echobell path"}}}'
Then test the Azure side. Open the action group and click Test, pick a sample type such as Metric alert - static threshold, select the webhook action and run it. Check the sample's severity and monitorCondition in the result: if the sample is Sev3 or Resolved, the condition will correctly stay quiet, and the azure-log channel is where it shows up. Azure allows two test notifications every five minutes per action group.
For a full end-to-end test, create a throwaway metric alert rule at Sev1 with a threshold you are already above, for example VM Percentage CPU greater than 1, attach ag-echobell-call, wait for it to fire, then delete the rule.
If the curl rings and the real alert does not, the problem is on the Azure side: the rule does not use the action group, the severity is not Sev0 or Sev1, the common schema is off, or the URI was copied wrong.
Limits that matter during an incident
- Azure retries some failures, not all. If Echobell answers
408,429,503or504, Azure retries up to five times over about 75 seconds. If every retry fails, the action group stops calling that endpoint for 15 minutes. - 120 requests per minute per token. Past that the trigger answers
429withRATE_LIMIT_EXCEEDED. One rule rarely comes close, but a multi-resource rule that fires for fifty VMs at once can, which is another reason to keep the calling channel on a short list. - Azure's own caps. An alert rule sends at most 100 notifications every five minutes per region, and a subscription 300 per minute per region.
- 1 MiB body. Echobell rejects trigger bodies over 1 MiB with HTTP 413. Common-schema alerts are capped at 256 KB, so this does not come up.
- 1500 bytes of notification body. Longer renders are truncated. Keep rule descriptions short, and put the runbook in a custom property rather than in the description.
What this setup does not give you
- No acknowledgement. Answering the call does not change the alert's user response in Azure. Mark it Acknowledged or Closed in the portal.
- No escalation or rotation. Everyone subscribed to the channel is called; nobody is called next.
- No deduplication beyond Azure's state. A stateless log search rule fires on every matching evaluation, and each one can ring. Turn on Automatically resolve alerts or Mute actions on the rule.
If those are dealbreakers, you want a full on-call platform. If what you need is "ring me when a Sev0 fires", this is one action group and one channel.
Troubleshooting
The alert fired but nothing arrived. Open the fired alert in Monitor → Alerts and check its history for the action group. Make sure the rule lists ag-echobell-call and that the URI is the full Echobell URL, token included.
The notification arrived but did not ring. The channel type is not Calling, or your phone's Focus settings do not allow calls through. Check the channel and your Focus configuration.
The notification is blank. Either the template reads top-level fields (use {{data.essentials.alertRule}}, not {{alertRule}}), or the common alert schema is off on the webhook action.
Nothing rings, but the quiet channel gets everything. The severity on the rule is not Sev0 or Sev1. Change the rule's severity or the condition.
It rings every few minutes. A log search rule is stateless. Check Automatically resolve alerts, or set Mute actions.
Nothing arrives for 15 minutes after a failure. Azure suspends a webhook after its retries fail. Fix the cause and wait for the window to pass.
Frequently asked questions
Can Azure Monitor call my phone natively?
Yes, in supported countries. The action group voice notification calls a phone number, limited to one call every five minutes per number in production. If your country code is not offered in the portal, voice is not available there, and Microsoft suggests a webhook to a third-party calling service.
Do I need a Logic App or an Azure Function?
No. The webhook action posts the alert to the Echobell URL directly, and Echobell templates read the common schema as it is. A Logic App is only needed when the receiver expects a different schema.
Will an Azure alert break through Do Not Disturb?
Only if it arrives as a call-style alert. A calling-type Echobell channel behaves like an incoming call, which iOS Focus Mode and Do Not Disturb let through when your Focus settings allow calls. An email or an ordinary push does not. Turn on Retry Failed Call as well: with Allow Repeated Calls on in your Focus settings, a second call within three minutes can ring.
Does it work for Service Health and Resource Health alerts?
Yes, with one change. They are activity log alerts, which have no severity setting and arrive as Sev4, so the Sev0/Sev1 condition from Step 1 drops them. Give them their own action group, with its region set to Global, pointing at a calling channel whose condition is only data.essentials.monitorCondition == "Fired". They never resolve, so that channel never hears about a resolution.
Can I call different people for different rules?
Yes. Create one Echobell channel per audience, add each channel's URL as a webhook action in its own action group, and attach each action group to the rules that audience owns. There is no acknowledgement, so everyone subscribed with "calling" is called.
What about several subscriptions?
An action group lives in one subscription, but the same Echobell URL works in all of them. Create the action group in each subscription, or deploy it with the Bicep above as part of each subscription's baseline.
Wrap-up
The path is four parts: a calling channel with a Fired and Sev0/Sev1 condition, a webhook action with the common alert schema on, a short list of rules that deserve a call, and a real test before you rely on it. The rest is about keeping that list short enough that a ring still means something a month from now.
Download Echobell for iPhone or get it on Google Play, then point your most important alert rule at it.