-
Hi, I get the mentioned error when trying to add a string property to the root web property bag. code: using var ctx = pnpFactory.Create("<url>", customAuthProvider);
ctx.Web.Load(o => o.AllProperties);
ctx.Web.AllProperties["some-key"] = "some-value";
ctx.Web.AllProperties.Update.Update(); // throws Access is denied log:
|
Beta Was this translation helpful? Give feedback.
Answered by
viceice
Sep 6, 2024
Replies: 1 comment
-
It's due to blocked custom scripts1 Footnotes |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
viceice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's due to blocked custom scripts1
Footnotes
https://learn.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script ↩