Set up the Azure Application Insights spoke
Create a connection alias on your ServiceNow instance. The alias enables your ServiceNow instance to request OAuth tokens from the Microsoft Azure Application Insights and enables the authenticate its requests.
Before you begin
- Request an Integration Hub subscription.
- Activate the Microsoft Azure Application Insights spoke.
- Role required: admin
Register Microsoft Azure Application Insights as an OAuth provider
Create an OAuth application on Microsoft Azure that authenticates requests for OAuth tokens from your ServiceNow instance.
Before you begin
Role required: admin
Procedure
-
Log in to https://portal.azure.com/.
-
Select App registrations.
-
Select New registration.
-
Fill the form.
Field Description Name Name of the OAuth application. Supported account types Option to specify who can use the OAuth application that you're creating to access Microsoft Azure Blob Storage. Redirect URI (optional) Option to provide the redirect URI. The redirect URI format is https://<instance-name>.service-now.com/oauth_redirect.do. From the Select a platform list, select Web. -
Select Register.
The OAuth application is registered.
-
Copy the values from the following fields under the Essentials heading:
- Application (client) ID
- Directory (tenant) ID
-
In the Client credentials field, select Add a certificate or secret.
-
Under the Client secrets heading, select New client secret.
-
In the Add a client secret window, do the following actions.
-
In the Description field, enter a description of the client secret.
-
In the Expires field, enter the expiry period of the client secret.
-
Select Add.
The client secret is generated.
-
-
Under the Value heading, copy and store the client secret at a secure place.
Microsoft Azure Application Insights is registered as an OAuth provider and the information required to set up the connection record is available.
Create a connection alias record
Provide the details in the connection alias form. Your ServiceNow instance uses these details to request OAuth tokens from Microsoft Azure Application Insights.
Before you begin
Role required: admin.
Procedure
-
Navigate to All > Process Automation > Workflow Studio.
-
Click the Integrations tab.
-
Under Connections, toggle and enable the Outbound connections.
Note: The Outbound tab is enabled by default. Or else, toggle to enable it.
-
Locate the alias for Microsoft Azure Application Insights and click View Details.
-
To configure the default connection and credential alias record that is shipped along with the Microsoft Azure Application Insights spoke, click View Details.
[Omitted image "app-insight-connection.png"] Alt text: Connection for the Microsoft Azure Application Insights spoke
-
To manage more than one Microsoft Azure Application Insights spoke connection records, you should create a new child alias record by clicking Add Connection. For more information about using multiple connections, see Supporting multiple connections. If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
[Omitted image "app-insight-connection-conf.png"] Alt text: Initial connection configuration.
-
-
On the form, fill in these fields:
|
Field |
Description |
|---|---|
|
Connection Name |
Name of the connection alias record. |
|
Authorization URL |
URL that your ServiceNow instance uses to request OAuth tokens from the Microsoft Azure Application Insights. The URL must in the following format: |
|
Token URL |
URL that your ServiceNow instance uses to get the OAuth token. The URL must in the following format: |
|
Token Revocation URL |
URL that your ServiceNow instance uses to cancel the OAuth token. The URL must in the following format: |
|
Client ID |
Unique ID of the OAuth application that you created on Microsoft Azure Application Insights. The Microsoft Azure Application Insights uses this ID to authenticate your ServiceNow instance requests. |
|
Client Secret |
The secret that Microsoft Azure Application Insights uses to authenticate your ServiceNow instance requests. You generate the client secret when you create the OAuth application on Microsoft Azure Application Insights. |
|
Redirect URL |
Specific address where the third-party application sends your ServiceNow instance back after the request is authenticated. You must set the redirect URL when you create the OAuth application on Microsoft Azure Application Insights. |
-
Click Configure and Get OAuth Token.
You're required to log in to https://portal.azure.com/ before the OAuth token is provided.
On successful authentication, the request is authenticated and the OAuth token is available.
---
title: Set up the Azure Application Insights spoke
description: Create a connection alias on your ServiceNow instance. The alias enables your ServiceNow instance to request OAuth tokens from the Microsoft Azure Application Insights and enables the authenticate its requests.Create an OAuth application on Microsoft Azure that authenticates requests for OAuth tokens from your ServiceNow instance.Provide the details in the connection alias form. Your ServiceNow instance uses these details to request OAuth tokens from Microsoft Azure Application Insights.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/integrate-applications/integration-hub/setup-msazure-app-insight.html
release: brazil
product: Integration Hub
classification: integration-hub
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 3
breadcrumb: [Microsoft Azure Application Insights Spoke, Integration Hub spokes, Build integrations, Integration Hub, Workflow Data Fabric]
---
# Set up the Azure Application Insights spoke
Create a connection alias on your ServiceNow instance. The alias enables your ServiceNow instance to request OAuth tokens from the Microsoft Azure Application Insights and enables the authenticate its requests.
## Before you begin
- Request an Integration Hub subscription.
- Activate the Microsoft Azure Application Insights spoke.
- Role required: admin
## Register Microsoft Azure Application Insights as an OAuth provider
Create an OAuth application on Microsoft Azure that authenticates requests for OAuth tokens from your ServiceNow instance.
### Before you begin
Role required: admin
### Procedure
1. Log in to [https://portal.azure.com/](https://portal.azure.com/).
2. Select **App registrations**.
3. Select **New registration**.
4. Fill the form.
|Field|Description|
|-----|-----------|
|Name|Name of the OAuth application.|
|Supported account types|Option to specify who can use the OAuth application that you're creating to access Microsoft Azure Blob Storage.|
|Redirect URI \(optional\)|Option to provide the redirect URI. The redirect URI format is https://<instance-name>.service-now.com/oauth\_redirect.do. From the Select a platform list, select **Web**.|
5. Select **Register**.
The OAuth application is registered.
6. Copy the values from the following fields under the Essentials heading:
- Application \(client\) ID
- Directory \(tenant\) ID
7. In the Client credentials field, select **Add a certificate or secret**.
8. Under the Client secrets heading, select **New client secret**.
9. In the Add a client secret window, do the following actions.
1. In the Description field, enter a description of the client secret.
2. In the Expires field, enter the expiry period of the client secret.
3. Select **Add**.
The client secret is generated.
10. Under the Value heading, copy and store the client secret at a secure place.
Microsoft Azure Application Insights is registered as an OAuth provider and the information required to set up the connection record is available.
## Create a connection alias record
Provide the details in the connection alias form. Your ServiceNow instance uses these details to request OAuth tokens from Microsoft Azure Application Insights.
### Before you begin
Role required: admin.
### Procedure
1. Navigate to **All** > **Process Automation** > **Workflow Studio**.
2. Click the **Integrations** tab.
3. Under **Connections**, toggle and enable the **Outbound** connections.
**Note:** The **Outbound** tab is enabled by default. Or else, toggle to enable it.
4. Locate the alias for Microsoft Azure Application Insights and click **View Details**.
- To configure the default connection and credential alias record that is shipped along with the Microsoft Azure Application Insights spoke, click **View Details**.
\[Omitted image "app-insight-connection.png"\] Alt text: Connection for the Microsoft Azure Application Insights spoke
- To manage more than one Microsoft Azure Application Insights spoke connection records, you should create a new child alias record by clicking **Add Connection**. For more information about using multiple connections, see [Supporting multiple connections](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/integration-hub/support-multiple-connections.md).
If you are configuring the spoke for the first time, click **Configure**. Otherwise, click **Edit**.
\[Omitted image "app-insight-connection-conf.png"\] Alt text: Initial connection configuration.
5. On the form, fill in these fields:
<table id="table_usv_xlj_zcc"><thead><tr><th>
Field
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Connection Name
</td><td>
Name of the connection alias record.
</td></tr><tr><td>
Authorization URL
</td><td>
URL that your ServiceNow instance uses to request OAuth tokens from the Microsoft Azure Application Insights. The URL must in the following format: `https://login.microsoftonline.com/{tenant ID}/oauth2/v2.0/authorize`.
</td></tr><tr><td>
Token URL
</td><td>
URL that your ServiceNow instance uses to get the OAuth token. The URL must in the following format: `https://login.microsoftonline.com/{tenant ID}/oauth2/v2.0/token`.
</td></tr><tr><td>
Token Revocation URL
</td><td>
URL that your ServiceNow instance uses to cancel the OAuth token. The URL must in the following format: `https://login.microsoftonline.com/{tenant ID}/oauth2/v2.0/revoke`.**Note:** This field isn't mandatory.
</td></tr><tr><td>
Client ID
</td><td>
Unique ID of the OAuth application that you created on Microsoft Azure Application Insights. The Microsoft Azure Application Insights uses this ID to authenticate your ServiceNow instance requests.
</td></tr><tr><td>
Client Secret
</td><td>
The secret that Microsoft Azure Application Insights uses to authenticate your ServiceNow instance requests. You generate the client secret when you create the OAuth application on Microsoft Azure Application Insights.
</td></tr><tr><td>
Redirect URL
</td><td>
Specific address where the third-party application sends your ServiceNow instance back after the request is authenticated. You must set the redirect URL when you create the OAuth application on Microsoft Azure Application Insights.
</td></tr></tbody>
</table> \[Omitted image "app-insight-connection-conf-temp.png"\] Alt text:
6. Click **Configure and Get OAuth Token**.
You're required to log in to [https://portal.azure.com/](https://portal.azure.com/) before the OAuth token is provided.
On successful authentication, the request is authenticated and the OAuth token is available.
| title | Set up the Azure Application Insights spoke |
| description | Create a connection alias on your ServiceNow instance. The alias enables your ServiceNow instance to request OAuth tokens from the Microsoft Azure Application Insights and enables the authenticate its requests.Create an OAuth application on Microsoft Azure that authenticates requests for OAuth tokens from your ServiceNow instance.Provide the details in the connection alias form. Your ServiceNow instance uses these details to request OAuth tokens from Microsoft Azure Application Insights. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/integrate-applications/integration-hub/setup-msazure-app-insight.html |
| release | brazil |
| product | Integration Hub |
| classification | integration-hub |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 3 |
| breadcrumb | Microsoft Azure Application Insights SpokeIntegration Hub spokesBuild integrationsIntegration HubWorkflow Data Fabric |