SPFx: Can't view Install Errors
Simple solution is to disable "DenyAddAndCustomizePages" to just enable those pages for the site collection
NOTICE - its site collection level
$tenantUrl = "https://<tenant>-admin.sharepoint.com"
Connect-SPOService -Url $tenantUrl
$siteUrl = "https://<tenant>.sharepoint.com/sites/teamsiteexample"
Set-SPOSite -Identity $siteUrl -DenyAddAndCustomizePages $false
Disconnect-SPOService
You can always change it back to $true
Comments
Post a Comment