[SPO-PowerShell] User-Friendly script to enable or disable DenyAddAndCustomizePages
Official article: https://learn.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script#to-allow-custom-script-on-other-sharepoint-sites So, here goes: #gathering the tenant name Write-Host “DenyAddAndCustomizePages checker and enabler/disabler” write-host “=====================================================” $tenantname = Read-Host “Enter your tenant’s name” #connecting […]