-
Notifications
You must be signed in to change notification settings - Fork 330
Is Microsoft.Data.SqlClient.Extensions.Azure required to use SqlConnection.AccessToken? #4203
Unanswered
CurtHagenlocher
asked this question in
Q&A
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment