Login to your SharePoint admin center, select settings in the left navigation and navigate to classic settings page option.
Scroll down until you see the Custom Script section. Here you can define if custom scripts are allowed or not.
Login to your SharePoint admin center, select settings in the left navigation and navigate to classic settings page option.
Scroll down until you see the Custom Script section. Here you can define if custom scripts are allowed or not.