How to use ActiveDirectoryInteractive (MFA) in spring boot application for authenticating SQL server
Savio Vegnesa
56
Reputation points
We are trying to connect azure sql server using ActiveDirectoryInteractive method from spring boot application
We have addes following in application.property
spring.datasource.url=jdbc:sqlserver://servername:portNo;database=databaseName;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;
spring.datasource.hikari.data-source-properties.authentication=ActiveDirectoryInteractive
But we are getting error as
com.microsoft.aad.msal4j.MsalClientException: Unable to open default system browser
Sign in to answer