Ports
1 TopicLesson Learned #379: ADALNativeWrapper.ADALGetAccessToken error using AAD - Password Authentication
Analyzing one of the cases in which we encountered an error using Azure Active Directory with Password Authentication, I would like to share the lessons learned during this process, to understand why the error occurs, possible solutions for it, and an example to validate correct access to the resource. Stack Frame: at ADALNativeWrapper.ADALGetAccessToken(String username, IntPtr password, String stsURL, String servicePrincipalName, ValueType correlationId, String clientId, Boolean* fWindowsIntegrated, Int64& fileTime) at ADALNativeWrapper.ADALGetAccessToken(String username, String password, String stsURL, String servicePrincipalName, ValueType correlationId, String clientId, Int64& fileTime) at System.Data.SqlClient.ActiveDirectoryNativeAuthenticationProvider.c__DisplayClass2_0.