Starting with Resilio Connect v3.8.0 integration with Sharepoint Online is available.
1. Configure connection to Sharepoint Online
2. Create a job
3. Limitations and peculiarities
1. Configure connection to Sharepoint Online
Create a new application using this guide. Be sure to save Client secret value. Application ID and Client secret value will be needed later when configuring connector in the Management Console
Microsoft Graph ‘Application’ level permissions Files.ReadWrite.All, Sites.Read.All, User.Read should be granted.
Go to ‘API permissions’ section -> Add a permission, in the ‘Microsoft APIs’ tab choose ‘Microsoft Graph’, then ‘Application permissions’, and search for a specific permission. Be sure that “Admin consent” is granted for the added permissions.
On the Management Console go to Cloud Storages menu and add new storage Sharepoint.
Fill in Tenant ID and Client ID with the information from the Application.
Use the saved Client secret value.
Root (site name) is required.
Drive - Document library name. Optional, if not provided, the Agent will enumerate drives by its permissions. If the drive is not provided, be sure to add it to the path inside the job, or use the folder picker to browse through the drive.
2. Create a job
Be sure to apply "Preset for Sharepoint" in the Agent Profile before configuring the job.
When creating a job, Select Storage Connectors Macros and select the configured Sharepoint connector.
If the drive was not provided in the connection configuration, be sure to specify it in the path
3. Limitations and peculiarities
1. Usage limit imposed by Sharepoint.
There is a request limit in MS Graph API, which could affect Agent’s performance in terms of files ops. Every request to Sharepoint (not necessarily to upload/download files) is counted in the quotas.
Read about these quotas here
If the limit is exceeded, general performance may be slowed down and the Agent will report the error. See here for more details.
2. Because of the above mentioned limits, sometimes errors might appear in MC on browsing in folder picker, creating folder in Sharepoint through folder picker and/or test connections: Credentials not resolved (403). It’s intermittent, try again later (a minute or two).
3. By default Microsoft stores SPO data in the region of the tenant. Read more about it here: Overview of Data Residency and Data Residency Commitments Available. To see where data is stored go to MS365 Admin Center, navigate to Admin->Settings->Org Settings->Organization Profile tab->Data Location (Tenant administrator role is required to see that option).
Placing Resilio Agent in the same region has not proved to give any performance improvements.
4. Files and folders created by Resilio Agent will have ‘SharePoint App’ as a user in corresponding fields in UI. It's a built-in user used for such cases.
5. Filenames cannot have leading or trailing spaces. Agent fixes them by replacing the first or last symbol with ‘_’.
6. Agent does not receive file system notification from the Sharepoint Online. Agent only detects updated files during periodic folder scan.
7. The Agent may report "Not enough permissions to create identifying .sync/ID file for this shared folder" error on the job run if the Client secret in storage configurator is invalid. Please check and update the secret and launch job rescan on the agent.