- Sign in to Office 365 as a global admin or SharePoint admin.
- Select the app launcher icon in the upper-left and choose Admin to open the Office 365 admin center. (If you don't see the Admin tile, you don't have Office 365 administrator permissions in your organization.)
- In the left pane, choose Admin centers > SharePoint.
- Select settings.
- Under Custom Script choose:
- Allow users to run custom script on personal sites.
- Allow users to run custom script on self-service created sites.
Before you allow custom script on sites in your organization, make sure you understand the security implications, read more in this Microsoft article..
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article