We’ve set up SharePoint Server 2019 and I have full admin rights.
I created a folder in the Style Library and cannot rename, move or delete that folder on the front end web application or with SharePoint Designer 2013. The error is:
“Access denied. You do not have permission to perform this action or access this resource."
This type of lock-down should not happen for a site collection admin and owner.
There is a reference to running the following script, in powershell, that has seemed to work for SP online (Office 365) version:
$userCredential = Get-Credential -UserName $adminUPN -Message "Type the password."
Connect-SPOService -Url [sharepoint admin site url] -Credential $userCredential
Set-SPOsite <SiteURL> -DenyAddAndCustomizePages 0
Does anyone know if the same or similar script can be used for SharePoint Server 2019, on premises, or if there some other way to remedy this permission issue for site Admins?
To clarify - this behavior is only happening on site collections of the root site. I do not have the issue on the root site.