microsoft-authentication-library-for-dotnet: [Bug] Breaking change in ManagedIdentityApplicationBuilder.Create causing MissingMethodException

Library version used

4.56.0

.NET version

netstandard2.0

Scenario

ManagedIdentityClient - managed identity

Is this a new or an existing app?

The app is in production, and I have upgraded to a new version of MSAL

Issue description and reproduction steps

Relevant code snippets

No response

Expected behavior

  • Breaking changes shouldn’t be present in minor version upgrades. Especially if they cause breaking of other Microsoft libraries.

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

No response

Solution and workarounds

No response

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Reactions: 1
  • Comments: 16 (2 by maintainers)

Most upvoted comments

Preview APIs are not meant to be used in production. We need to revise our mechanism for this. At the very least we must ask other sdk to not depend on them.

But for the short term, @gladjohn can you pls reach out to the Redis folks to get this updated ASAP? The longer this lives, the more diamond dependencies issues folks will face.

Resolved now, the Microsoft.Azure.StackExchangeRedis package was released with version 2.0.0.

Thank you all.

Are you still seeing issues if you update to the latest version of Microsoft.Azure.StackExchangeRedis?

Yes, the currently latest version is 1.1.0 and it’s still referencing 4.53.0 of Microsoft.Identity.Client. If you have a newer version of Microsoft.Identity.Client, it will fail.

There were some updates in the Microsoft.Azure.StackExchangeRedis library some months ago, but nothing is yet released. This issue has been occurring since June 2023.