onedrive icon indicating copy to clipboard operation
onedrive copied to clipboard

Feature Request: Support SharePoint shortcuts | links when using 'Add Shortcut to My Files'

Open ZDVokoun opened this issue 4 years ago • 5 comments

Is your feature request related to a problem? Please describe. I want to sync folders from lots of Sharepoint sites, that I've added to my OneDrive via Add shortcut to OneDrive feature. But when I run onedrive --synchronize, it will sync only my own files.

Example: Capture

Describe the solution you'd like The program will sync these shortcuts as if it were my files.

Describe alternatives you've considered I've considered getting drive IDs of all the SharePoint sites but it hasn't found some sites although I've checked every character (I have this problem especially with SharePoint sites with numbers in their name).

Additional context Add any other context or screenshots about the feature request here.

ZDVokoun avatar Jan 15 '21 13:01 ZDVokoun

@ZDVokoun SharePoint sites are supported via this process only: https://github.com/abraunegg/onedrive/blob/master/docs/SharePoint-Shared-Libraries.md

The actual problem is an API issue. The API does not provide any response as to the SharePoint links when the API is queried.

Until the API issue is resolved, this cannot be fixed. Using 'Add Shortcut to My Files' is not supported.

Refer to: https://github.com/OneDrive/onedrive-api-docs/issues/1427 for further details.

abraunegg avatar Jan 15 '21 19:01 abraunegg

@abraunegg am I correct that we currently cannot sync "Shared Folders" or "Shortcuts to Folders" via the onedrive client here?

The only way to do so is either i) make an explicit copy in your own onedrive, or ii) create a SharedPoint library?

adam2392 avatar May 06 '21 18:05 adam2392

What's everyone's workarounds here? I highly appreciate the well written documentation which allows me to setup SharePoint sync, but that's not ideal because then I need one per Team.

ngoonee avatar Sep 07 '22 00:09 ngoonee

@ngoonee

What's everyone's workarounds here?

There is no workaround. The API does not provide the same functionality as the OneDrive web interface. Raise you concern and issue with Microsoft.

The only thing you can do is have multiple configurations.

abraunegg avatar Sep 07 '22 09:09 abraunegg

What's everyone's workarounds here?

There is no workaround. The API does not provide the same functionality as the OneDrive web interface. Raise you concern and issue with Microsoft.

The only thing you can do is have multiple configurations.

Thanks, I already did that on the linked OneDrive git issue. Posted here to see if users had some form of hack (closest I've gotten so far is having multiple configurations in nested directories, but that seems unwise).

ngoonee avatar Sep 07 '22 13:09 ngoonee

This actually works for me. I was searching for a method on how to sync only one folder in a library and then ended up doing it this way.

CaptaiNiveau avatar Nov 08 '22 11:11 CaptaiNiveau

Closing this issue as the MS Graph API needs to support this capability first.

Please raise your request to Microsoft.

abraunegg avatar Mar 29 '23 07:03 abraunegg

@abraunegg The issue you opened and linked to in your first response (https://github.com/OneDrive/onedrive-api-docs/issues/1427) has been closed and locked due to an issue clean up effort in the meantime, but I believe the main blocker for this request remains exactly the same, right?

Do you want interested users to open a new issue in the onedrive-api-docs repo themselves or could you open a new one since you reported the original one as well?

EDIT: Nevermind, someone already opened a follow-up issue I see. Since there has been no movement on this from Microsoft for a long time I can understand wanting to close the issue over here as long as nothing can be done about it, sorry for the ping.

prettyv avatar Mar 29 '23 19:03 prettyv

@prettyv

EDIT: Nevermind, someone already opened a follow-up issue I see. Since there has been no movement on this from Microsoft for a long time I can understand wanting to close the issue over here as long as nothing can be done about it, sorry for the ping.

Please raise your request to @Microsoft

abraunegg avatar Mar 29 '23 20:03 abraunegg

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

abraunegg avatar Apr 06 '23 01:04 abraunegg