Documentation Center

Connector for SharePoint 365 configuration properties

Implementing the Connector for SharePoint 365 requires a JSON configuration file, which defines your specific integration of Tridion with SharePoint 365.

In the Connectors's JSON configuration file, use the following properties:

pageSize
Default page size when doing search and list operations.
This property is optional. When no value is specified, the default page size is 100.
HostName
Name of the SharePoint 365 instance.
SiteRelativePath
The relative path to your SharePoint 365 site.
clientSecret
Client password to be used to authenticate over OAuth.
username
API username to be used to authenticate over OAuth.
password
API password to be used to authenticate over OAuth.
TenantId
The tenant ID of the registered SharePoint 365 application, which appears in Microsoft Azure as the Directory (tenant) ID.

Example configuration file

The following sample code illustrates a configuration file that includes the Connector for SharePoint 365:

{
  "configuration": {
    "SharepointConnector": {
      "configuration": {
        "HostName": "sample365.sharepoint.com",
        "SiteRelativePath": "sites/Connector",
        "ClientId": "1234fab1-1ab1-2cde-1234-f56785678gh",
        "ClientSecret": "aFakeClientSecret.secret123.a123b.c456d",
        "Username": "<username>",
        "Password": "<password>",
        "TenantId": "df02c2f8-e418-484f-8bd6-c7f2e154f292",
        "pageSize": 3
      }
    }
  },
  "sitesCm": {
    "isEnabled": true,
    "SharepointConnector": {
      "namespaces": {
        "sharepoint": {
          "displayName": "Sharepoint Connector",
          "stubFolders": ["tcm:4-67-2"]
        }
      }
    }
  }
}