Enabling Custom Script Option

To ensure courses and training plans are created successfully you need to have ‘Custom Script’ options enabled in the tenant settings.

To do this, follow the steps:
  1. Go to the SharePoint Admin Center.
  2. Select Settings.
  3. Click classic settings page at the bottom of the page.
  4. Under Custom Script select ‘Allow users to run custom script on personal sites’ and ‘Allow users to run custom script on self-service created sites’:


  5. Click OK button. It takes about 24 hours for the change to take effect.

For more information see the following link.


For the correct work with the Course Catalog, please run Custom Scripting for each newly created one. To do this, please open SharePoint Online Management Shell, and then run the following commands:

Connect-SPOService -Url https://TENANT-admin.sharepoint.com -Credential admin@TENANT.onmicrosoft.com

Set-SPOSite -Identity https://TENANT.sharepoint.com/sites/SITE -DenyAddAndCustomizePages 0
Was this article helpful?
1 out of 3 found this helpful
Have more questions? Submit a request


  • Avatar
    Morten Schouenborg

    Image is missing

    Comment actions Permalink

Please sign in to leave a comment.