Migrate Managed Identity's implementation from msrestazure
to MSAL
#25860
Labels
Account
az login/account
Auto-Assign
Auto assign by bot
Azure CLI Team
The command of the issue is owned by Azure CLI team
feature-request
Milestone
Related command
az login --identity
Is your feature request related to a problem? Please describe.
In order to support Hybrid Runbook Worker VM's Managed Identity (#22243), Azure CLI has to use the new Managed Identity endpoint API version
2019-08-01
. Sincemsrestazure
has been deprecated, we have concluded that MSAL will support Managed Identity authentication.Describe the solution you'd like
Once MSAL finishes its implementation for Managed Identity (AzureAD/microsoft-authentication-library-for-python#480), Azure CLI needs to migrates its Managed Identity's implementation from
msrestazure
to MSAL.Describe alternatives you've considered
Use Azure Identity's Managed Identity's implementation, but the dependency on Azure Identity has been removed as explained in #19853 (comment).
Additional context
Some old issues should be discussed or fixed during the migration:
az login
with managed identity indicating system assigned when the identity is user assigned #13188The text was updated successfully, but these errors were encountered: