---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Register an OAuth Provider

# Register an OAuth Provider {#ariaid-title1}

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

Use the information generated during the Microsoft Azure account configuration to register an application as an OAuth provider.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllSystem OAuthApplication Registry.
2. Select New.
3. On the What kind of OAuth application screen, select Connect to a third-party OAuth Provider.
4. On the form, fill in the fields.  
   {#register-oauth-cred-flow__table_alw_kq3_gfb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Name to uniquely identify the record. |
   | Client ID | Application ID of the application that you created in Microsoft Azure. |
   | Client Secret | The client secret that you generated when you created the application in Microsoft Azure. Note: When using certificates, the Client Secret is a dummy value. |
   | OAuth API Script | OAuth API script name. For more information see, [OAuth API Script](https://servicenow-prod.fluidtopics.net/b8hhfYNNHvB_RAgu8IzVEg "Create and duplicate OAuth API script for application registry."). Note: This field is required only while using certificates. |
   | Default Grant type | Client Credentials |
   | Token URL | Token URL that you copied after configuring the Microsoft Azure account. |
   | Redirect URL | <kbd class="ph userinput">https://&lt;instance&gt;./oauth_redirect.do</kbd> Note: This URL should be the same as the URL in Microsoft Azure. |
   [Table 1. Application Registries form]

   {#register-oauth-cred-flow__table_alw_kq3_gfb}
5. Select and hold (or right-click) the form header and select Save.  
   An OAuth Entity Profile record is created.
6. In the OAuth Entity Scopes related list, add scopes to match the permissions that you defined when you configured the application.
7. Select Insert a new row.
8. Enter <kbd class="ph userinput">smtp</kbd> as the name and <kbd class="ph userinput">https://outlook.office365.com/.default</kbd> as the OAuth scope.
9. Select and hold (or right-click) the form header and select Save.
10. In the OAuth Entity Profiles embedded list, select the profile created by default.
11. In the OAuth Entity Scopes embedded list, add a new row and select the smtp scope.
12. Select Update.
{#register-oauth-cred-flow__steps_avh_tdt_lzb}

## What to do next

Use the OAuth profile to create an email account with SMTP OAuth2.0. For more information, see [Create an email account with SMTP OAuth2.0](https://servicenow-prod.fluidtopics.net/gwB5n7bJOeB9I2Tu9FIa5A "Create an email account from Microsoft Exchange Online with SMTP OAuth2.0.").

*[\>]: and then


