Set up the Azure Application Insights spoke

  • Release version: Xanadu
  • Updated August 3, 2023
  • 2 minutes to read
  • 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

    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. 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.
      Note:
      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.
      Table 1. 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.
      Note:
      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.