Menu

Search

KWizCom Support Center


How to enable custom scripting on a group site


dean
Apps

Question

Why doesn't my KWizCom app work on a group site?  I've enabled custom scripting tenant wide already.

Answer

Most KWizCom Apps require custom scripting to be enabled in order to work. Script files are normally blocked by default within SharePoint and because our apps use JavaScript in order to function, that means that if custom scripting is denied on a site, our products will not function. Group sites are excluded when enabling custom scripting tenant wide and thus this has to be done manually at the group site using Powershell.

In order to enable custom scripting for a group site, run the following command in Powershell:

Connect-SPOService -Url https://[yourtenant]-admin.sharepoint.com -credential admin@[tenant].onmicrosoft.com Set-SPOSite -Identity https://[yourtenant].sharepoint.com/[siteurl] -DenyAddAndCustomizePages 0

This can be done via SharePoint Online Management Shell and does not require you to wait 24 hours as opposed to doing this tenant wide via the SharePoint Admin center.

More information regarding how to enable custom scripting in various methods can be found here:

https://www.koskila.net/how-to-enable-custom-scripts-for-a-sharepoint-online-site-collection 


On a scale of 1-5, please rate the helpfulness of this article


Not Helpful
Very Helpful
Optionally provide private feedback to help us improve this article...

Thank you for your feedback!


Comments require login or registration.

Details
Last Modified: 2 Months Ago
Last Modified By: dean
Type: HOWTO
Article not rated yet.
Article has been viewed 108 times.
Options
Also In This Category