Configure OAuth application in Microsoft Azure

task australia Updated Mar 12, 2026 1 min read configure-oauth-application-in-microsoft-azure.md
Raw file servicenow.com

Create an OAuth application in Microsoft Azure to verify and authorize connection requests from your ServiceNow instance.

Before you begin

Role required: admin

Access to Microsoft Azure portal to create an OAuth application.

Procedure

  1. Register an application on Microsoft Azure.

    1. Log in to https://portal.azure.com/.

    2. Select App registrations.

      [Omitted image "MS-sharepoint-spoke-app-reg-button.png"] Alt text: App registration button.

    3. On the App registrations page, select + New registration.

    4. Fill the form.

      Field Description
      Name Custom name of the OAuth application that you are creating.
      Supported account types Accounts the tenant in Microsoft Azure AD directory supports.
      Redirect URI The redirect URL to your ServiceNow instance that requests connection to Microsoft SharePoint online. From the Select a platform list, select Web and enter your ServiceNow instance URL in the format https://<instance-name>.service-now.com/oauth_redirect.do.

      [Omitted image "ms-exchng-ol-redirect-url.png"] Alt text: Add Redirect URL.

    5. Select Register.

      The OAuth app is registered.

  2. To get the application ID, from the OAuth application page, copy the Application (client) ID.

    [Omitted image "MS-sharepoint-copy-client-ID.png"] Alt text: Application Client ID.

    You need the Application (client) ID when you set up the connection record for Microsoft SharePoint Graph.

  3. Get the client secret.

    1. On the OAuth application page, select Certificates & secrets.

      [Omitted image "MS-sharepoint-certificates-and-secrets.png"] Alt text: Certificates & secrets tab.

    2. Select + New client secret.

      [Omitted image "MS-sharepoint-add-a-secret-button.png"] Alt text: New client secret button.

    3. Set up the client secret.

      [Omitted image "MS-sharepoint-client-secret-details.png"] Alt text: Client secret details.

      • Description: A contextual description of the client secret.
      • Expires: Time limit after which the client secret is invalid. Note: You need the client secret when you set up the connection record for Microsoft SharePoint Graph.
    4. Select Add.

      The Client secret is generated.

    5. Copy the secret and store at a secure place.

      [Omitted image "MS-sharepoint-client-secret-copy.png"] Alt text: Client secret copy button.

Search documentation
Search document titles and file paths on the australia branch