Unable to disable NoScript on new communication sites

%3CLINGO-SUB%20id%3D%22lingo-sub-89456%22%20slang%3D%22en-US%22%3EUnable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-89456%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20of%20yesterday%2C%20I%20noticed%20that%20new%20communication%20sites%20I%20created%20had%20NoScript%20enabled%20by%20default.%20This%20was%20not%20the%20case%20a%20few%20weeks%20ago%20when%20I%20wrote%20this%20post%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdannyjessee.com%2Fblog%2Findex.php%2F2017%2F07%2Fsharepoint-online-modern-team-sites-are-noscript-sites-but-communication-sites-are-not%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdannyjessee.com%2Fblog%2Findex.php%2F2017%2F07%2Fsharepoint-online-modern-team-sites-are-noscript-sites-but-communication-sites-are-not%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFurthermore%2C%20I%20was%20not%20able%20to%20disable%20NoScript%20on%20new%20communication%20sites%20by%20running%20this%20cmdlet%2C%20the%20way%20I%20would%20disable%20NoScript%20on%20a%20modern%20team%20site%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-SPOSite%20%3CA%20href%3D%22https%3A%2F%2Fdjsp.sharepoint.com%2Fsites%2Fcomm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdjsp.sharepoint.com%2Fsites%2Fcomm%3C%2FA%3E%20-DenyAddAndCustomizePages%200%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20confirmed%20this%20cmdlet%20still%20works%20for%20newly%20created%20modern%20team%20sites%2C%20but%20on%20communication%20sites%20I%20get%20the%20following%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESet-SPOSite%20%3A%20SPOTenantSiteCollectionProvider%3A%3ASetSiteProperties%20-%20Site%20%3CA%20href%3D%22https%3A%2F%2Fdjsp.sharepoint.com%2Fsites%2Fcomm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdjsp.sharepoint.com%2Fsites%2Fcomm%3C%2FA%3E%20not%20found%20in%20Grid%2C%20but%20TAPS_Sites_UseSharePoint%20flight%20in%20ONReverting%20to%20GM-based%20set-sposite%20(old)%20behavior%20for%20now%3CBR%20%2F%3EAt%20line%3A1%20char%3A1%3CBR%20%2F%3E%2B%20Set-SPOSite%20%3CA%20href%3D%22https%3A%2F%2Fdjsp.sharepoint.com%2Fsites%2Fcomm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdjsp.sharepoint.com%2Fsites%2Fcomm%3C%2FA%3E%20-DenyAddAndCustomi%20...%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5BSet-SPOSite%5D%2C%20ServerException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20Microsoft.SharePoint.Client.ServerException%2CMicrosoft.Online.SharePoint.PowerShell.SetSite%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20any%20insight%20you%20can%20provide!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-89456%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222911%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222911%22%20slang%3D%22en-US%22%3EThis%20seems%20to%20have%20done%20it%20%3A)%3C%2Fimg%3E%20thanks%20for%20the%20quick%20reply%20Dennis!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20know%20it's%20not%20related%20but%20I%20havent%20found%20a%20way%20to%20enable%20the%20possibility%20to%20have%20Planner%20Web%20Part%20into%20a%20Communication%20site.%20Do%20you%20know%20a%20work%20around%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222656%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222656%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F65683%22%20target%3D%22_blank%22%3E%40Sebastien%20Gagne%3C%2FA%3E%2C%20just%20tried%20the%20Set-SPOSite%20cmdlet%26nbsp%3Bwith%20version%26nbsp%3B16.0.7723.0%20of%20SharePoint%20Online%20Management%20Shell%20and%20I%20am%20not%20getting%20an%20error%20anymore%20when%20using%20the%20-DenyAddAndCustomizePages%20parameter.%20So%20it%20should%20be%20fixed%20now.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20you%20tried%20downloading%20the%20latest%20SharePoint%20PowerShell%20module%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D35588%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D35588%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-222578%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-222578%22%20slang%3D%22en-US%22%3E%3CP%3EStill%20having%20this%20issue%20with%20Communication%20sites%2C%20did%20some%20of%20you%20saw%20it%20rolled%20out%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-92900%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-92900%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Danny%2C%20good%20to%20hear%20they%26nbsp%3Bhave%20created%20a%20fix.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-92200%22%20slang%3D%22en-US%22%3ERE%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-92200%22%20slang%3D%22en-US%22%3ELooks%20like%20a%20fix%20is%20on%20the%20way!%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F744%23issuecomment-319447112%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-docs%2Fissues%2F744%23issuecomment-319447112%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-91576%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-91576%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20also%20keeping%20an%20eye%20on%20those%20threads.%20So%20I%20will%20post%20an%20update%20if%20I%20come%20across%20a%20solution.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-90409%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-90409%22%20slang%3D%22en-US%22%3EThanks%20for%20shedding%20some%20light%20on%20this!%20It%20definitely%20appears%20to%20be%20a%20larger%20issue%20than%20the%20singular%20problem%20I%20had%20encountered.%20Will%20keep%20an%20eye%20on%20those%20other%20threads%20as%20well.%20Thanks%20again!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-90407%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20disable%20NoScript%20on%20new%20communication%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-90407%22%20slang%3D%22en-US%22%3E%3CP%3EI%20got%20the%20same%20issue%20when%20running%20this%20command%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FError-when-running-Set-SPOSite-for-new-Community-site%2Ftd-p%2F85652%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FError-when-running-Set-SPOSite-for-new-Community-site%2Ftd-p%2F85652%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIn%20general%20Set-SPOSite%20doesn't%20seem%20to%20work%20with%20the%20new%20Communication%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20another%20thread%20on%20the%20Tech%20Community%20I%20saw%20an%20Microsoft%20employee%20was%20investigating%20this%20behaviour%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FAnonymous-Sharing-not-working-with-Communication-sites%2Fm-p%2F84966%2Fthread-id%2F7898%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FSharePoint%2FAnonymous-Sharing-not-working-with-Communication-sites%2Fm-p%2F84966%2Fthread-id%2F7898%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

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

 

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!

8 Replies
Highlighted

I got the same issue when running this command: https://techcommunity.microsoft.com/t5/SharePoint/Error-when-running-Set-SPOSite-for-new-Community-s...


In general Set-SPOSite doesn't seem to work with the new Communication site.

 

In another thread on the Tech Community I saw an Microsoft employee was investigating this behaviour:
https://techcommunity.microsoft.com/t5/SharePoint/Anonymous-Sharing-not-working-with-Communication-s...

 

Highlighted
Thanks for shedding some light on this! It definitely appears to be a larger issue than the singular problem I had encountered. Will keep an eye on those other threads as well. Thanks again!
Highlighted

I am also keeping an eye on those threads. So I will post an update if I come across a solution.

Highlighted
Highlighted

Thanks Danny, good to hear they have created a fix.

Highlighted

Still having this issue with Communication sites, did some of you saw it rolled out? 

Highlighted

@Sebastien Gagne, just tried the Set-SPOSite cmdlet with version 16.0.7723.0 of SharePoint Online Management Shell and I am not getting an error anymore when using the -DenyAddAndCustomizePages parameter. So it should be fixed now.

 

Have you tried downloading the latest SharePoint PowerShell module?
https://www.microsoft.com/en-us/download/details.aspx?id=35588

Highlighted
This seems to have done it :) thanks for the quick reply Dennis!

I know it's not related but I havent found a way to enable the possibility to have Planner Web Part into a Communication site. Do you know a work around?