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)
v1.56.2
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 https://contoso.sharepoint.com/sites/mysite)
\ "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: "https://contoso.sharepoint.com/sites/mysite" or "mysite"
Enter a string value. Press Enter for the default ("").
config_site_url> https://ABC.sharepoint.com/sites/XYZ
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
\":\"2021-10-14T18:06:47\",\"request-id\":\"*****\",\"client-request-id\
":\"*****\"}}}"
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?
Thank you both for the suggestions! I can access the SharePoint site via a web Browser.
https://ABC.sharepoint.com/sites/XYZ
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
opton 3 looks like it should work. seems to match up with your https://ABC.sharepoint.com/sites/XYZ 3 Sharepoint site name or URL (e.g. mysite or https://contoso.sharepoint.com/sites/mysite)
about the edu account, this instructions failed to work? https://rclone.org/webdav/#sharepoint-online
"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?
In any case, I realized that I needed to add domain as part of user (USER@ABC.edu rather than USER which is used in browsers) and it is now working!
[odrive-webdav]
type = webdav
url = https://ABC.sharepoint.com/sites/XYZ/Shared Documents
vendor = sharepoint
user = USER@DEF.edu
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?