Forum Discussion
Ramson1809
Jun 29, 2020Copper Contributor
Bulk assign SharePoint Folder Permissions
Hi Experts, I am faced with a challenge where I need too assign different permissions to each of the 500+ sub-folders in a SharePoint folder. This folder contains sub folders for each line manage...
Carlos_Marins
Jun 29, 2020Iron Contributor
Hi Ramson1809,
Maybe you could use the PnP PowerShell library to automatically set these permissions for you. Take a look at the Set-PnPFolderPermission command. You could use the -ClearExisting parameter to remove all existing permissions and then the -AddRole parameter to grant permission to the specified manager. Let me know if you need any help with that.
- Ramson1809Jun 29, 2020Copper ContributorThanks for your prompt response Carlos - very helpful. I will take a look at the links you have provided ๐