Authentication Succeeds when Debugging but Fails on Azure App Service

前端 未结 1 1291
暗喜
暗喜 2021-01-14 18:32

I am simply getting some users from SharePoint using CSOM using the below method. This has always worked for me and I\'ve had no issues.

All of a sudden, when I try

相关标签:
1条回答
  • 2021-01-14 19:23

    Since the credentials are correct, it may be that Multi-Factor Authentication is enabled and a policy may be triggering it for this account. If that is the case, you could disable MFA for that specific account.

    Also, the AuthenticationManager class that is part of the PnP Core library may be beneficial as it is helpful for various authentication scenarios.

    0 讨论(0)
提交回复
热议问题