1

I need to connect to the sql server using Active directory-universal with MFA support. First, can we connect to it using JDBC connection string? Because it is an Interactive mode for authentication unlike Active directory Integrated and Active directory password, I dont think its possible to connect using JDBC. If my assumption is correct then, secondly, does it require .Net Framework?. Any link or comment would be helpful. Please help. Thanks in advance.

Rik
  • 81
  • 1
  • 15

1 Answers1

0

Have you tried following steps defined in This

This includes steps using MFA also.

V_K
  • 226
  • 1
  • 10
  • Thanks for the comment. But that article doesn't explan how to connect it through JDBC. – Rik Jul 04 '19 at 06:38
  • After a lot of research, it seems that JDBC connection is not supported for active Directory MFA authentication since it is an interactive mode of authentication. – Rik Jul 05 '19 at 07:10
  • @Rik. Did you find any alternative to use Active Directory MFA in jdbc? – user2196474 Jul 21 '22 at 18:46
  • No, @user2196474. Its been a long time since I asked that question but I remember I connected with microsoft itself and they said its not possible with MFA. As an alternative I asked the clients to have other modes of authentication like sql or windows. :) – Rik Jul 23 '22 at 06:03