How to connect Azure database through Java and with “AD- Universal with MFA support” authentication

By | October 5, 2018
Questions:

I have to connect to Azure DB with Authentication “AD- Universal with MFA support” using JDBC.

I got my connection string from azure portal but getting below

error:com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user ‘*******’

Java code found is for “AD- Integrated” and “AD- Password” authentication only.
Did a lot of research but no technical Java information found on this.
Although there is code snippet on this URL
but it didn’t help me out.

Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *