Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up the Microsoft Azure RBAC spoke

Integrate the ServiceNow instance and Microsoft Azure RBAC using OAuth 2.0 authentication to authenticate ServiceNow requests.

Before you begin

  • Request an Integration Hub subscription.
  • Activate Microsoft Azure RBAC spoke.
  • Role required: admin.

Register an application using the Microsoft Azure portal

Provide authorization to the ServiceNow instance by registering an application in the Microsoft Azure portal.

Before you begin

Role required: Privileged Role Administrator

  1. Log in to the Microsoft Azure portal as an admin.
  2. Under Azure services, click Microsoft Entra Privileged Identity.
  3. Under Tasks, click My roles.
  4. Ensure that Privileged Role Administrator role is available and is activated.
Image omitted: rbac-role.jpg
Privileged Role Administrator is available and is activated.

About this task

Complete these steps from the Microsoft Azure portal.

Procedure

  1. Log in to the Microsoft Azure portal as an admin.

  2. Click App Registrations.

  3. Click New registration.

  4. On the form, fill in fields as per your requirement.

    For Redirect URI, specify the ServiceNow instance URL in this format: https://<ServiceNow-Instance-Name>.service-now.com/oauth_redirect.do.

Image omitted: azdevops-boards-app.png
Register an application in Microsoft Azure portal.
  1. Click Register.

    The application is created and the values of Application (client) ID and Directory (tenant) ID are displayed.

Image omitted: azdevops-boards-app-ids.png
Values of Application \(client\) ID and Directory \(tenant\) ID displayed after application creation.
  1. Copy and record the values of Application (client) ID and Directory (tenant) ID.

  2. Generate a client secret for the application.

    1. Under Manage, click Certificates & secrets.

    2. Click New client secret.

    3. On the form, enter provide a description and specify the duration after which the secret expires.

    4. Click Add.

Image omitted: azdevops-boards-app-secret.png
Create a client secret.
    The client secret is created and its value is displayed.

5.  Copy the value of client secret for later use.
Image omitted: rbac-secret.jpg
Copy the value of client secret for later use.
  1. Provide the required API permissions.

    1. Under Manage, click API permissions.

    2. Click Add a permission to add the required permissions to access the APIs.

      For information about permissions needed to perform the required actions, see the Spoke actions section here: Microsoft Azure RBAC Spoke.

Image omitted: rbac-api-perm.jpg
Add the required API permissions.
3.  Click **Grant admin consent for ServiceNow**.

    See [Quickstart: Configure a client application to access a web API](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-configure-app-access-web-apis#understanding-api-permissions-and-admin-consent-ui) for more information.

Configure a connection record for the Microsoft Azure RBAC spoke

Add and configure a Microsoft Azure RBAC spoke connection to authenticate ServiceNow requests.

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.

  4. Locate the alias for Azure RBAC and click View Details.

    • To configure the default connection and credential alias record that is shipped along with the Microsoft Azure RBAC spoke, click View Details.
Image omitted: rbac-conn-temp.jpg
Click View Details to configure the default alias.
-   To manage more than one Microsoft Azure RBAC 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](support-multiple-connections.md).
If you are configuring the spoke for the first time, click **Configure**. Otherwise, click **Edit**.
Image omitted: rbac-conn-temp-2.jpg
Click Configure if you are configuring the spoke for the first time.
  1. On the form, fill in the fields.

    FieldDescription
    Connection Information
    NameName to identify the connection record. By default, the name is Azure RBAC.
    Credential Information
    Auth URLOAuth authorization code endpoint. Enter https://login.microsoftonline.com/<Directory-ID>/oauth2/v2.0/authorize.
    Token URLOAuth server token endpoint. Enter https://login.microsoftonline.com/<Directory-ID>/oauth2/v2.0/token.
    Revoke token URLOAuth server token revocation endpoint. Enter https://login.microsoftonline.com/<Directory-ID>/oauth2/v2.0/revoke.
    OAuth Client IDApplication ID created during application registration.
    OAuth Client SecretClient secret created during application registration.
    OAuth Redirect URLOAuth callback endpoint. Enter https://<instance-name>.service-now.com/oauth_redirect.do.
Image omitted: rbac-conn-temp-3.jpg
Configure the default connection.
  1. Click Configure Connection.

Result

The spoke connection is configured and is ready to be used.