Style Library has permission issues SharePoint Online

Occasional Contributor

Dear All,


I am site administrator but when I am uploading or creating something under style library, it is giving error permission denied. The permission on library is inherited from site while I am also in owner group. What can be the reason?

1 Reply
best response confirmed by Ali Murtaza (Occasional Contributor)

@Ali Murtaza the issue is due to no script.


Connect-SPOService -Url https://<tenantname>
Set-SPOSite -Identity https://<SiteUrl> -DenyAddAndCustomizePages 0