Sites Administrator Is Locked Out of Performing Certain Actions on SP Server 2019

%3CLINGO-SUB%20id%3D%22lingo-sub-548748%22%20slang%3D%22en-US%22%3ESites%20Administrator%20Is%20Locked%20Out%20of%20Performing%20Certain%20Actions%20on%20SP%20Server%202019%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-548748%22%20slang%3D%22en-US%22%3E%3CP%3EWe%E2%80%99ve%20set%20up%20SharePoint%20Server%202019%20and%20I%20have%20full%20admin%20rights.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20a%20folder%20in%20the%20Style%20Library%20and%20cannot%20rename%2C%20move%20or%20delete%20that%20folder%20on%20the%20front%20end%20web%20application%20or%20with%20SharePoint%20Designer%202013.%26nbsp%3B%20The%20error%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E2%80%9C%3CEM%3EAccess%20denied.%20You%20do%20not%20have%20permission%20to%20perform%20this%20action%20or%20access%20this%20resource%3C%2FEM%3E.%22%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20type%20of%20lock-down%20should%20not%20happen%20for%20a%20site%20collection%20admin%20and%20owner.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20reference%20to%20running%20the%20following%20script%2C%20in%20powershell%2C%20that%20has%20seemed%20to%20work%20for%20SP%20online%20(Office%20365)%20version%3A%3C%2FP%3E%3CP%3E%3CEM%3E%24adminUPN%3D%22jdoe%40contosotoycompany.onmicrosoft.com%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3E%24userCredential%20%3D%20Get-Credential%20-UserName%20%24adminUPN%20-Message%20%22Type%20the%20password.%22%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3EConnect-SPOService%20-Url%20%5Bsharepoint%20admin%20site%20url%5D%20-Credential%20%24userCredential%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CEM%3ESet-SPOsite%20%3CSITEURL%3E%20-DenyAddAndCustomizePages%200%3C%2FSITEURL%3E%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20if%20the%20same%20or%20similar%20script%20can%20be%20used%20for%20SharePoint%20Server%202019%2C%20on%20premises%2C%20or%20if%20there%20some%20other%20way%20to%20remedy%20this%20permission%20issue%20for%20site%20Admins%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20clarify%20-%20this%20behavior%20is%20only%20happening%20on%20site%20collections%20of%20the%20root%20site.%20I%20do%20not%20have%20the%20issue%20on%20the%20root%20site.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-548748%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

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:

$adminUPN="jdoe@contosotoycompany.onmicrosoft.com"

$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.

0 Replies