--- title: Index sites for search description: Configure the SharePoint Online Search Connector to crawl the content from the eligible sites, subsites, drives, and more. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/employee-service-management/sharepoint-how-to-configure-search.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 3 breadcrumb: [SharePoint Online Search Connector, Employee Service Management] --- # Index sites for search Configure the SharePoint Online Search Connector to crawl the content from the eligible sites, subsites, drives, and more. ## Before you begin - Verify that you have a basic knowledge of Microsoft Azure and Microsoft SharePoint functionality. - Work with a Microsoft SharePoint administrator to understand the set of sites for indexing. - Activate SharePoint Online Search Connector from the ServiceNow store. Role required: sn\_sp\_con.admin or admin ## Procedure 1. Navigate to **SharePoint Online Search Connector** > **SharePoint Connectors**. 2. Click **New**. \[Omitted image "site-permission-spoc.png"\] Alt text: Options of site permission display for REST connection setup. 3. On the form, fill in the fields.
| Field | Description |
|---|---|
| Graph connection | Connection for graph. Use the graph tenant record. |
| REST connection | Connection for REST. Use the Rest tenant record. |
| Site URL Path | Value of the relative URL of the Microsoft SharePoint site for indexing. For example, if your site URL is [https://sncplatform.sharepoint.com/Company/Medicalbenefits](https://sncplatform.sharepoint.com/Company/Hr), the relative URL of the site is `Company/Medicalbenefits`. **Note:** This URL is case-sensitive. Subsites are automatically indexed. See [SharePoint Online Search Connector search results](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/using-search.md). |
| State | State of the indexing. |
| REST Site Permission | Use one of the following site permissions to manage access to the SharePoint.- **Sites.FullControl.All**: Provides the full control to SharePoint sites for the signed-in user. Sites, subsites, files, and user groups are indexed with this option. - **Sites.Read.All**: Provides only the read access to the files for the signed-in user. This option is the default value. Only files and user groups are indexed with this option. - **Sites.Selected**: Provides selected site control with selected roles to users. Only files and user groups are indexed with this option. |
| Site role | Use one of the following options to manage access control.- **Full control** - **Read** - **Write** This field appears only when **Sites.Selected** is selected from **REST Site Permission**. |
| Exclude Subsites | List of URLs that are excluded from indexing. These URLs are not indexed by the AI Search and are not displayed in the search results. You can add multiple sites with **\|** as a separator. Enter the URLs of any subsites you don't want to index. **Note:** Ensure you specify the complete URLs and not relative URLs. |