Skip to content

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.

  1. 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.

  2. The farm administrator grants that account read — most simply a Full Read user policy on the web application. The zone must use Windows authentication.

  3. 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" ]
    }
    }
  4. Run the agent’s preflight: it checks that every allowed site answers as the service account.

A SharePoint Server connection through an agent, with one mount point and its mount folder

  1. Connections → New connection: SharePoint Server, on-premises, a name.
  2. Under Agents, add the agent; it must report the sharepoint plugin.
  3. Check.
  4. New mount point: browse from the allowed sites.
  5. 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.

OperationCall
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