Skip to content

Connecting to Sharepoint.com

Before Sync & Save can connect to a site hosted at sharepoint.com, you must register Sync & Save with your SharePoint site. 

Note: You must be the site administrator to perform these steps.
  1. Log in to your sharepoint.com site.

  2. Change the URL to https://yourdomain.sharepoint.com/_layouts/15/appregnew.aspx (replace yourdomain with the correct value for your sharepoint site).



  3. Click Generate next to Client Id and Client Secret. Make sure to copy the generated values and save them so they can be used later when setting up Sync & Save.
  4. Set the Title to "Sync & Save".
  5. Set App Domain to "localhost".
  6. Set Redirect URI to "https://localhost/default.aspx".
  7. Click Create.

  8.   Change the URL to https://yourdomain.sharepoint.com/_layouts/15/appinv.aspx (replace yourdomain with the correct value for your sharepoint site).


  9. Paste the Client Id generated in step 3 into the App Id field and click Lookup.
  10. The Title, App Domain and Redirect URL should all populate the the values you entered previously.
  11. Paste one of the following XML snippets into the Permission Request XML box. Each snippet requests a different set of permissions:

    • Access to the complete site collection
      <AppPermissionRequests AllowAppOnlyPolicy="true">
      <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" />
      </AppPermissionRequests>


    • Access to the current site or subsite
      <AppPermissionRequests AllowAppOnlyPolicy="true">
      <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="FullControl" />
      </AppPermissionRequests>


    • Access to a specific list
      <AppPermissionRequests AllowAppOnlyPolicy="true">
      <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web/list" Right="FullControl" />
      </AppPermissionRequests>


      Read more about possible permission sets here: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/add-in-permissions-in-sharepoint#types-of-add-in-permissions-and-permission-scopes

  12. Click Create.



  13. Click Trust It.
The next step is to configure Sync & Save to connect to SharePoint:
  1. In Sync & Save select Tools > Options > Accounts > SharePoint.
  2. Change the Authorization Type dropdown to Access Token.
  3. Set the Site Url to  https://yourdomain.sharepoint.com (replace yourdomain with the correct value for your sharepoint site).
  4. Paste the Client Id you generated in SharePoint in the Client Id field.
  5. Paste the Client Secret you generated in SharePoint in the Client Secret field.
  6. Set the File Upload Method to ExecuteQuery.
  7. Click Test to make sure you can connect to your SharePoint site.
  8. Click OK.


Note: Client secrets expire after one year.

For more details, see the instructions under Register by using AppRegNew.aspx.

Note: If two factor authentication is enabled, the connection attempt will fail with a 401 error.

Available beginning with version 1.14.40.
  



Feedback and Knowledge Base