Set up the Microsoft Azure Resource Management spoke

Integrate the ServiceNow instance and the Microsoft Azure Resource Management by configuring the Microsoft Azure Resource Management connection record on your ServiceNow instance.

Before you begin

  • Request a Integration Hub subscription.
  • Create a custom OAuth application on the Microsoft Azure portal.
  • Activate the Microsoft Azure Resource Management spoke.
  • Role required: admin

Register Microsoft Azure Resource Management as 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/.
  2. Select App registrations.
  3. Select New registration.
  4. Fill the form.
    Table 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 Resource Management.
    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 Resource Management is registered as an OAuth provider and the information required to set up the connection record is available.

Create connection record

Integrate the ServiceNow instance and the Microsoft Azure Resource Management by configuring the Microsoft Azure Resource Management connection record on your ServiceNow instance.

Before you begin

Role required: admin.

Procedure

  1. Log in to your ServiceNow instance.
  2. Navigate to All > Process Automation > Workflow Studio.
  3. Select the Integrations tab.
  4. Select Connections.
  5. In the Search all connections field, search the Microsoft Azure Resource Management connection alias record.
    Note: The Outbound tab is enabled by default. Or else, toggle to enable it.
  6. On the Microsoft Azure Resource Management connection alias tile, select View Details.
  7. Select Configure.
  8. Fill the form.
  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.