Tag Archives: Access denied uploading template content type

Access Denied Content Type Policy Templates

access denied content type policy templates

I was getting access denied error while creating content type policy template in sharepont online. i tried the solution as below to resoleve the issue. let’s disucss how to resolve access denied content type policy templates error. the solution is applicable for the error Access denied uploading template to content type.

  • Navigate to site settings in sharepoint and click on “content type policy template” to create a custom policy template.
site settings option in sharepoint online for the error access denied content type policy templates
site settings in sharepoint

Error “access denied content type policy templates” screenshot as below

access denied content type policy templates
access denied error while creating content type policy templates

Solution

Enable below settings in sharepoint admin center.

  • Allow users to run custom script on personal sites
  • Allow users to run custom script on self-service created sites
enable custom script sharepoint online
enable custom script sharepoint online

Enable Custom script in site

next step to enable cutom script in site using powershell

Connect-SPOService -Url <sharepoint admin center url>
Set-SPOSite -Identity <site url> -DenyAddAndCustomizePages 0

watch the video below to see all steps for your reference

Advertisements