Power Autamate
1 TopicAdd link to SharePoint Document Library to OneDrive programmatically with PowerShell or PA
Hello, I have a document library on a SharePoint Online Site that needs to be added as a shortcut in each user's OneDrive. Obviously, you can do this individually as the user, but I would like to add this link to each user's OneDrive now, and every time a new user account is created in the future(Will take care of this later). This is required as the leadership for my organization wants users to be able to view the library from their file explorer, but open the file in their browser. (Add Shortcut to OneDrive functionality). The Sync functionality is not acceptable. The "1C" folder here was added by clicking the "Add Shortcut to OneDrive" button on the SPO Document library itself. I would like to achieve the same result, just programmatically for each user. Any advice is greatly appreciated. I am aware of how to create new files in Power Automate and PowerShell, but cannot seem to create the same link as achieved with the "Add Shortcut to OneDrive" button. Thank you in advance for your time, Cam13KViews0likes9Comments