Sharepoint - copy folder to local onedrive, work on files, sync automatically

Copper Contributor

We have a new SharePoint system for our company, where people also have OneDrive. I would like to:

1) Copy/share an entire folder in Sharepoint to OneDrive

2) Work (eg, in Word, Visio, PDFs, etc.) on elements of the folder in OneDrive, including adding new files

3) Have the changes be synced with SharePoint, preferably automatically, but can be manually

4) At some point, break the connection/share and delete the folder from OneDrive (But keep the now-synchronized SharePoint folder).

 

Note: Our folders typically have subfolders, which would also have to be synced. 

 

Is it possible to do all of this? 

 

Thank you.

2 Replies

@ctviggen Yes, you can do all of them through Power automate:

Choose "SharePoint - When a file is created or modified" as the trigger.
Select the folder in SharePoint that you want to copy or share and set the trigger to monitor for changes.
Choose "OneDrive for Business - Create folder" as the action.
Set the folder name and the path to the folder in OneDrive where you want to copy or share the folder.
Click on "Save" to complete the process.

Here you can find an example:
https://microsoft365.today/breaking-the-connection-and-deleting-folders-from-onedrive-with-power-aut...

 

 

 

Hi @ctviggen 

in that case just go to your SharePoint library and select "Add shortcut to OneDrive"

Shortcut.png
You will get a new folder in Onedrive that is synced to that SharePoint folder (including sub folders).

Best Regards,
Sven