---
sourceDocument: Yokohama ServiceNow AI Platform Administration
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/platform-administration

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Configure source system

# Configure Microsoft SharePoint Online for external content indexing {#ariaid-title1}

* Release version: Yokohama
* 
* Updated June 17, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 6 minutes to read

Register an OAuth 2.0 application in the Microsoft Entra admin center to grant the Microsoft SharePoint Online external content connector access to your Microsoft SharePoint Online source system.

## Before you begin

You need the following credentials and permissions for your organization in the Microsoft Entra admin center:

* Login credentials
* Permission to register an application
* Permission to add API permissions to an application
* Permission to grant admin consent for an application's API permissions
* Permission to upload certificates for an application
{#cfg-azure-spo-ext-cont-connector__ul_tsn_12d_tdc}

You must have created a public/private key pair for the Microsoft SharePoint Online external content connector and extracted the public key certificate in DER-encoded binary X.509 format.
For details on creating the public/private key pair and extracting the public key certificate, see [Create a public/private key pair for the Microsoft SharePoint Online external content connector](https://www.servicenow.com/docs/pu0VjJ9fmcYM4J83IQsPuw "Generate a public/private key pair for the Microsoft SharePoint Online external content connector. Extract the public key as a DER-encoded binary X.509 format certificate for use in configuring API access for the connector in the Microsoft Entra admin center.").

Role required: none

## About this task

The Microsoft SharePoint Online external content connector retrieves content from your Microsoft SharePoint Online source system using Microsoft Graph and the Microsoft SharePoint REST APIs.

To enable the connector to access your Microsoft SharePoint Online source system via these APIs, you must configure an OAuth 2.0 application
in the Microsoft Entra admin center. Your connector administrator can use settings copied from this Microsoft Entra application to configure the Microsoft SharePoint Online external content connector for proper connection to your Microsoft SharePoint Online source system.

## Procedure

1. Register a new application in the Microsoft Entra admin center.
   1. Log in to the Microsoft Entra admin center at <https://entra.microsoft.com/>.  
      Note:  
      If your Microsoft SharePoint Online tenant is in the Microsoft 365 GCC or GCC High cloud or the Microsoft 365 DoD cloud, log in at <https://entra.microsoft.us/> instead.
   2. Select ApplicationsApp registrations.
   3. On the App registrations page, select New registration.  
   4. On the Register an application form, fill in the following fields:  
      {#cfg-azure-spo-ext-cont-connector__table_zzr_jwc_tdc__entry__2}

      | Field | Instructions |
      |-|-|
      | Name | Enter a unique name for your OAuth 2.0 application. For example, you might enter <kbd class="ph userinput">Microsoft SharePoint Online external content connector</kbd>. |
      | Supported account types | Select Accounts in this organizational directory only (\<instance-name\> only - Single tenant), where \<instance-name\> is the name of your Microsoft Entra instance. |
      | Redirect URI (optional) | Leave this field empty. |
      [ ]

      {#cfg-azure-spo-ext-cont-connector__table_zzr_jwc_tdc}
   5. Select Register.  
      The new application's Overview page appears.
   {#cfg-azure-spo-ext-cont-connector__substeps_kg2_zvc_tdc}
2. Record the values of the Application (client) ID and Directory (tenant) ID properties in a secure location.  
   Important:  
   Your connector administrator needs the application's tenant and client IDs to configure a Microsoft SharePoint Online external content connector. {#cfg-azure-spo-ext-cont-connector__client-tenant-ids-step}
{#cfg-azure-spo-ext-cont-connector__client-tenant-ids-step}
3. Add the API permissions required by the Microsoft SharePoint Online external content connector.
   1. In the application menu, select ManageAPI permissions.  
   2. Select Add a permission, then select Microsoft Graph, then select Application permissions.  
   3. For each of the following permissions, enter the permission name into the Select permissions search field, then locate and select the option for the permission.  
      {#cfg-azure-spo-ext-cont-connector__table_wls_w2k_cjc__entry__2}

      | Permission | Description |
      |-|-|
      | GroupMember.Read.All | This permission allows the connector to read group memberships from Microsoft Entra ID. |
      | Sites.Read.All | This permission enables the connector to perform automatic site discovery for crawl configuration and one-time crawls. Note: If you plan to specify the sites to crawl manually, don't select this permission. For more information on specifying sites for the connector to crawl, see [Configure crawl settings for a Microsoft SharePoint Online external content connector](https://www.servicenow.com/docs/Zeg3_hUuSsEOeKp_YmcYtg "Specify the sites you want your Microsoft SharePoint Online external content connector to crawl. Define inclusion or exclusion filters to dictate the types of content the crawl retrieves and feeds to AI Search for indexing."). To learn more about one-time crawls, see [Create a content crawl for an external content connector](https://www.servicenow.com/docs/cHKxITeSqLvmLnYo9QVnHg "Retrieve searchable content and metadata from your source system with a content crawl. Run the crawl as a one-time task or schedule it to run on a recurring basis.") and [Create a user permission crawl for an external content connector](https://www.servicenow.com/docs/qWGajmyPchw0rgi0C28swg "Retrieve security principals from your source system with a user permission crawl. Run the crawl as a one-time task or schedule it to run on a recurring basis."). |
      | User.Read.All | This permission allows the connector to read users from Microsoft Entra ID. User information includes user type and account enablement status. |
      [ ]

      {#cfg-azure-spo-ext-cont-connector__table_wls_w2k_cjc}
   4. Select Add permissions.  
      The new Microsoft Graph permissions appear in the application's Configured permissions list.
   5. Select Add a permission, then select SharePoint, then select Application permissions.  
   6. In the Select permissions search field, enter either <kbd class="ph userinput">Sites.FullControl.All</kbd> or <kbd class="ph userinput">Sites.Selected</kbd>, then locate and select the option for the specified permission.  
      Note:  
      The connector only needs one of these two permissions. Don't select both permissions.
      {#cfg-azure-spo-ext-cont-connector__table_ldc_qnn_djc__entry__2}

      | Permission | Description |
      |-|-|
      | Sites.FullControl.All | This permission allows the connector to access content and user permissions from all sites and site collections in your Microsoft SharePoint Online tenant. Select this permission if your organization allows it. When you select this permission, no additional configuration is needed. |
      | Sites.Selected | This permission allows the connector to access content and user permissions from individual sites and site collections in your Microsoft SharePoint Online tenant. An administrator must grant FullControl permissions to your registered Microsoft Entra OAuth 2.0 app for each site or site collection that you want the connector to access content from. Select this permission if your organization doesn't permit you to grant Sites.FullControl.All permission to a registered application. To learn how to grant FullControl permissions for individual sites and site collections to your registered Microsoft Entra OAuth 2.0 app, see [Configure site and site collection access for the Microsoft SharePoint Online external content connector](https://www.servicenow.com/docs/xcLTxLjmAF54sVJ73xZzyw "Allow the Microsoft SharePoint Online connector to crawl your sites and site collections by granting site-specific SharePoint API FullControl permissions to the OAuth 2.0 app registered in Microsoft Entra for the connector."). |
      [ ]

      {#cfg-azure-spo-ext-cont-connector__table_ldc_qnn_djc} {#cfg-azure-spo-ext-cont-connector__add-sharepoint-api-permissions-substep}
   {#cfg-azure-spo-ext-cont-connector__add-sharepoint-api-permissions-substep}
   7. Select Add permissions.  
      The new SharePoint permission appears in the application's Configured permissions list.

   {#cfg-azure-spo-ext-cont-connector__substeps_kfx_3xc_tdc}  
   Tip:  
   The SharePoint section of your application's API permissions list will show the entry for the SharePoint API permission that you selected in step [3.f](https://www.servicenow.com/docs/gbgkNPrRhTyYGJRwIYwXoQ#cfg-azure-spo-ext-cont-connector__add-sharepoint-api-permissions-substep). The images in this procedure show the Sites.FullControl.All permission, but your application may show the Sites.Selected permission instead.
4. Grant admin consent for the added API permissions.
   1. Select Grant admin consent for \<instance-name\>, where \<instance-name\> is the name of your Microsoft Entra instance.
   2. In the Grant admin consent confirmation dialog box, select Yes.  

   {#cfg-azure-spo-ext-cont-connector__substeps_dzv_rzc_tdc}  
   The status for the added API permissions changes to Granted for \<instance-name\>, where \<instance-name\> is the name of your Microsoft Entra instance.
5. Upload your DER-encoded binary X.509 format public key certificate for the Microsoft SharePoint Online external content connector.
   1. In the Microsoft Entra application menu, select ManageCertificates \& secrets.
   2. Select Certificates, then select Upload certificate.  
   3. Select Select a file and locate your DER-encoded binary X.509 format public key certificate file, then enter a description for it.  
   4. Select Add.  
      The DER-encoded binary X.509 format public key certificate appears in the Certificates list.  
      Note:  
      You can drag the column separators in the Certificates list to view the entire thumbprint SHA1 hash value.
   5. Copy the certificate's Thumbprint SHA1 hash, shown in hexadecimal format, and record it in a secure location.  
      Important:  
      Your connector administrator needs the DER-encoded binary X.509 format public key certificate's SHA1 thumbprint hash to configure the Microsoft SharePoint Online external content connector. {#cfg-azure-spo-ext-cont-connector__certificate-thumbprint-step}
   {#cfg-azure-spo-ext-cont-connector__certificate-thumbprint-step}
   6. Retain copies of the generated public/private key files and the key password in a secure location.  
      Note:  
      You can't download the public key certificate or its password from the Microsoft Entra admin center.
   {#cfg-azure-spo-ext-cont-connector__substeps_tnm_p1d_tdc}

## What to do next

If you granted Sites.Selected permission instead of Sites.FullControl.All permission in step [3.f](https://www.servicenow.com/docs/gbgkNPrRhTyYGJRwIYwXoQ#cfg-azure-spo-ext-cont-connector__add-sharepoint-api-permissions-substep), configure SharePoint API permissions for the site collections you want the Microsoft SharePoint Online connector to be able to crawl. For details on this procedure, see
[Configure site and site collection access for the Microsoft SharePoint Online external content connector](https://www.servicenow.com/docs/xcLTxLjmAF54sVJ73xZzyw "Allow the Microsoft SharePoint Online connector to crawl your sites and site collections by granting site-specific SharePoint API FullControl permissions to the OAuth 2.0 app registered in Microsoft Entra for the connector.").  
Provide the following items to your connector administrator:

* The OAuth 2.0 application's tenant ID and client ID that you recorded in step [2](https://www.servicenow.com/docs/gbgkNPrRhTyYGJRwIYwXoQ#cfg-azure-spo-ext-cont-connector__client-tenant-ids-step).
* The DER-encoded binary X.509 format public key certificate's SHA1 thumbprint hash in hexadecimal format that you recorded in step [5.e](https://www.servicenow.com/docs/gbgkNPrRhTyYGJRwIYwXoQ#cfg-azure-spo-ext-cont-connector__certificate-thumbprint-step).
{#cfg-azure-spo-ext-cont-connector__ul_rl2_xjd_tdc}

Your connector administrator needs these items to configure a Microsoft SharePoint Online external content connector to retrieve searchable content and security principals from your Microsoft SharePoint Online instance.

For details on creating and configuring a Microsoft SharePoint Online external content connector, see [Create a Microsoft SharePoint Online external content connector](https://www.servicenow.com/docs/x9QWP7qxSuIIXhsHbxbrWg "Create an external content connector to retrieve searchable content and security principals from your Microsoft SharePoint Online source system.").

*[\>]: and then


