---
sourceDocument: Xanadu Employee Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/employee-service-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Set up OAuth connection with Microsoft Exchange Online

# Set up OAuth connection with Microsoft Exchange Online {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Register your Microsoft Exchange Online with ServiceNow instance for
OAuth authorization.

## Before you begin

Ensure that the application scope is set to Microsoft Exchange Online Spoke. Otherwise, do the following:

1. Select the Application scope icon (![Application scope.]()) on the top-right corner of your Employee Center homepage.
2. In the drop- down, select the option consisting Application scope:.
3. In the filter navigator, search and select Microsoft Exchange Online Spoke.
4. Refresh the page.
{#setup-connectivity-with-msexchange-for-calendar-sync__ol_q1s_nnx_byb}  
Ensure that you performed the following steps:

* [Configure Microsoft Azure in normal mode](https://servicenow-prod.fluidtopics.net/X2DoitpcLoNF8Wn4B9nEGg "Set up a normal mode authentication with Microsoft Azure to connect Microsoft Outlook with Workplace Calendar Synchronization.")
* Configured resources Microsoft Exchange Online in the calendar. For more information, refer to <https://learn.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-resource-mailboxes>.
* [Create a connection with Microsoft Exchange Online spoke](https://servicenow-prod.fluidtopics.net/ZTT6R3ZvW8UW6JzwEfX8pg "Connect to the Microsoft Exchange Online spoke by creating a connection.")
{#setup-connectivity-with-msexchange-for-calendar-sync__ul_sn4_j2y_byb}

Role required: admin

## Procedure

1. Navigate to AllSystem OAuthApplication Registry.
2. Select Microsoft Exchange Online_clientCredentials
3. On the form, fill in the fields with the specified details.  
   {#setup-connectivity-with-msexchange-for-calendar-sync__table_rfn_dqc_btb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Unique name to identify the record, for example, Microsoft Exchange for Sync. |
   | Client ID | Client ID created during the app authentication in Microsoft Azure. |
   | Client Secret | The password you generated when creating the app in Microsoft Azure. |
   | Default Grant Type | Grant type used to establish the token. Select Client Credentials. |
   | Authorization URL | OAuth authorization code endpoint. Enter <kbd class="ph userinput">https://login.microsoftonline.com/&lt;tenant_id&gt;/oauth2/v2.0/authorize</kbd>. |
   | Token URL | OAuth server token endpoint. Enter <kbd class="ph userinput">https://login.microsoftonline.com/&lt;tenant_id&gt;/oauth2/v2.0/token</kbd>. |
   | Redirect URL | OAuth callback endpoint. The URL is automatically filled as <kbd class="ph userinput">https://&lt;instance-name&gt;.service-now.com/oauth_redirect.do</kbd>. |
   [Table 1. Third-party OAuth Provider form]

   {#setup-connectivity-with-msexchange-for-calendar-sync__table_rfn_dqc_btb}
4. Right-click in the form header and select Save.  
   A system-generated OAuth entity profile is created and displayed in the OAuth Entity Profiles related list. For example, <kbd class="ph userinput">Microsoft Exchange Online default_profile</kbd>.

## Result

The OAuth registration is added for Microsoft Exchange Online.

## What to do next

1. Depending on whether you want to use the default alias or you want to create your own alias, do one of the following:
   * To use default alias: [Configure Connection and credential alias for Microsoft Exchange Online using the default credentials and connections](https://servicenow-prod.fluidtopics.net/yYy82mLEADUWv_~S_jvoBw "Establish connection and credential alias for Microsoft Exchange Online so that you can synchronize reservations. Configure the default credentials and connections. Ensure that the values for the connection and credentials alias are set as specified.")
   * To create your own alias: [Create your own connection and credential alias for Microsoft Exchange Online](https://servicenow-prod.fluidtopics.net/5dV80yVv_miKVqRKLloREw "Configure your own connection and credential alias for Microsoft Exchange Online if you do not want to use the default connection and credential aliases provided by the application.")

   {#setup-connectivity-with-msexchange-for-calendar-sync__ul_szj_jvj_2yb}[Create a connection with Microsoft Exchange Online spoke](https://servicenow-prod.fluidtopics.net/ZTT6R3ZvW8UW6JzwEfX8pg "Connect to the Microsoft Exchange Online spoke by creating a connection.")
2. [Configure Microsoft Exchange Online calendar provider](https://servicenow-prod.fluidtopics.net/fkRj7ZdE7Xx6LtCY4qDIKw "Configure Microsoft Exchange Online as a calendar provider in normal mode to synchronize reservations.")
{#setup-connectivity-with-msexchange-for-calendar-sync__ol_cz2_1xz_byb}.
**Previous topic:** [Create a connection with Microsoft Exchange Online spoke](https://servicenow-prod.fluidtopics.net/ZTT6R3ZvW8UW6JzwEfX8pg "Connect to the Microsoft Exchange Online spoke by creating a connection.")  
**Next topic:** [Configure Connection and credential alias for Microsoft Exchange Online using the default credentials and connections](https://servicenow-prod.fluidtopics.net/yYy82mLEADUWv_~S_jvoBw "Establish connection and credential alias for Microsoft Exchange Online so that you can synchronize reservations. Configure the default credentials and connections. Ensure that the values for the connection and credentials alias are set as specified.")

*[\>]: and then


