Forum Discussion
CSOM - Web Property Bag on Root Tenant site issue
- 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
Have you tried SP DEV tools extension for Chrome?
https://chrome.google.com/webstore/detail/chrome-sp-dev-tools/efhiadiopfkjpdihdmlccoffnpdblkho
I do nopt have any modern sites in my prod tenant to try this one, but the tools lets you get to the web property bag and edit them if you have permissions.
worth a shot.