SharePoint logo
Knowledge Bases

SharePoint AI Integration

Bring SharePoint knowledge into your AI assistant

What is it?

About SharePoint

SharePoint is Microsoft's enterprise content management and collaboration platform, embedded in Microsoft 365. Large organizations use SharePoint to host intranet sites, document libraries, and team portals — making it one of the richest enterprise knowledge sources available.

Integration capabilities

How BeforeQuery works with SharePoint

Everything you can do once the SharePoint integration is connected.

Microsoft 365 and on-premises support

BeforeQuery connects to SharePoint Online via Microsoft Graph API and to on-premises SharePoint deployments via the SharePoint REST API.

Site and library indexing

Select specific SharePoint sites, document libraries, and page libraries. BeforeQuery indexes the content of pages and Office documents with text content.

Azure AD integration

Authenticate with SharePoint using Azure Active Directory app registration — no user credentials required for the integration.

Restricted visibility

SharePoint content indexed in BeforeQuery can be scoped to the employee portal only, ensuring internal content never appears in customer-facing chat.

Setup

How to connect SharePoint

  1. Step 01

    Register a BeforeQuery app in your Azure Active Directory tenant with the required Microsoft Graph permissions.

  2. Step 02

    In BeforeQuery, add a SharePoint source and provide the tenant ID, client ID, and client secret from the Azure app registration.

  3. Step 03

    Select the sites and libraries to index and configure a sync schedule.

SharePoint — Frequently Asked Questions

Common questions about connecting BeforeQuery to SharePoint.

Yes. BeforeQuery connects to SharePoint Online via the Microsoft Graph API and to on-premises SharePoint deployments via the SharePoint REST API. Provide your SharePoint site URL and appropriate credentials during source configuration.
Register a BeforeQuery app in your Azure Active Directory tenant and grant it the required Microsoft Graph permissions (Sites.Read.All or equivalent). Provide the tenant ID, client ID, and client secret in BeforeQuery — no individual user credentials are required.
BeforeQuery indexes SharePoint modern pages, document library files with extractable text content (Word documents, text files), and SharePoint wiki pages. Binary files without text layers, large media files, and SharePoint list data are not indexed.
Yes. Map your SharePoint source to a restricted BeforeQuery collection scoped to the employee portal. This ensures intranet content, HR policies, and internal guides are only accessible to authenticated employees — never to public-facing customer chat.
Yes. The Microsoft Teams bot can query BeforeQuery knowledge bases that include SharePoint sources. Employees asking questions in Teams receive AI answers grounded in your SharePoint intranet content with the source shown back to the source pages.

Ready to connect SharePoint?

Start free. No credit card required. Connect your first integration in under 5 minutes.