Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Adding drives via "Sync" in SharePoint #48

Open
asppsa opened this issue Apr 16, 2019 · 2 comments
Open

Adding drives via "Sync" in SharePoint #48

asppsa opened this issue Apr 16, 2019 · 2 comments

Comments

@asppsa
Copy link

asppsa commented Apr 16, 2019

This is using the #26 branch ...

If I go into the Sharepoint web interface for my organisation and click the "Sync" button, I see the following message:

image

The "Copy library ID" link in that box when clicked inserts a WWW-form encoded string into the clipboard, like the following (this is a fake with sensitive data removed):

tenantId=26aa910b-77f6-4f02-bcf0-760df99e7ff4&siteId=%7B62bb49d9-7d20-45d5-8324-d0c3fb762e00%7D&webId=%7Bdb184d3f-4920-4b9f-a607-98127ee7a3e4%7D&listId=%7B6f683863-4761-4d00-92c7-8d8b5eec850c%7D&webUrl=https%3A%2F%2Fsomesite.sharepoint.com&version=1

The tenantId looks like a plain UUID. The siteId, listId and webId all look like UUIDs enclosed in curly braces. I think this is a Sharepoint ID? I was wondering if you think it would be feasible to add something like a --library-id option to onedrive-client-pref drive set in order to use SharePoint drives?

@derrix060
Copy link
Owner

Hello @asppsa! I've never used a sharepoint drive before, but I can look at this if I'm able to create one driver for myself. Also fell free to create a PR if you are able to implement it.

@abraunegg
Copy link

@asppsa
Might be worth looking at this:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants