[BUG] Azure.Identity has a dependency to Windows.Forms (due to older MSAL) for all Windows builds #44232
Labels
Azure.Identity
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Library name and version
Azure.Identity
Describe the bug
This is related to this MSAL bug which has been fixed:
AzureAD/microsoft-authentication-library-for-dotnet#4468
MSAL fixed it and released a new version, 4.61.0 a couple of weeks ago.
It seems that it's not yet being picked up by Azure.Identity 1.12 beta 3 yet.
Could you include MSAL 4.61.0 in your next release please?
Expected behavior
Reference to MSAL 4.61.0 to avoid Desktop SDK in server installs.
Actual behavior
Server build requires desktop SDK to run.
Reproduction Steps
Azure.Identity 1.9.0 -> Microsoft.Identity.Client 4.49.1 did not have a dependency on System.Windows.Forms, but when updating to newer Azure.Identity 1.10.4 -> Microsoft.Identity.Client 4.56.0 the dependency to Windows.Forms appeared, this is a problem.
Azure.Identity should be able to run headless, on servers and many situations that don't have access to System.Windows.Forms because the .NET desktop runtime is not present.
Environment
No response
The text was updated successfully, but these errors were encountered: