Configure a SharePoint/OneDrive Business remote as a guest

What is the problem you are having with rclone?

I'm trying to add a remote for a SharePoint site where I have been added as a Guest. I tried specifying the URL (Option 3) or searching by name (Option 4), but could not find the site. If I search for an empty string, then I can see all (but only) sites from the same domain of my OneDrive Business account, but not the one I'm added as a Guest.

What is your rclone version (output from rclone version)


Which cloud storage system are you using? (eg Google Drive)

OneDrive (Office 365 Education)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config

A log from the command with the -vv flag

Type of connection
Enter a string value. Press Enter for the default ("onedrive").
Choose a number from below, or type in an existing value
 1 / OneDrive Personal or Business
   \ "onedrive"
 2 / Root Sharepoint site
   \ "sharepoint"
 3 / Sharepoint site name or URL (e.g. mysite or
   \ "url"
 4 / Search for a Sharepoint site
   \ "search"
 5 / Type in driveID (advanced)
   \ "driveid"
 6 / Type in SiteID (advanced)
   \ "siteid"
 7 / Sharepoint server-relative path (advanced, e.g. /teams/hr)
   \ "path"
config_type> 3
Site URL

Example: "" or "mysite"

Enter a string value. Press Enter for the default ("").
Failed to query available site by relative path: HTTP error 404 (404 Not Found) returned body: "{\"erro
r\":{\"code\":\"itemNotFound\",\"message\":\"Requested site could not be found\",\"innerError\":{\"date

hello and welcome to the forum,

can you post the info were you given to access the guest site?
make sure to redact username/password.
if possible, to minimally alter the url, perhaps just change the domain name to xyz.

without using rclone, how have you access the guest site?

  • using a web browser or what?

I have had more luck, at least in my organization, with using webdav to access Sharepoint. Does that work for you?

yes, that works for me

rclone supports sharepoint over webdav as documented here

for example, this a remote i use.

type = webdav
url =
vendor = sharepoint
user =
pass = password

Thank you both for the suggestions! I can access the SharePoint site via a web Browser.

From what I just read, this is Office 365 Education. I authenticate through an SSO portal. However, the same username and password do not seem to work for WebDAV (not in Rclone or Windows itself). I tried for example Documents

which works in browsers.

sorry, i got confused, replied to you as if you were the the OP.

opton 3 looks like it should work. seems to match up with your
3 Sharepoint site name or URL (e.g. mysite or

about the edu account, this instructions failed to work?
"Rclone can be used with Sharepoint provided by OneDrive for Business or Office365 Education Accounts"

really does not provide a real info???
what exactly does that mean?
is there a config file?
is there a command you ran?
is there a debug log?

Yes, the link was what I followed.

In any case, I realized that I needed to add domain as part of user ( rather than USER which is used in browsers) and it is now working!

type = webdav
url = Documents
vendor = sharepoint
user =
pass = REMOVED

Regarding adding this remote as OneDrive, neither Option 3 or 4 works (log in my original post). @ncw It would be nice if this is possible so that we don't need to use username/password to authenticate. Since I can add SharePoint sites from my domain as OneDrive, I took this to mean that the organization did not have this issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.