Overview
The SharePoint connection allows Qontext to read documents, site pages, and lists from your SharePoint sites and sync their text content into your context repository. It connects to SharePoint Online through the Microsoft Graph API.Only sites and content that the connected Microsoft account can access will be synced into your context repository. SharePoint permissions are always respected.
Unsupported:
Recommended setup
Use a dedicated integration user in your Microsoft 365 tenant to ensure a stable and uninterrupted connection.
The integration user will:
- Authenticate the connection between Qontext and SharePoint.
- Access the selected sites with read-only permissions.
The connection uses Microsoft’s read-only
Sites.Read.All permission, which requires admin consent in most Microsoft 365 tenants. Have an administrator approve the consent request the first time you connect.Setting up the connection
You can connect SharePoint from your Qontext workspace, authorize access with your Microsoft account, then choose what to sync and how often. The steps below walk you through the full flow.You can also manage all your credentials, including SharePoint, from the Sources page.
1
Open Sources in your workspace
In the Qontext app, open your workspace and go to the Sources tab, then click + Connect data source.
2
Select SharePoint as the data source
Choose SharePoint from the list of available data sources. This starts the SharePoint connection flow.
3
Connect your Microsoft account
You can reuse existing SharePoint credentials (if you’ve already connected this Microsoft account to Qontext) or create a new connection.If you create a new credential, sign in with Microsoft when prompted. On the consent screen, review the requested permissions and click Accept to grant Qontext read access to your SharePoint content.
4
Configure what to sync (filters)
Select what Qontext should sync into your context repository. Add entire sites, or open a site to select specific document libraries, folders, individual files, pages, and lists.Click the + next to an item to add it, or click its name to navigate into it for a more granular selection. Selected items appear at the top. Use the file type dropdown next to a selected library or folder to limit which file types are synced from it.
5
Set sync frequency
Choose how often Qontext should refresh data from SharePoint (e.g. daily, weekly, monthly). More frequent syncs keep the context repository up to date but use more resources.
6
Review and create connection
Review your choices (account, selection, frequency), then confirm to create the connection. Qontext will start the initial sync shortly after.
Managing permissions
SharePoint OAuth scopes
When connecting, you’ll see a Microsoft consent screen listing the permissions Qontext needs; they are read-only:Sites.Read.All permission. It applies on behalf of the connected user, so Qontext can only ever see what that account can see. Qontext does not create, edit, or delete anything in SharePoint.
SharePoint permissions
- Use a single integration user to manage SharePoint access for Qontext to avoid permission conflicts.
- If you don’t see a site or library during filter setup, verify that the connected account has access to it in SharePoint.
Sync latency
The initial sync time depends on how many sites, documents, pages, and lists are in scope. Large environments can take up to 12 hours to fully sync.Subsequent syncs are incremental: Qontext uses SharePoint’s built-in change tracking to process only what was added, changed, or removed since the last sync. Renamed or moved files are updated in place instead of duplicated.
FAQ
Can I connect multiple Microsoft accounts or tenants?
Can I connect multiple Microsoft accounts or tenants?
Yes. You can create multiple SharePoint connections from the Sources tab in your Qontext workspace. Add each account or tenant as a separate data source.
How can I limit what Qontext accesses?
How can I limit what Qontext accesses?
By default, Qontext only syncs content the connected Microsoft account can access. Additionally, you can add filters to every connection as described in the setup flow.