You are configuring an Azure Monitor Action Group to route alert notifications to a secured custom webhook endpoint. The webhook endpoint is secured using Microsoft Entra ID. You need to ensure that the Action Group can successfully authenticate and send alerts to the webhook. Which configuration should you use for the Webhook receiver in the Action Group?
- AStore the webhook client secret in Azure Key Vault, configure a system-assigned managed identity for the Action Group, and grant it GET permission on the secret.
- Enable Microsoft Entra ID authentication in the Webhook receiver settings, and provide the Tenant ID and client Application ID (Object ID) of the target application.Answer
- CAdd the Application Insights connection string to the Custom Headers section of the Webhook receiver to authenticate the payload.
- DInclude an explicit KQL time-range parameter in the Webhook URI query string to handle token expiration during alert evaluation.
Answer
Enable Microsoft Entra ID authentication in the Webhook receiver settings, and provide the Tenant ID and client Application ID (Object ID) of the target application.
To secure an Action Group Webhook receiver using Microsoft Entra ID, you must enable the Active Directory authorization option and provide the Tenant ID and target Object ID. When the alert fires, Azure Monitor retrieves an Entra ID token and includes it in the Authorization header of the webhook request.
Step-by-Step Solution
Key Concept
Action Group Webhook authentication using Microsoft Entra ID