---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Configure Workload Identity Federation for Microsoft Azure

# Configure Workload Identity Federation for Microsoft Azure {#ariaid-title1}

Release version: Brazil  
Updated November 5, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read  
Set up an outbound OAuth connection to Microsoft Azure that uses a KMF-signed JWT assertion instead of a stored client secret.

## Before you begin

Role required: oauth_admin (plus sn_kmf.\* roles to reference the KMF module).

Complete the setup in your Azure portal first --- the connection requires values from the app registration to create this connection. In Azure, create an app registration and add a federated credential to it, with:

* Issuer set to `https://<your-instance>.service-now.com`.
* A Subject value that matches the Subject Identifier you enter in this form.
* Audience set to `api://AzureADTokenExchange`.

{#configure-wif-azure__ul_d1m_yfw_2kc}

From the app registration Overview page, note the Directory (Tenant) ID and the Application (Client) ID.

## About this task

This task uses the Workload Identity Federation fast-configuration UI. The UI creates the underlying OAuth entity and profile records for you, so manual configuration is not required. Related records appear on the OAuth Entity,
OAuth Entity Profile, OAuth Entity Scopes, JWT Provider, and JWT Key tabs after you submit.

## Procedure

1. Navigate to AllSystem OAuthWorkload Identity Connections
2. Select New.
3. On the Which cloud provider are you connecting to? page, under Microsoft Azure, select Connect to Azure using Workload Identity Federation.
4. Fill in the form.  
   {#configure-wif-azure__table_e1m_yfw_2kc__entry__2}

   | Field | Description |
   |-|-|
   | Connection Name | A unique name for this Workload Identity connection. |
   | Application (Client) ID | The Application (Client) ID of your Azure app registration. |
   | Directory (Tenant) ID | The Directory (Tenant) ID of your Azure app registration. |
   | Subject to send in the token | The subject identifier sent in the JWT. This value must exactly match the Subject in your Azure federated credential. A mismatch causes silent authentication failure. |
   | Azure URL Override | An override for the Azure token endpoint URL. Leave empty to use the default Azure endpoint. |
   [ ]

   {#configure-wif-azure__table_e1m_yfw_2kc}
5. Select Submit.  
   Business rules automatically create the underlying OAuth entity and OAuth entity profile. The entity sends a `client_credentials` request to Azure, carrying the KMF-signed JWT as a
   `client_assertion` with `aud = api://AzureADTokenExchange`. The created records appear on the OAuth Entity and related tabs.
   Figure 1. WIF - Azure configuration example
{#configure-wif-azure__steps}

## Result

The instance can now obtain access tokens from Azure using Workload Identity Federation. Outbound consumers that reference the created OAuth entity use it automatically.

## What to do next

Verify the connection by making a test call from an outbound REST message that uses the newly created OAuth entity.

The connection uses the following related records, shown on the tabs in the form. The fast-configuration creates the OAuth records for you; use the tabs to review them and to complete the scopes and the KMF-backed JWT key. These
records hold the same configuration as a standard OAuth setup --- see the OAuth outbound documentation for full field details.
{#configure-wif-azure__table_f1m_yfw_2kc__entry__3}

| Tab | Description | What to do |
|-|-|-|
| OAuth Entity | The OAuth application registry entity created for this Azure connection. Holds the client configuration used for the `client_credentials` request to Azure. | Created automatically on submit. No action is required. Edit only to adjust advanced OAuth settings. |
| OAuth Entity Profile | The profile that defines how the instance requests tokens from Azure. Configured to present the KMF-signed JWT as a `client_assertion` with `aud = api://AzureADTokenExchange`. | Created automatically on submit. No action is required. |
| OAuth Entity Scopes | The OAuth scopes the instance requests from Azure for the target resource. | Add the scopes required for the Azure resource you intend to call. |
| JWT Provider | The JWT provider that mints the signed JWT presented to Azure. References the JWT signing key on the JWT Key tab. | Confirm the JWT provider references the KMF-backed JWT signing key. |
| JWT Key | The JWT signing key (`jwt_keystore_aliases`) used to sign the client assertion. | Verify the signing key has Key Source set to KMF Cryptographic Module. See [Configure a JWT signing key](https://www.servicenow.com/docs/tvE88Yvk9uZMK2wKkOHMaQ#configure-JWT-signing-key "Create a JSON Web Token (JWT) signing key. The key can be a certificate uploaded to the instance, or a private key managed by the Key Management Framework (KMF)."). |
[ ]

{#configure-wif-azure__table_f1m_yfw_2kc}

*[\>]: and then


