Forum Discussion

Danny Jessee's avatar
Danny Jessee
Copper Contributor
Jul 24, 2017

Unable to disable NoScript on new communication sites

As of yesterday, I noticed that new communication sites I created had NoScript enabled by default. This was not the case a few weeks ago when I wrote this post:

 

https://dannyjessee.com/blog/index.php/2017/07/sharepoint-online-modern-team-sites-are-noscript-sites-but-communication-sites-are-not/

 

Furthermore, I was not able to disable NoScript on new communication sites by running this cmdlet, the way I would disable NoScript on a modern team site:

 

Set-SPOSite https://djsp.sharepoint.com/sites/comm -DenyAddAndCustomizePages 0

 

I confirmed this cmdlet still works for newly created modern team sites, but on communication sites I get the following error:

 

Set-SPOSite : SPOTenantSiteCollectionProvider::SetSiteProperties - Site https://djsp.sharepoint.com/sites/comm not found in Grid, but TAPS_Sites_UseSharePoint flight in ONReverting to GM-based set-sposite (old) behavior for now
At line:1 char:1
+ Set-SPOSite https://djsp.sharepoint.com/sites/comm -DenyAddAndCustomi ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-SPOSite], ServerException
+ FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SetSite

 

Thanks in advance for any insight you can provide!

Resources