Sp-dev-docs: Error when running sample 'AuthenticationManager' Class

Created on 25 Jun 2020  Â·  5Comments  Â·  Source: SharePoint/sp-dev-docs

Hello,

CSOM Version: 16.1.20211.12000

When attempting to add the sample 'AuthenticationManager' class to a project the following error is encountered:

'ClientContext' does not contain a definition for 'FormDigestHandlingEnabled'

When using the previous (non-standard) version the project compiles correctly.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

csorest docs-comment answered question

All 5 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@jansenbe did mention in his demo that the FormDigestHandlingEnabled property is redundant so my guess is this was removed from the published version but it still exists in the docs.

Yeah, it seems to work just commenting it out.

As noted by @vman, this was by design related on the authentication changes with the package. All other areas are working in parity between different versions.

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ralms picture Ralms  Â·  3Comments

StfBauer picture StfBauer  Â·  3Comments

bengtmoss picture bengtmoss  Â·  3Comments

karishmaTCS picture karishmaTCS  Â·  3Comments

mikeparkie picture mikeparkie  Â·  3Comments