SOLVED

Style Library has permission issues SharePoint Online

%3CLINGO-SUB%20id%3D%22lingo-sub-2100824%22%20slang%3D%22en-US%22%3EStyle%20Library%20has%20permission%20issues%20SharePoint%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2100824%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20site%20administrator%20but%20when%20I%20am%20uploading%20or%20creating%20something%20under%20style%20library%2C%20it%20is%20giving%20error%20permission%20denied.%20The%20permission%20on%20library%20is%20inherited%20from%20site%20while%20I%20am%20also%20in%20owner%20group.%20What%20can%20be%20the%20reason%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2100824%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
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)
Solution

@Ali Murtaza the issue is due to no script.

 

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