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. 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’:


    Picture 2


  4. 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

Comments

  • Avatar
    Morten Schouenborg

    Image is missing

Please sign in to leave a comment.

Powered by Zendesk