SharePoint Server
Who can do this: repository admins, and the SharePoint farm administrator.
The SharePoint Server connector reads SharePoint Server Subscription Edition, 2019 and 2016 through the agent. Available on Pro and Scale. It reads the same objects as SharePoint Online.
| Plan | Pro and Scale |
| Reads | The same objects as SharePoint Online, on SharePoint Server 2016, 2019 and Subscription Edition, within the agent’s allowed site collections |
| Does not read | Site collections not on the agent’s list; hidden and system lists, Site Pages, file versions; SharePoint permissions |
| Reaches it through | The agent on a domain-joined Windows machine, as a domain service account with Windows authentication; no password in ContentSurface |
| Limits | The web application’s zone must use Windows authentication |
Limits common to every connector — indexed text per document, file size for extraction, OCR — are in Connectors.
Before you start
Section titled “Before you start”-
Install the agent on a domain-joined Windows machine, running as a domain service account. No password is stored in ContentSurface: the agent signs in to SharePoint with Windows authentication.
-
The farm administrator grants that account read — most simply a Full Read user policy on the web application. The zone must use Windows authentication.
-
In the agent’s configuration file, enable the SharePoint plugin and list the allowed site collections. This list is the boundary: nothing outside it can be read.
"Plugins": {"sharepoint": {"Enabled": true,"AllowedSiteUrls": [ "https://intranet.contoso.local/sites/finance" ]}} -
Run the agent’s preflight: it checks that every allowed site answers as the service account.
Steps in the Portal
Section titled “Steps in the Portal”
- Connections → New connection: SharePoint Server, on-premises, a name.
- Under Agents, add the agent; it must report the
sharepointplugin. - Check.
- New mount point: browse from the allowed sites.
- Mount it, preview, and activate.
The farm reports its changes: they are picked up every few minutes.
In the API
The Portal does this through these calls; an integration can make them directly.
| Operation | Call |
|---|---|
| Creates a connection; its connector type and source location are fixed. | POST /v1/admin/connections |
| Adds and removes the agents an on-prem connection uses; an added agent must be enrolled and report the connector's plugin. The answer names the mount points each added agent covers. | PATCH /v1/admin/connections/{id}/agents |
| Tests reachability and authentication of the source. | POST /v1/admin/connections/{id}/check |
| Where browsing starts: the connector's source roots. | GET /v1/admin/connections/{id}/source-roots |
| The child containers of a source location, for choosing a mount point. | GET /v1/admin/connections/{id}/browse |
| Validates a location through the connector and creates a mount point on it. | POST /v1/admin/connections/{id}/mount-points |