Connecting rclone to SharePoint Online
Connecting rclone to SharePoint Online I found the official instructions for this extremely difficult to follow, so here’s what worked for me, with an Office 365 Business tenant. First you need to create a custom client id. The default client ID will likely end up getting throttled, and the token will expire after an hour or so, causing your operations to stall. App Registration Open this link and log in with an administrator account that has privileges to create a new app registration for your tenant. Click “New registration” Give your app a name, I just called mine “rclone”. For Supported account types, you want the “Accounts in this organizational directory only” option. create a redirect URI of type Web. Type (don’t copy and paste) this into the URI field. http://localhost:53682/. Don’t miss the trailing slash. Copy and keep the Application (client) ID under the app name for later use. Under manage select Certificates & secrets, click New client secret. Enter a description (can be anything) and set Expires to however long you’d like. Copy and keep that secret Value for later use (you won’t be able to see this value afterwards). Under Manage select API Permissions. Click “add a permission” and select Microsoft Graph. You want “Application Permissions”, not “Delegated permissions”. Give the API key the following permissions: Files.ReadWrite Files.Read.All Files.ReadWrite.All User.Read Sites.Read.All Click the button for “Grant Admin consent for ” Create rclone remote rclone config ...