Forum Discussion
Paweł Patalong
Feb 08, 2017Copper Contributor
CSOM - Web Property Bag on Root Tenant site issue
Hey! Just a post to inform that there is a bug (or maybe a feature?) where you cannot modify property bag values on root tenant site. For example: https://company.sharepoint.com Even as a gl...
- Mar 16, 2017
This behaviour is because the "The Root Site Collection of the Tenant" have scripting capabilities disabled (it's a so-called NoScript site).
If you need to be able to update the property bag for the web then you can enable the same on the site.
Refer to the following Microsoft support article for details on enabling this functionality for the Root Site Collection of the Tenant.
https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
Luis Mañez
Feb 09, 2017MVP
Weird. I haven't had that issue. However, I've read that with Modern team sites, you cannot Access or Update property bags:
https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-sites
Not sure if it can be related somehow.
https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-sites
Not sure if it can be related somehow.