---
sourceDocument: Xanadu Create Integrations with Applications
sourceDocumentLink: https://www.servicenow.com/docs/r/xanadu/integrate-applications

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Create Integrations with Applications

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Configure Microsoft SharePoint Graph connection

# Configure Microsoft SharePoint Graph connection {#ariaid-title1}

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

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.
{#configure-microsoft-sharepoint-graph-connection__ul_k2k_mph_gfaff}

## Procedure

1. Configure a SharePoint Graph connection by adding permissions.
   1. Log in to <https://portal.azure.com/>.
   2. Select App registrations.  
   3. Select All applications or Owned applications.  
   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](https://www.servicenow.com/docs/Fh0aR1go6U4vW3fpeLZJTQ "Create an OAuth application in Microsoft Azure to verify and authorize connection requests from your ServiceNow instance.").
   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.  
   7. Under the Configured permissions heading, select + Add a permission.
   8. In the Request API permissions window, select Microsoft Graph.  
   9. Select Delegated permissions.
   10. Under the Select permissions heading, enter <kbd class="ph userinput">site</kbd> in the search field.
   11. Expand the Sites list.  
   12. Select <kbd class="ph userinput">Sites.FullControl.all</kbd>, <kbd class="ph userinput">Sites.Read.All</kbd> and <kbd class="ph userinput">Sites.ReadWrite.All</kbd>.  
   13. Under the Select permissions heading, enter <kbd class="ph userinput">User.read</kbd> in the search field.  
   14. Select Add permissions.  
       The permission is added.

   15. **Optional:** To grant admin consent, under the Configured permissions heading, select Grant admin consent.
   16. **Optional:** Select Yes.  
       Admin consent is mandatory if the value under the Admin consent required column for the Sites.Read.All permission is Yes.
   {#configure-microsoft-sharepoint-graph-connection__substeps_nqp_4y5_fyb}
2. 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 AllProcess AutomationWorkflow Studio.
   3. Select the Integrations tab.
   4. In the Search all connections field, enter <kbd class="ph userinput">Microsoft SharePoint</kbd>.  
      Note:  
      The Outbound tab is selected by default. Confirm that the Outbound tab is already selected.
   5. In the Search all connections field, enter <kbd class="ph userinput">Microsoft SharePoint</kbd>.
   6. In the MicrosoftSharePointGraph tile, click View Details.  
   7. Click Configure.  
   8. On the form, fill these details.  
      {#configure-microsoft-sharepoint-graph-connection__table_ihs_m4s_g2c__entry__2}

      | Field | Description |
      |-|-|
      | Connection Name | The 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 URL | The URL to connect to the Microsoft Graph APIs. The URL is <https://graph.microsoft.com/v1.0>. |
      | OAuth Entity Name | Name of the OAuth application that you created. To learn how to create an OAuth app, see [Configure OAuth application in Microsoft Azure](https://www.servicenow.com/docs/Fh0aR1go6U4vW3fpeLZJTQ "Create an OAuth application in Microsoft Azure to verify and authorize connection requests from your ServiceNow instance."). |
      | OAuth Client ID | Client 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](https://www.servicenow.com/docs/Fh0aR1go6U4vW3fpeLZJTQ "Create an OAuth application in Microsoft Azure to verify and authorize connection requests from your ServiceNow instance."). |
      | OAuth Client Secret | Client 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](https://www.servicenow.com/docs/Fh0aR1go6U4vW3fpeLZJTQ "Create an OAuth application in Microsoft Azure to verify and authorize connection requests from your ServiceNow instance."). |
      | OAuth Authorization URL | The URL must be in the format: <kbd class="ph userinput">https://login.microsoftonline.com/&lt;tenant-id&gt;/oauth2/v2.0/authorize?response_mode=query</kbd>. 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. {#configure-microsoft-sharepoint-graph-connection__ol_jhs_m4s_g2c} |
      | OAuth Token URL | The URL must be in the format: <kbd class="ph userinput">https://login.microsoftonline.com/&lt;tenant-id&gt;/oauth2/v2.0/token</kbd>. 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. {#configure-microsoft-sharepoint-graph-connection__ol_lhs_m4s_g2c} |
      | Token Revocation URL | The URL must be in the format: <kbd class="ph userinput">https://login.microsoftonline.com/&lt;tenant-id&gt;/oauth2/v2.0/token</kbd>. 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. {#configure-microsoft-sharepoint-graph-connection__ol_nhs_m4s_g2c} |
      | OAuth Redirect URL | The URL must be in the format: <kbd class="ph userinput">https://&lt;instance-name&gt;.service-now.com/oauth_redirect.do</kbd>. |
      [ ]

      {#configure-microsoft-sharepoint-graph-connection__table_ihs_m4s_g2c}
   9. Select Configure and Get OAuth Token.
   {#configure-microsoft-sharepoint-graph-connection__substeps_hlj_2gv_fyb}
3. Click Configure and Get OAuth Token.  
   The connection record is created.

4. 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.

*[\>]: and then


