# access denied content type policy templates

- Link: https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/
- Published: 2020-01-16T01:09:46+05:30
- Author: Deviprasad Panda

I was getting access denied error while creating content type [policy ](https://support.office.com/en-us/article/introduction-to-information-management-policies-63a0b501-ba59-44b7-a35c-999f3be057b2)
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.

 Advertisements

![site settings option in sharepoint online for the error access denied content 
type policy templates](https://i0.wp.com/sharepointtechnicalsupport.com/wp-content/
uploads/2025/06/95a90-site-settings-sharepoint.jpg?resize=584%2C278&ssl=1)

site settings in sharepoint

 Advertisements

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

![access denied content type policy templates](https://i0.wp.com/sharepointtechnicalsupport.
com/wp-content/uploads/2025/06/9034d-access-denied-content-type-policy-templates.
jpg?resize=584%2C227&ssl=1)

 access denied error while creating content type policy templates

 Advertisements

## 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](https://i0.wp.com/sharepointtechnicalsupport.
com/wp-content/uploads/2025/06/3aa3b-enable-custom-script-sharepoint-online.jpg?
resize=584%2C161&ssl=1)

enable custom script sharepoint online

 Advertisements

### Enable Custom script in site

next step to enable cutom script in site using [powershell ](https://sharepointtechnicalsupport.com/category/powershell/)

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

 Advertisements

watch the video below to see all steps for your reference

 Advertisements

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?subject=%5BShared%20Post%5D%20access%20denied%20content%20type%20policy%20templates&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2020%2F01%2F16%2Faccess-denied-content-type-policy-templates%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2020/01/16/access-denied-content-type-policy-templates/?share=pinterest)

### Like this:

Like Loading…

### _Related_
