Site Script to set Library Permissions

New Contributor

I have been asked to create a site template with 12 Document Libraries and each library has different permissions. I have no issues creating the site script to all the libraries with their columns but I don't know how to set the O365 groups to each library as required. Is this possible with Site Scripts? 

 

I have solved this with a very complicated Power Automate Script, but I am trying to make something that is more user friendly for my customers.

0 Replies