Closed muskaan62 closed 1 month ago
Hello @muskaan62 : This repo is for MSAL Java, and while our library is used by JDBC the error message seems to be coming directly from them: https://github.com/microsoft/mssql-jdbc/blob/ffa5e1fa9cc1a490ed10d86b39a7c8b887488d89/src/main/java/com/microsoft/sqlserver/jdbc/SQLServerResource.java#L514
Are you also using MSAL directly for something else? If not I recommend opening up a question in the JDBC repo, they should be able to provide better guidance: https://github.com/microsoft/mssql-jdbc/issues
Thanks @Avery-Dunn I am good now. Looks like driver and library version matters here
Library version used
1.15.1
Java version
11
Scenario
Other - please specify
Is this a new or an existing app?
None
Issue description and reproduction steps
I am trying to connect to azure sql db via ActiveDirectoryServicePrincipalCertificate authentication. when i am using client certificate and private key its working But when i am using client certificate private key and passphrase its failing. with below stack trace.
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response