Forum Discussion

Ali Murtaza's avatar
Ali Murtaza
Brass Contributor
Jan 27, 2021
Solved

Style Library has permission issues SharePoint Online

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?

  • Ali Murtaza the issue is due to no script.

     

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

1 Reply

  • Ali Murtaza's avatar
    Ali Murtaza
    Brass Contributor

    Ali Murtaza the issue is due to no script.

     

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

Resources