You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the "DenyAddAndCustomizePages" on site properties, it's throwing a PnP.Core.CsomServiceException with the message "The requested operation is part of an experimental feature that is not supported in the current environment.". The value is actually set in SharePoint but we shouldn't be getting an exception returned. Potentially is a Microsoft update that is making this occur.
Both settings cause an issue:
Steps to reproduce
When calling the 'Update' method it throws the exception PnP.Core.CsomServiceException
Expected behavior
No Exception is thrown when it successfully sets in SharePoint.
We had the same issue and switched back to CSOM for this, because there it is still working. Our production environment was affected and we needed a solution for this issue fast. What we also determined is, that even if the error occurred, the state has still been changed. Nevertheless this issue should be looked into and getting fixed.
While PnP Core uses hand crafted CSOM requests for this, it looks like there is still a difference between the requests of the original library and PnP, which then triggers a different path on the server.
Category
Describe the bug
When setting the "DenyAddAndCustomizePages" on site properties, it's throwing a PnP.Core.CsomServiceException with the message "The requested operation is part of an experimental feature that is not supported in the current environment.". The value is actually set in SharePoint but we shouldn't be getting an exception returned. Potentially is a Microsoft update that is making this occur.
Both settings cause an issue:
Steps to reproduce
When calling the 'Update' method it throws the exception PnP.Core.CsomServiceException
Expected behavior
No Exception is thrown when it successfully sets in SharePoint.
Environment details (development & target environment)
Additional context
Thanks for your contribution! Sharing is caring.
The text was updated successfully, but these errors were encountered: