You are configuring an Azure Monitor action group to trigger a custom webhook endpoint. The endpoint is secured by Microsoft Entra ID. You register a Microsoft Entra application named App1 in your tenant to represent the webhook receiver API. In the action group Webhook configuration, you select the option to 'Use Azure AD authentication'. To enable the action group to successfully authenticate and obtain an OAuth token for the webhook, which identifier must you input in the Object ID field of the Webhook configuration?
- The Object ID of the service principal representing App1 in the tenantCevap
- BThe Object ID of the App1 application registration
- CThe Application (client) ID of App1
- DThe Client secret generated for App1
Cevap
The Object ID of the service principal representing App1 in the tenant
The correct answer is the Object ID of the service principal representing the application in the tenant. When configuring Microsoft Entra ID authentication for a Webhook action, Azure Monitor requests a token for the audience identified by the Service Principal Object ID (Enterprise Application object ID), not the Application Registration object ID.
Adım Adım Çözüm
Anahtar Kavram
Azure Monitor Action Group Webhook authentication requires the Service Principal Object ID rather than the App Registration Object ID.