---
sourceDocument: Australia IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/it-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Create credential records for the Microsoft Exchange Online spoke

# Create credential records for the Microsoft Exchange Online spoke {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Authorize the Microsoft Exchange Online spoke actions by creating credential records for the application registered in the Microsoft Azure portal. The Microsoft Exchange Online connection and credential alias uses these
credentials to authorize actions.

## Before you begin

Role required: admin.

## Procedure

1. Navigate to AllConnections \& CredentialsCredentials.
2. Click New.  
   The system displays the message, What type of Credentials would you like to create?
3. Select OAuth 2.0 Credentials.
4. On the form, fill in the fields.  
   {#create-credential-records-for-the-microsoft-exchange-online-spoke__table_wng_1yg_2hb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to identify the record. For example, <kbd class="ph userinput">Exchange_Online_Credentials</kbd>. |
   | Active | Option to use the credential record. |
   | OAuth Entity Profile | OAuth profile created during the registration of Microsoft Exchange Online spoke as an OAuth provider with Default Grant Type as Authorization Code. For example, <kbd class="ph userinput">Microsoft Exchange Online</kbd>. |
   | Applies to | MID Servers that can use this credential. For example, select All MID Servers. |
   | Order | Order that the credentials are used. For example, enter <kbd class="ph userinput">100</kbd>. |
   [Table 1. OAuth 2.0 Credentials form]

   {#create-credential-records-for-the-microsoft-exchange-online-spoke__table_wng_1yg_2hb}
5. Right-click the form header and click Save.
6. To generate the OAuth token, click the Get OAuth Token related link.
7. Navigate to Connections \& CredentialsCredentials.
8. Click New.  
   The system displays the message, What type of Credentials would you like to create?
9. Select OAuth 2.0 Credentials.
10. On the form, fill in the fields.  
    {#create-credential-records-for-the-microsoft-exchange-online-spoke__table_rw3_lld_qnb__entry__2}

    | Field | Description |
    |-|-|
    | Name | Name to identify the record. For example, <kbd class="ph userinput">Exchange_Online_Credentials_clientCred</kbd>. |
    | Active | Option to use the credential record. |
    | OAuth Entity Profile | OAuth profile created during the registration of Microsoft Exchange Online spoke as an OAuth provider with Default Grant Type as Client Credentials. For example, <kbd class="ph userinput">Microsoft Exchange Online_clientCredentials default_profile</kbd>. |
    | Applies to | MID Servers that can use this credential. For example, select All MID Servers. |
    | Order | Order that the credentials are used. For example, enter <kbd class="ph userinput">100</kbd>. |
    [Table 2. OAuth 2.0 Credentials form]

    {#create-credential-records-for-the-microsoft-exchange-online-spoke__table_rw3_lld_qnb}
11. Right-click the form header and click Save.
12. To generate the OAuth token, click the Get OAuth Token related link.
{#create-credential-records-for-the-microsoft-exchange-online-spoke__steps_izt_24w_cjb}

## Result

The credential records for the Microsoft Exchange Online spoke are created.

*[\>]: and then


