Forum Discussion
CamCov
Jun 05, 2023Copper Contributor
Add 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 l...
Jun 05, 2023
GPO policy sounds like what you're really looking for and then push it out when IT/Manager decides ?
https://learn.microsoft.com/en-us/sharepoint/use-group-policy#configure-team-site-libraries-to-sync-automatically
https://learn.microsoft.com/en-us/sharepoint/use-group-policy#configure-team-site-libraries-to-sync-automatically
- CamCovJun 05, 2023Copper ContributorHello, I appreciate your help, but this describes the Sync functionality which behaves differently than the shortcut functionality.
- Jun 06, 2023Yeha unfortunately there's nothing native that supports to push it to all, so it has to be a script and it's gonna be abit of a hassle.
What you can try this module, I've not tried it myself:
https://github.com/derpenstiltskin/onedriveshortcuts
@Lalit
I'm guessing ChatGPT response ? 🙂 As Add-PnPLink doesn't exist