-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Azure.Identity dependency to version 1.8.0 #1919
Comments
@scottaddie So an explicit update to 1.8.0 will also add automagic caching? |
Thanks @scottaddie for making the suggestion. I do believe by upgrading this dependency it would also resolve #1900 and we can consider upgrading it in our next release and I'll bring it up to the team and get back to you soon. |
That's correct, @ErikEJ. Caching is enabled by default. No app code changes are required to use it. |
Thanks @scottaddie for the suggestion and Azure Identity 1.8.0 would be included in the 5.2 release. |
@lcheunglci The following issue should also be resolved with this dependency upgrade: #1495 |
In v1.8.0 of the Azure Identity library for .NET (Azure.Identity), token caching was added for the
ManagedIdentityCredential
type. Token lifetime and refreshing is handled automatically. See https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/CHANGELOG.md#180-beta1-2022-10-13. Under the hood, MSAL's in-memory cache is used. This dependency upgrade will help mitigate Azure AD throttling issues that occur from calling it too frequently.For Java customers, this issue has already been addressed as of the latest stable JDBC driver release. See microsoft/mssql-jdbc#1930.
/cc: @David-Engel
The text was updated successfully, but these errors were encountered: