Forum Discussion
Alan Trafford
Nov 29, 2016Brass Contributor
How do I set DenyAddAndCustomizePages using PnP?
Hi Is there a way I can set DenyAddAndCustomizePages using PnP? I know it can be done using "SharePoint Online Management Shell" via the Set-SPOSite command. However, this command does not ex...
- Apr 27, 2023
Alan Trafford This site will help you: Set-PnPTenantSite | PnP PowerShell
Set-PnPTenantSite -Identity "https://contoso.sharepoint.com/sites/sales" -DenyAddAndCustomizePages:$false
MichalSzm
Apr 27, 2023Copper Contributor
Alan Trafford This site will help you: Set-PnPTenantSite | PnP PowerShell
Set-PnPTenantSite -Identity "https://contoso.sharepoint.com/sites/sales" -DenyAddAndCustomizePages:$false