• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Microsoft Azure OMS

Azure OMS logo

What does Opsgenie offer Azure OMS users?

Use Opsgenie’s Azure OMS Integration to forward Azure OMS alerts to Opsgenie. Opsgenie determines the right people to notify based on on-call schedules- using email, text messages (SMS), phone calls, iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

When an alert is created in Azure OMS, it creates an alert in Opsgenie.

Add Azure OMS Integration in Opsgenie

You can add this integration from your team dashboard

If you're using Opsgenie's Free or Essentials plan, or if you’re using Opsgenie with Jira Service Management's Standard plan, you can only add this integration from your team dashboard as the Integrations page under Settings is not available in your plan.

Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only.

To do that,

  1. Go to your team’s dashboard from Teams,

  2. Select Integrations, and select Add integration.

Follow the rest of the steps to complete the integration.

  1. Go to Settings > Integrations. Search for Azure OMS and select Add

  2. Specify who is notified of Azure OMS alerts using the Responders field. Autocomplete suggestions are provided as you type.

  3. Copy the Webhook URL.

  4. Select Save Integration.

Configuration in Azure OMS

  1. In the Azure portal, click All services. In the list of resources, type Log Analytics. As you begin typing, the list filters based on your input. Select Log Analytics.

  2. Launch the OMS portal by selecting OMS Portal and on the Overview page, select Log Search.

Azure OMS portal

3. Either create a new log search query or select a saved log search.

4. Click Alert at the top of the page to open the Add Alert Rule screen.

Azure OMS alert

5. Create an alert rule with the following setting:

  • Select Yes for Webhook and No for the other actions.

6. Paste the Webhook URL into the "Webhook URL" field:

7. Select the option to include a custom JSON payload.

Note: When adding a custom parameter to the payload, make sure to follow this format:

Webhook Configuration

The above template used while configuring the webhook must be exactly the same and customizations are not currently supported. Using a different template will cause parsing issues and most probably webhook events will be discarded by the integration.

Azure OMS alert

Sample payload sent from Azure OMS

Create Alert payload:


1 2 3 4 5 6 7 8 9 10 11 12 { "alertRuleName":"§§#alertrulename§§", "alertThresholdOperator":"§§#thresholdoperator§§", "alertThresholdValue":"§§#thresholdvalue§§", "linkToSearchResults":"§§#linktosearchresults§§", "resultCount":"§§#searchresultcount§§", "searchIntervalEndtimeUtc":"§§#searchintervalendtimeutc§§", "searchIntervalInSeconds":"§§#searchinterval§§", "searchIntervalStartTimeUtc":"§§#searchintervalstarttimeutc§§", "searchQuery":"§§#searchquery§§", "workspaceID":"§§#workspaceid§§" }

Additional Help