Skip to content

Migrate Managed Identity's implementation from msrestazure to MSAL #25860

@jiasli

Description

@jiasli

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 version2019-08-01. Since msrestazure 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:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions