Microsoft Azure Monitor Action Group Integration
RunWhen requires the use of a Bearer Token when receiving data on a configured Webhook. For Microsoft Azure, a Logic App is required to proxy the Alert Group webhooks into RunWhen.
The following guides illustrate how to send Azure Monitor Alerts into a RunWhen Webhook based Workflow.
The following guides are for demonstration purposes only and should be secured appropriately for production use.
Create a RunWhen Workflow with a Webhook
View the following URL for guidance on creating a RunWhen Workflow that is initiated from a webhook, which generates a dedicated webhook URL and authorization token.
Create a Logic App for Azure Webhook Routing
Build a Microsoft Logic App that is triggered by an HTTP event (aka, the alert Webhook), and simply forwards the webhook body in an HTTP request to the RunWhen Webhook.
Create a Microsoft Monitor Azure Action Group
In order to send a webhook when an alert fires, a Microsoft Azure Monitor Action Group can be configured to send a webhook into the previously created Logic App, which will forward it to RunWhen.
Next Steps
The initial RunWhen Workflow accepts a webhook event, and for the purposes of testing, simply sends an email when it is received. The next step is to add an Azure specific CodeBundle that can parse the payload, attach an Engineering Assistant, and begin running tasks that help diagnose the webhook alert data.