Integrate Azure Monitor as an authenticated data source
Summarize
Summary of Integrate Azure Monitor as an authenticated data source
This guide explains how to integrate Microsoft Azure Monitor with ServiceNow Event Management by configuring Azure Monitor as an authenticated data source. This integration allows Azure Monitor alert messages to be securely ingested into ServiceNow’s AI Platform, enabling centralized event management and improved operational visibility.
Show less
The integration supports two authentication methods—OAuth and basic webhook authentication—allowing organizations to choose the security level that best fits their environment.
Key Features
- Authenticated Event Collection: Event Management authenticates Azure Monitor alert messages using either OAuth tokens or basic webhook authentication, then extracts event details to populate relevant fields in ServiceNow.
- Event Rules and Field Mappings: Out-of-the-box event rules manage all Azure Monitor events, and field mappings translate Azure resource types to ServiceNow configuration item (CI) types, which can be customized as needed.
- Severity Mapping: Azure alert severities are mapped to corresponding ServiceNow event severities, ensuring consistent prioritization and response workflows.
- Azure Monitor Bi-directional Connector: Enables synchronization of alert state changes from ServiceNow back to the Azure Portal, supporting comprehensive two-way integration.
- Azure Issue Integration: Aggregates related alerts into unified operational problems within ServiceNow for more effective incident management and faster problem resolution.
Essential Prerequisites
- The ServiceNow user associated with the integration must have the
evtmgmtintegrationrole. - The Event Management Connectors plugin must be installed on the ServiceNow AI Platform instance.
- Azure Cloud Discovery must be performed to ensure alerts are properly linked to configuration items within ServiceNow.
Authentication Options
- OAuth Authentication: Uses Azure Monitor V1 or V2 access tokens for enterprise-grade security.
- Basic Webhook Authentication: Provides standard authentication without Azure AD dependency, suitable for smaller or distributed teams like SRE or DevOps.
Additional Integration Methods
- REST API Key Token: Enables secure and automated data exchange using REST APIs for enhanced operational efficiency.
Benefits for ServiceNow Customers
- Centralize Azure Monitor alerts within ServiceNow for streamlined event and incident management.
- Leverage standardized authentication methods to secure data ingestion while accommodating different organizational needs.
- Use configurable event rules and field mappings to tailor alert processing to your environment.
- Enable bi-directional communication to keep Azure Portal and ServiceNow environments synchronized.
- Improve incident response by consolidating related alerts into unified Azure Issues for better tracking and resolution.
Integrate Microsoft Azure with Event Management by adding the Azure Monitor as an authenticated data source.
- Authenticates the Azure Monitor alert message with the relevant ServiceNow user, using OAuth configuration or a standard webhook.
- Extracts information from the original Azure Monitor alert message to populate required event fields and inserts the event into the ServiceNow AI Platform database.
- Captures specified content in the Additional Information field of the event form.
What authentication is used
- OAuth authentication: Provides enterprise-grade authentication to keep your enterprise environment safe. Authentication is performed using Azure Monitor V1 or V2 access tokens. For more information, see Integrate Azure Monitor with OAuth authentication.
- Basic webhook authentication: Provides a basic standard of authentication, without the need for Azure Active Directory. This authentication can be especially useful for distributed small teams, such as SRE or DevOps teams. For more information, see Integrate Azure Monitor with basic authentication.
What to know before you begin
You can use your integrated Azure Monitor as a data source only after you have verified the following:
- For both methods of authentication, the relevant ServiceNow sys_user is assigned the evt_mgmt_integration role.
- The Event Management Connectors plugin is installed in the ServiceNow AI Platform instance. You can download the plugin from the ServiceNow Store website.
- Azure Cloud Discovery must be performed to ensure that the created alerts are bound to the configuration items in the ServiceNow AI Platform. For more information, see Discovery for Microsoft Azure Cloud.
Event Rules and Event Field mappings
These event rules and event field mappings are provided with the base system:
| Module | Description |
|---|---|
| Event Rules | Azure Monitor: A general event rule to handle all Azure Monitor events. |
| Event Field Mappings | Azure Monitor - ci_type: To map ci_type of events based on resourceType field. A base set of mapping pairs are provided. |
If you want to send alert state changes on the ServiceNow instance from the ServiceNow alerts to the Azure Portal, you need to enable the Azure Monitor Bi-directional connector. For more information, see Configure Azure Monitor Bi-directional connector.
Severity mapping from Azure severity to ServiceNow event severity
| Azure severity condition | ServiceNow event severity |
|---|---|
| When an Azure alert monitorCondition is Fired | |
| Azure Sev0 | ServiceNow Critical (severity "1") |
| Azure Sev1 | ServiceNow Major (severity "2") |
| Azure Sev2 and Sev3 | ServiceNow Warning (severity "4") |
| Azure Sev4 | ServiceNow OK (severity "5") |
| When an Azure alert monitorCondition is resolved | |
| Any Azure severity | ServiceNow CLEAR (severity "0") |