Microsoft Graph SharePoint


Which SharePoint Connector Should I Use?

The connector you use depends on whether your SharePoint environment is hosted on-premises or in the cloud.

Environment

Integration Connector

Recommended Authentication

SharePoint Online (Cloud)

Microsoft Graph SharePoint Connector

Microsoft Graph OAuth Connector

SharePoint On-Premises

SharePoint REST Connector

SharePoint REST Azure AD OAuth Connector

SharePoint Online (Cloud)

Use the Microsoft Graph SharePoint Connector. Microsoft Graph is the recommended connector for all SharePoint Online environments. OAuth is the preferred authentication method where possible.

Caution:  It is recommended that MS Graph be used to Authenticate Microsoft Office products like SharePoint. If users are encountering job fails you should check your SharePoint permissions as the authorised account may not be limiting what 3Sixty can do.

SharePoint On-Premises

Use the SharePoint REST Connector. OAuth is recommended where possible. Note that the SharePoint REST connector is maintained primarily for legacy and on-premises environments — if you are not on-premises, use Microsoft Graph instead.


Authentication Connection

This connector requires a standard Microsoft Graph Authentication Connection.

Caution:  Its recommended that OAuth be used for Migration only. And Client / Secret Auth be used for Content Service
MS Graph OAuth usually requires human interaction to refresh the token and isn't suitable for content services, because content services is usually meant to act as a background process. TCS with SharePoint for example. You don't want your entire system to stop working because you need to manually re-authenticate the content service connection that handles all the downloads/deletes.

Caution:  If users are encountering job fails they should check their SharePoint permissions as the authorised account may not be limiting what 3Sixty can do.

The application will require the following permissions:

  • Repository: Sites.Read.All

  • Output: Sites.Manage.All


Discovery Connection

Discovery makes mapping to and from your sources easier for data migration and ensures the data gets connected to the right fields. Discovery requires an Authentication Connection

Guide to Discovery Connections

Configuration

  • Tenant Name: The name of the tenant. All O365 SharePoint instances use the structure [tenant].sharepoint.com. We use this to construct urls and gather siteIds.

  • Sites to Crawl: The base sites to crawl. Root will crawl your Team site.

  • Crawl Subsites: If the site has any subsites, crawl them as well. For example, if you leave the list above as root, but there is a subsite ([tenant].sharepoint.com/mySite), it will not be crawled unless this box is checked.

 


Integration Connector

Important:  RUNNING ERRORS
As of the 3.1.1 release, MSGraph connectors cannot rerun errored documents. We are aware of the issue, and it will be addressed in the next release.

Important:  WARNING
The Microsoft Graph APIs throttle connections that make what it considers excessive api calls. They have not shared these metrics, and they are determined dynamically based on previous usage and presumably account type. See this link for more details

Due to how SharePoint handles metadata, the document and its metadata will be uploaded separately.

Documents with Metadata: This process is done by batching the document with its metadata, with the metadata write contingent on the success of the upload. In this case a document is complete if both the metadata and document successfully upload. If either fails due to a 429 (throttling) response, the missing piece will be attempted a number of times after waiting.

Documents without Metadata: If a document has no metadata (no mappings), a non- batch upload will be performed. The same retry logic will take place but only for the file content.

Recommended Settings to avoid Throttling: Details Tab Advanced Options Max Queue Size = 500 Output Threads = 5 Output Specification Number of retries = 10


Job Configuration

A 3Sixty Job is the process of moving or syncing content (including versions, ACL's, metadata) from one CMS (content management system) to another. Add tasks to your job to have better control over how your data gets migrated. Click here for details on how to set up an integration job.

Guide to Integration jobs

Configuration

Caution:  CASE SENSITIVITY
Site and Library names are case-sensitive. If the case is wrong, the job will complete successfully, but no documents will be picked up

Output Specifications

When using this connector as a file destination, filling out the following fields will tell 3Sixty where you want the files integrated to.

Configuration

Mapping

3Sixty Mapping gives you the ability to map your content types and metadata from one system to another.

There are two places in 3Sixty where you can set up mappings:

  • At the top of the mapping tab you can select from saved mappings

  • Creating a unique mapping based on your connectors.

Guide to 3Sixty Mapping

If you want to map the document version comments, please add below mapping (mapping is shown from graph share point to CMIS connector).

Tasks

Job tasks also known as processors provide a processing pipeline for documents and metadata. Post processors can also be added as a task to run after the files are processed.

Click here for a list of all the tasks you can add to your integration job.


Content Service Connection

This connection will provide a full ECM API for interacting with files, folders, metadata, versions, and renditions.

Content Service Connections Overview

Basic Configuration

Field

Description

Connector ID

Give your connector a unique name

Description

Provide a description for this connection

Type

Select the Filesystem Content Service Connector

Keep Connection Alive

Keep this connection active

Keep alive in Milliseconds (300000 is 5 minutes)

How long until connection expires if unused

Connection URL

The web address for your connection

Security Mode

None needed for this connection

Mapping Type

Choose single map or group mapping if you are using mapping for jobs

Connection Configuration

Note:  Document and folder ids will look like this.
01WNAC6ZYYYWDZOWH2DFH3LRHT7MWF5L2R
As SharePoint is actually backed by OneDrive, all the ids are actually OneDrive Ids as well.

Routing Document Examples

Following are simple examples of routing documents of different file types to different locations within your tenant.

These examples assume you are using the default override field names.

Assume the connector ID in these examples will be graph