-
I have code to add a property bag value with C# using PnP.Core (1.9)
it returns an error "CSOM service exception" "Message: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"
But I can't figure out the PnP.Core equivalent Can anyone help here? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@Ofer-Gal : In PnP Core SDK this can be done using the admin library by setting the DenyAddAndCustomizePages property of an |
Beta Was this translation helpful? Give feedback.
@Ofer-Gal : In PnP Core SDK this can be done using the admin library by setting the DenyAddAndCustomizePages property of an
ISiteCollection
. To learn how to set a site collection property see https://pnp.github.io/pnpcore/using-the-sdk/admin-sharepoint-sites.html#getting-and-setting-site-collection-properties