SharePoint (Knowledge Base)
This section explains how to connect SharePoint Online as a Knowledge Base data source in DataDios. It is a read-only connector: you browse a site's document libraries, folders, and files, and its file content is searchable through Hybrid Search once you turn on the search index for the source (see Search index).
The connector targets SharePoint Online (not SharePoint Server / on-prem) and reads document-library files — Word, PDF, PowerPoint, and similar. Site Pages and Lists are not ingested.
Prerequisites
SharePoint is authenticated app-only through Azure AD (Microsoft Entra ID) client credentials and the Microsoft Graph API. Register an app once in the Azure portal:
- Register an application (Microsoft Entra ID → App registrations → New registration). Note its Application (client) ID and Directory (tenant) ID.
- Add a client secret (Certificates & secrets → New client secret) and copy its value.
- Grant the
Sites.Read.Allapplication permission (API permissions → Add a permission → Microsoft Graph → Application permissions →Sites.Read.All), then click Grant admin consent.
You'll also need the site URL of the SharePoint site whose libraries you want to read, e.g. https://contoso.sharepoint.com/sites/Engineering.
Steps to Create and Test a SharePoint Data Source
Step 1: Create a Data Source
- Navigate to the Data Sources tab in DataDios
- Click + CREATE SOURCE
- In the data source type dropdown, expand Knowledge Base and select SharePoint
Step 2: Fill Connection Details
- site_url: The SharePoint site URL, e.g.
https://contoso.sharepoint.com/sites/Engineering(required) - tenant_id: Your Azure AD Directory (tenant) ID (required)
- client_id: The registered app's Application (client) ID (required)
- client_secret: The app's client secret (required, stored encrypted)
- schedule_sync: (Optional)
15 Minutes,Hourly, orDailyfor metadata synchronization
JSON Configuration
{
"site_url": "https://contoso.sharepoint.com/sites/Engineering",
"tenant_id": "00000000-0000-0000-0000-000000000000",
"client_id": "11111111-1111-1111-1111-111111111111",
"client_secret": "your-client-secret",
"schedule_sync": ""
}
Step 3: Test Connection
- Click TEST CONNECTION
- Correct credentials with admin consent resolve the site and return Status: OK. The client secret is never echoed back in any response or log.
- If the test fails, verify the
Sites.Read.Allpermission has admin consent granted and that the site URL points to an existing site.
Step 4: Save Data Source
- Click CREATE to save the data source
- It appears on the Data Sources listing page under Knowledge Base
Step 5: Browse and Search
- Expand the data source to browse the site's document libraries → folders → files.
- Document-library files become searchable through Hybrid Search.