Not able to run azure cli tasks in ADO jobs
Open
act-platform-engineering-squad
DevOps
Service Attention
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
Hi, Since last 3 hours, I was not able to run any azure-cli tasks using build pipelines. All were failing with the below issue:
C:\windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" login --identity
##[error]Error Code: [1]
##[error]Error: Azure login failed using Managed Service Identity
##[error]Script failed with error: UnexpectedError: The command failed with an unexpected error. Here is the traceback:
However, I was able to run the same commands directly by logging into the azure cloud shell.
Please let me know any resolution for this issue:
Contributor guide
Assessment
This issue has not been assessed yet.