You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For now we have used Azure CLI and Azure.Identity to use AAD authentication when working locally. We used 'az login' and we could then start and restart several of our services without logging in again and again.
With this solution we have had to gain an access token for a SqlConnection manually.
With the new Authentication provider 'Active Directory Interactive' we don't need to take care of access token handling anymore.
Unfortunately we now have to login every time we start a service. So it seems like that the access token is cached within the current application instance.
We can't use 'Active Directory Integrated', because of MFA.
Describe the solution you'd like
It would be nice when 'Active Directory Interactive' would work like Azure CLI (az login) where we just have to login once for a while.
e.g. When I run 2 or more applications at once or I restart my application(s), I only want to login once.
The text was updated successfully, but these errors were encountered:
This has been considered with issue #616 where we will bring in direct support of Azure.Identity and a new option would be provided to fetch "DefaultAzureCredential" from client environment.
In the mean time, you can follow this approach: #730 (comment) with latest Microsoft.Data.SqlClient driver.
Since we're tracking this change with #616, is there anything else you'd need help with?
Is your feature request related to a problem? Please describe.
For now we have used Azure CLI and Azure.Identity to use AAD authentication when working locally. We used 'az login' and we could then start and restart several of our services without logging in again and again.
With this solution we have had to gain an access token for a SqlConnection manually.
With the new Authentication provider 'Active Directory Interactive' we don't need to take care of access token handling anymore.
Unfortunately we now have to login every time we start a service. So it seems like that the access token is cached within the current application instance.
We can't use 'Active Directory Integrated', because of MFA.
Describe the solution you'd like
It would be nice when 'Active Directory Interactive' would work like Azure CLI (az login) where we just have to login once for a while.
e.g. When I run 2 or more applications at once or I restart my application(s), I only want to login once.
The text was updated successfully, but these errors were encountered: