Active Directory Interactive Authentication to connect azure sql db using Microsoft.Data.Client library #15833
somnath-pramanik123
started this conversation in
General
Replies: 1 comment
-
I'm unsure how this is related to Azure Data Studio - it seems like https://github.com/dotnet/SqlClient might be a better place to ask this question? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I replaced System.Data.SqlClient to Microsoft.Data.SqlClient(Version 3.0.0) in MVC Controller class and below is the code for connecting azure sql. I am using Active Directory Interactive Authentication to connect azure sq DB. The target Framework is .NET 4.8`
When trying to run the code , connection to DB is not successful.
The same code is running perfectly fine in Console Application without any issue.
Beta Was this translation helpful? Give feedback.
All reactions