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.
Error “access denied content type policy templates” screenshot as below
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 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