Connectors

SharePoint Online

Index SharePoint Online sites, libraries, pages, and list items, with document-level permissions.

The SharePoint Online connector indexes sites, document libraries, pages, lists, list items, and attachments. It syncs item permissions for document-level security.

Prerequisites

  • A Microsoft Entra ID (Azure AD) tenant with admin consent rights.
  • An app registration EigenSearch authenticates as (details below).

1. Register an Entra ID app

In Entra ID → App registrations → New registration, collect:

  • Tenant ID and tenant name
  • Client ID (Application ID)

Add certificate credentials. Microsoft is retiring client secrets.

2. Grant Graph API permissions

Add these application permissions and grant admin consent:

PermissionWhy
Sites.Read.AllRead site content.
Files.Read.AllRead documents and attachments.
Groups.Read.AllResolve group-based permissions.
User.Read.AllResolve user-based permissions.

To limit access to specific sites, use Sites.Selected and grant access per site collection.

3. Configure the connector

FieldDescription
tenant_id / tenant_nameFrom the app registration.
client_idApplication ID.
certificate / private_keyCertificate credentials.
site_collectionsSites to index; * for all.
fetch_subsitesInclude child sites.
use_document_level_securitySync ACLs and enforce them at query time.

Sync behaviour

  • Full sync re-indexes selected sites. Run after site or permission rule changes.
  • Incremental sync indexes scheduled changes.
  • With document-level security enabled, each item is indexed with its ACL. Results respect the calling user's SharePoint permissions.

Notes

  • Large binaries are extracted up to a configurable size limit.
  • Folders with unique (non-inherited) permissions are resolved explicitly during sync.