Forum Discussion

Paweł Patalong's avatar
Paweł Patalong
Copper Contributor
Feb 08, 2017
Solved

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...
  • Dhirendra Yadav's avatar
    Dhirendra Yadav
    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

Resources