Skip to content

azure cli login command with managed identity is not working in mcr.microsoft.com/azure-cli pod #26047

@biswajitsamal59

Description

@biswajitsamal59

Command Name
az login

Errors:
Command is not producing any output. It's getting stuck may be.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Create a aks cluster
  • Deploy mcr.microsoft.com/azure-cli pod with aad pod identity
  • kubectl exec to the pod and execute below command
  • az login --identity --username {}

Expected Behavior

Environment Summary

Linux-5.4.0-1104-azure-x86_64-with, Alpine Linux v3.17
Python 3.10.10
Installer: DOCKER

azure-cli 2.47.0

Additional Context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions