Welcome to a blog on How to Enable or Disable Custom Script option on the SharePoint Sites at the SharePoint Admin Center on Office 365. Here in this blog we will see how to prevent or allow users from running custom script.

To customize you need to be a tenant admin. If you are, let’s see how we can do it.


  1. You can either choose to prevent users from running custom script on personal sites or allow them.

  2. Similarly you can either choose to prevent users from running custom script on self-service created sites or allow them.

As a tenant admin, you can control if you want your sites under this tenant to allow the execution of custom script or not.

Once you complete the configuration click on OK and the option will be available accordingly on all the site collection through this tenant.