Overview
The Glean SharePoint connector enable secure and efficient data fetching from the Microsoft 365 (M365) SharePoint platform. User permissions are strictly enforced, and all data remains securely within your Glean environment.- Glean requires authentication to the M365 instance to fetch relevant information.
- Authentication is accomplished by creating and registering an App Registration for each deployment.
- More information: Auth V2 Service (docs.microsoft.com)
- Glean understands all user access permissions and strictly enforces permissions for users at the time of the query. This ensures that users are not able to see results that they do not have access to.
- Quicklinks are provided to quickly create Word, Excel, and PowerPoint documents.
Integration Features
SharePoint
Glean will capture:- Site Pages (web part or wiki page libraries)
- Site Drives (document libraries)
- Other Site Lists (Basic List and Calendar List items) [optional configuration, not by default]
Objects Supported
- Folders: Captured and indexed within SharePoint
- Documents: Various types stored in SharePoint
- Native File Types: Office including Word, Excel, PowerPoint, etc.
- Content from Personal and Shared Drives: Supported from both personal and shared drives
API Usage & Permissions
Glean uses standard Graph API v1.0 and SharePoint REST API to ingest data. We use application permissions with admin-granted access.Required permissions and access scope
The SharePoint connector requires theSites.FullControl.All scope on the Microsoft Graph API and SharePoint REST API to ensure complete indexing and timely synchronization of all permission changes and full functionality.
| API | Required scope | Reason |
|---|---|---|
| Microsoft Graph API | Sites.FullControl.All | Necessary for consuming webhooks and scanning permission hierarchies via the /delta endpoint. |
| SharePoint REST API | Sites.FullControl.All | Necessary to successfully retrieve permissions for site pages and site lists. |
It is strongly recommended to avoid using
Sites.Selected or Sites.Read.All as substitutes for the required Sites.FullControl.All scope. These workarounds can lead to significant indexing latency, data freshness issues, and ranking drawbacks. Customers who cannot grant the full Sites.FullControl.All scope must contact Glean Support directly to discuss the configuration options.Setup Prerequisites
A tenant administrator (with global admin privileges for both the Azure/Entra ID and SharePoint admin portals) is required to set up several dedicated service applications granted with the required privileges above.SharePoint REST API Permissions
In order to read data from the SharePoint REST API and crawl site collections, site content, and content permissions via REST, the FullControl permission need to be granted. Microsoft does not provide granular controls or a dedicated read scope for these data endpoints in the SharePoint REST API, so the FullControl permission is required.Versions Supported
There are no specific version limitations of the SharePoint connector.License Tier(s) Required
There are no specific license tier requirements for the SharePoint connector.Looking for the original version of this page? You can find the archived version here.