Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is Microsoft.Data.SqlClient.Extensions.Azure required to use SqlConnection.AccessToken? #4203

Unanswered
CurtHagenlocher asked this question in Q&A
Discussion options

We get an access token through other means and then set it on a connection via SqlConnection.AccessToken. Does this mean that when eventually moving to version 7, we won't need Microsoft.Data.SqlClient.Extensions.Azure.dll or any of the Azure dependencies?

You must be logged in to vote

Replies: 1 comment

Comment options

Yes, as the driver will not depend on Azure.Identiry and MSAL libraries (primarily).

You can acquire access token from any means and pass it to the application. You also don't need to include Microsoft.Data.SqlClient.Extensions.Azure.dll and only need to take dependency on libraries that you need in order to acquire access token.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /