In SharePoint Online, I want to activate "Modern Script Editor Feature" from Site features page but it is not visible/available.

How to enable this feature for activation?

The below screenshot is from a Tenant where this feature is available but this feature is missing in my tenant

enter image description here

  • I don't see any modern script editor site feature in my tenant as well. Is this any custom feature developed by developers in your company? If Yes, you have to deploy it to another tenant as well. Feb 27, 2021 at 7:33

2 Answers 2


I think you are tying to use classic feature of SharePoint in SharePoint online.

SharePoint online site script editor web part is not available by default. In order to make it available, we need to enable the custom script from the SharePoint Tenant admin center.

You can enable it by going to below URL


Now select to allow users to run the custom script for both the radio button for below given Option.

Allow users from running custom script on personal sites. Allow users from running custom script on self-service created sites)

after this setting You have to wait for 24 hours after that custom script will be enable on your site


There is no "Modern Script Editor Feature" in SharePoint online.

If you are referring to Modern script editor web parts developed using SPFx then check below samples:

  1. react-script-editor
  2. Modern CEWP by SPJS

Or if you are talking about allowing custom scripts in SharePoint online, check below Microsoft official documentation:

Allow or prevent custom script

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.