Connecting to SQL Server resources via Java JDBC using Azure Active Directory - Universal with MFA Support

Sreenivasa 0 Reputation points
2023-07-18T12:30:35.1166667+00:00

I am currently working on a Java project and need to establish a connection to SQL Server resources using Azure Active Directory with Universal authentication that supports Multi-Factor Authentication (MFA). I have been searching for a solution, but haven't found a comprehensive guide for this specific setup.

Could someone please assist me in achieving the required result or provide step-by-step instructions on how to connect to SQL Server resources via Java JDBC using Azure Active Directory - Universal with MFA support? Any code examples, configurations, or best practices would be greatly appreciated. Thank you!

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. ShaktiSingh-MSFT 16,241 Reputation points
    2023-07-19T07:50:31.6933333+00:00

    Hi Sreenivasa •,

    Welcome to Microsoft Q&A forum and thanks for using Azure Services.

    As I understand, you want a guide for Connecting to SQL Server resources via Java JDBC using Azure Active Directory - Universal with MFA Support.

    Could you please refer to the document here https://learn.microsoft.com/en-us/sql/connect/jdbc/connecting-using-azure-active-directory-authentication?view=sql-server-ver16.

    Do let us know if you face any issue in pefrorming the steps.

    Thank you.

    0 comments No comments

  2. ShaktiSingh-MSFT 16,241 Reputation points
    2023-07-28T04:16:04.6+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.