Initial One Drive Sync using URL

Copper Contributor

Hi all,

 

I'm very new to this - thanks in advance for any help - greatly appreciated.

 

I regularly have to sync new onedrive folders for different projects at work - each onedrive site has multiple sub folders that have to be synced individually and manually, by going to each page, clicking through the 'sync' box and then the prompts on one drive for business.

 

I am aiming to create a URL that would sync a folder without any other input so that it can be added to a short script to cycle through multiple folders.

 

I currently have the generic URL below (where 'HERE' can be replaced by each item), and am using the site URL instead of the various IDs, as I understand that these are interchangeable in the latest iterations of onedrive, but it doesnt seem to be working

 

odopen://sync/?siteId=SiteID_HERE&webId=WebID_HERE&listId=ListID_HERE&userEmail=UserEmail_HERE&webUrl=WebURL_HERE"

 

Any help greatly appreciated by me and all my colleagues!

 

0 Replies