# Azure Monitor

Follow the steps below to configure a service so as to extract its related alert data from Azure monitor.

Squadcast will then process this information to create incidents for this service as per your preferences.

### Using Azure Monitor as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

<figure><img src="/files/ej4AI9zpOyFu5NZJCbwC" alt="How to configure Azure Monitor integration in Squadcast" width="563"><figcaption></figcaption></figure>

2\. Select **Azure Monitor.** Copy the displayed **Webhook URL** to [configure](#create-squadcast-webhook-in-azure) it within **Azure Monitor**. Finish by clicking **Add Alert Source** -> **Done**.

<figure><img src="/files/CW6uuipmighjrKtrJlPk" alt="Steps to add Azure Monitor integration to a service in Squadcast" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %} <mark style="color:orange;">**Important**</mark>**:**

When an alert source turns <mark style="color:green;">Active</mark>, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.\
\
An Alert Source is <mark style="color:green;">active</mark> if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create Squadcast Webhook in Azure

Login to your Azure account select your virtual machine. Under **Monitoring**, go to **Alerts**.

Then go to **Manage Actions** → **Add Action groups** → **Creatre action group** (Test grp or Squadcast webhook alerts) by selecting **Action type** as **Webhook**. Paste the squadcast webhook url from the previous step and make sure **Enable the common alert schema** toggle switch is turned on.

<figure><img src="/files/ahWzQPBCwhNPrrl0elAR" alt="Creating Squadcast Webhook in Azure: Configure webhook action group with Squadcast URL in Azure Alerts under Monitoring for virtual machine" width="563"><figcaption></figcaption></figure>

Go back to **Alerts** window and click **New Alert**. Specify Resource, Condition and under **Actions** select the action group (Test grp or Squadcast webhook alerts) you just made. Provide alert rule Name, Description and **Create Alert**.

<figure><img src="/files/dFCkizieJfSy01Ax7iks" alt="Creating Azure Alert with Squadcast Webhook: Specify resource, condition, and select the action group. Provide name, description, and create the alert" width="563"><figcaption></figcaption></figure>

Now whenever an alert is triggered by Azure Monitor, an incident will be created automatically in Squadcast.

The Azure Monitor integration comes with an **Auto-Resolve** feature, meaning that whenever the alerts gets resolved in Azure, the incident will automatically get resolved in Squadcast as well.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.incidents.cloud.solarwinds.com/integrations/alert-source-integrations-native/azure_monitor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
