Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configure Microsoft SharePoint Graph connection

Configure a Microsoft SharePoint Graph connection and a connection record that enable your ServiceNow instance to integrate with the Microsoft SharePoint using the Microsoft Graph.

Before you begin

  • Request an Integration Hub subscription.
  • Activate the Microsoft SharePoint Online spoke.
  • Access to Microsoft Azure portal.
  • Create an OAuth application on Microsoft Azure portal.
  • Role required: admin.

Procedure

  1. Configure a SharePoint Graph connection by adding permissions.

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

    2. Select App registrations.

Image omitted: MS-sharepoint-spoke-app-reg-button.png
App registration button.
3.  Select **All applications** or **Owned applications**.
Image omitted: ms-sharepoint-spoke-graph-select-app.png
OAuth application selection options.
4.  In the search field, enter the name of the OAuth application you had created.

    To learn how to configure an OAuth application, see [Configure OAuth application in Microsoft Azure](configure-oauth-application-in-microsoft-azure.md).

5.  In the search results, select the name of the OAuth application you had configured.

6.  On the left panel, under the Manage heading, select API permissions.
Image omitted: MS-sharepoint-spoke-graph-api-permissions-link.png
API permissions link.
7.  Under the Configured permissions heading, select **+ Add a permission**.

8.  In the Request API permissions window, select **Microsoft Graph**.
Image omitted: MS-sharepoint-spoke-graph-ms-graph-button.png
Microsoft Graph button.
9.  Select **Delegated permissions**.

10. Under the Select permissions heading, enter `site` in the search field.

11. Expand the Sites list.
Image omitted: MS-sharepoint-spoke-graph-click-sites.png
Sites list.
12. Select `Sites.FullControl.all`, `Sites.Read.All` and `Sites.ReadWrite.All`.
Image omitted: ms-sharepoint-online-spoke-graph-site-permissions.png
Microsoft SharePoint Online spoke Graph Site permissions.
13. Under the Select permissions heading, enter `User.read` in the search field.
Image omitted: MS-SharePoint-Online-spoke-graph-user-permission.png
Microsoft SharePoint Online spoke Graph User permissions.
14. Select **Add permissions**.

    The permission is added.
Image omitted: MS-sharepoint-spoke-graph-permissions-added.png
Permissions added.
15. To grant admin consent, under the Configured permissions heading, select **Grant admin consent**.

16. Select **Yes**.

    Admin consent is mandatory if the value under the Admin consent required column for the Sites.Read.All permission is Yes.
  1. Configure the Microsoft SharePoint Graph connection record.

    1. Log in to your ServiceNow instance.

      Note: The URL of the instance and that of the instance you had provided as the redirect URL must be the same.

    2. Navigate to All > Process Automation > Workflow Studio.

    3. Select the Integrations tab.

    4. In the Search all connections field, enter Microsoft SharePoint.

      Note: The Outbound tab is selected by default. Confirm that the Outbound tab is already selected.

    5. In the Search all connections field, enter Microsoft SharePoint.

    6. In the MicrosoftSharePointGraph tile, click View Details.

Image omitted: ms-sharept-graph-alias-tile.png
View Details button on Microsoft SharePoint Graph alias.
7.  Click **Configure**.
Image omitted: MS-sharepoint-spoke-graph-configure-button.png
Configure button.
8.  On the form, fill these details.
FieldDescription
Connection NameThe name of the connection record. The default and read-only name of the first connection record is MicrosoftSharePointGraph. To provide a custom name, you must create a connection record by clicking Add connection.
Connection URLThe URL to connect to the Microsoft Graph APIs. The URL is https://graph.microsoft.com/v1.0.
OAuth Entity NameName of the OAuth application that you created. To learn how to create an OAuth app, see Configure OAuth application in Microsoft Azure.
OAuth Client IDClient ID that was generated when you created the OAuth app. To learn where to find the client ID, see Configure OAuth application in Microsoft Azure.
OAuth Client SecretClient secret that was generated when you created the OAuth app. To learn where to find the client ID, see Configure OAuth application in Microsoft Azure.
OAuth Authorization URL

The URL must be in the format: https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/authorize?response_mode=query.Tip: To find the tenant ID, do the steps.

  1. Log in to https://portal.azure.com/.
  2. Under the Manage Azure Active Directory heading, select View.

The tenant ID is available under the Basic information heading.

Image omitted: MS-sharepoint-spoke-graph-tenant-ID.png
Tenant ID.</p></td></tr><tr><td>
OAuth Token URL

The URL must be in the format: https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token.Tip: To find the tenant ID, do the steps.

  1. Log in to https://portal.azure.com/.
  2. Under the Manage Azure Active Directory heading, select View.

The tenant ID is available under the Basic information heading.

Image omitted: MS-sharepoint-spoke-graph-tenant-ID.png
Tenant ID.</p></td></tr><tr><td>
Token Revocation URL

The URL must be in the format: https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token.Tip: To find the tenant ID, do the steps.

  1. Log in to https://portal.azure.com/.
  2. Under the Manage Azure Active Directory heading, select View.

The tenant ID is available under the Basic information heading.

Image omitted: MS-sharepoint-spoke-graph-tenant-ID.png
Tenant ID.</p></td></tr><tr><td>
OAuth Redirect URL
The URL must be in the format: `https://.service-now.com/oauth_redirect.do`.
Image omitted: ms-sharept-graph-conn-form.png
Microsoft SharePoint Graph connection form.
9.  Select **Configure and Get OAuth Token**.
  1. Click Configure and Get OAuth Token.

    The connection record is created.

Image omitted: MS-sharepoint-spoke-graph-connection-created.png
Connection created.
  1. To use the Microsoft Graph action, create a record in the Tenant table (sn_sp_spoke_tenant) on your ServiceNow instance.

    Note: After you configure and get OAuth token, an application registry record is created with the details you have provided. In this application record, do not select any OAuth API Script.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.