powershell
powershell copied to clipboard
Update AddListFoldersToSiteTemplate.cs
Type
- [X] Bug Fix
- [ ] New Feature
- [ ] Sample
What is in this Pull Request ?
When using Pnp.Powershell command "Add-PnPListFoldersToSiteTemplate", "Limited Access" roleBindings are added to the pnp file template, causing an issue when trying to deploy the pnp template using the "Invoke-PnpSiteTemplate". Updated the file AddListFoldersToSiteTemplate.cs to skip all "Limited Access" roleBindings when getting folders.