SharePoint Authorization integration can not authorize with Client Credentials #1602
Labels
Follow Up
The issue has an open question and must be followed up on
Integration
GitHub request for Integration area
Please include the following with each issue:
1. Describe the bug
After using codeunit 9142 "SharePoint Auth." to initialize my Codeunit "SharePoint Client" with ClientCredentials (AadTenantId, ClientId, Certificate, CertificatePassword & Scope), when using said SharePoint Client to connect to SharePoint, a .NET error is thrown:
"A call to Microsoft.Dynamics.Nav.Runtime.ALAzureAdCodeGrantFlow.ALAcquireApplicationTokensWithCertificate failed with this message: The specified network password is not correct."
All Input Parameters have been checked, and the Client has full delegated and application site access to SharePoint:
2. To Reproduce
Steps to reproduce the behavior:
3. Expected behavior
Authorization against SharePoint is granted, in case of CreateTestFolder(), the desired folder is created in the SharePoint Site
4. Actual behavior
When trying to use the SharePoint Client (for example, to create a folder), a .NET error is thrown:
"A call to Microsoft.Dynamics.Nav.Runtime.ALAzureAdCodeGrantFlow.ALAcquireApplicationTokensWithCertificate failed with this message: The specified network password is not correct."
5. Versions:
The text was updated successfully, but these errors were encountered: