Set up the Azure Application Insights spoke

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 2 minutes de lecture
  • 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.

    Avant de commencer

    • 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.

    Avant de commencer

    Role required: admin

    Procédure

    1. Log in to https://portal.azure.com/.
    2. Select App registrations.
    3. Select New registration.
    4. Fill the form.
      Tableau 1. OAuth application details
      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.

    Avant de commencer

    Role required: admin.

    Procédure

    1. Log in to your ServiceNow instance.
    2. Navigate to All > Process Automation > Workflow Studio.
    3. Select Integrations.
    4. Select Connections.
    5. In the Search all connections field, search the Microsoft Azure Application Insights connection alias record.
      Remarque :
      The Outbound tab is enabled by default. Or else, toggle to enable it.
    6. On the Microsoft Azure Application Insights connection alias tile, select View Details.
    7. Select Configure.
    8. Fill the form.
      Tableau 2. Microsoft Azure Application Insights connection alias
      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: https://login.microsoftonline.com/{tenant ID}/oauth2/v2.0/authorize.
      Token URL 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.
      Token Revocation URL 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.
      Remarque :
      This field isn't mandatory.
      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.
    9. Select 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.