Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't connect to SharePoint Online team sites such as https://orgname.sharepoint.com/sites/Site-Name #1770

@hi2u

Description

@hi2u

I’ve been able to successfully connect to the default https://orgname-my.sharepoint.com/ personal SharePoint Site...

$ rclone lsd sp3:
-1 2017-01-04 22:16:34         0 Attachments
-1 2015-01-23 11:13:10         0 Shared with Everyone

But I’m having difficultly figuring out how to connect to team sites on URLs such a: https://orgname.sharepoint.com/sites/Site-Name etc.

The “rclone config” guided process doesn’t let you set the resource_url when setting it up. So I’ve tried editing ~/.config/rclone.conf using a few different methods, changing the resource_url and then reauthorizing, I've tried a number of different addresses like...

For the main/default team site:

https://orgname.sharepoint.com/ 
https://orgname.sharepoint.com/Shared Documents

For separate team sites, or what Microsoft call "site collections":

https://orgname.sharepoint.com/sites/Site-Name
https://orgname.sharepoint.com/sites/Site-Name/
https://orgname.sharepoint.com/sites/Site-Name/Shared Documents
https://orgname.sharepoint.com/sites/Site-Name/Shared Documents/
https://orgname.sharepoint.com/sites/Site-Name/Shared%20Documents
https://orgname.sharepoint.com/sites/Site-Name/Shared%20Documents/

I'm not sure which address format I'm meant to use? (for either the main team site, or all the other ones under /sites/)

I always get the error:

$ rclone -vv lsd sp3:
2017/10/25 03:17:18 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2017/10/25 03:17:18 DEBUG : rclone: Version "v1.38" starting with parameters ["rclone" "-vv" "lsd" "sp3:"]
2017/10/25 03:17:19 Failed to create file system for "sp3:": failed to get root: 401 Unauthorized: 

(there's nothing after that last colon)

Does anyone know how I access team SharePoint sites?

My rclone version is:

rclone v1.38
- os/arch: linux/amd64
- go version: go1.9

...on Manjaro 64bit, installed from the distro's repos.

I'm choosing the "business" option when asked in rclone config.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions