Update [Azure CLI]
Tool name
Azure CLI
Tool license
MIT
Add or update?
- [ ] Add
- [x] Update
Desired version
2.72.0
Approximate size
No response
Brief description of tool
Mixing different Azure CLI versions causes pipeline failure (https://github.com/Azure/azure-cli/issues/31419). Please update Azure CLI to the latest 2.72.0 as soon as possible.
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
Platforms where you need the tool
- [x] Azure DevOps
- [x] GitHub Actions
Runner images where you need the tool
- [x] Ubuntu 22.04
- [x] Ubuntu 24.04
- [x] macOS 13
- [x] macOS 13 Arm64
- [x] macOS 14
- [x] macOS 14 Arm64
- [x] macOS 15
- [x] macOS 15 Arm64
- [x] Windows Server 2019
- [x] Windows Server 2022
- [x] Windows Server 2025
Can this tool be installed during the build?
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response
Hi @jiasli Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.
Hi @jiasli The Azure CLI version 2.72.0 will be included in next week's release for all the ubuntu and windows Images, Thanks.
Hi @jiasli, the expected version (2.72.0) is now included in the current week's macOS image generation. Following deployment, this version will be available across all macOS images.
@RaviAkshintala when will the new version be available for the image "poolImage: windows-latest"
@astha-21 The new Images version 20250511.1.1 will be available in the next few days, and the expected Azure CLI version will be included in this deployment. Thanks.
Hi @jiasli The new image version for Ubuntu and Windows have been rolled out, and the required Azure CLI version 2.72.0 is now available. Thanks.
this update impacted all our pipelines, is throwing this error:
[AZKV] time="2025-05-15T19:31:16Z" level=error msg="Failed to create Azure authorizer" error="Invoking Azure CLI failed with the following error: ERROR: The command failed with an unexpected error. Here is the traceback:\r\nERROR: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client' from 'C:\\\\Program Files (x86)\\\\Microsoft SDKs\\\\Azure\\\\CLI2\\\\lib\\\\site-packages\\\\msal\\\\throttled_http_client.pyc'>
I tried windows-2019 agent, but got the same problem
this update impacted all our pipelines, is throwing this error:
[AZKV] time="2025-05-15T19:31:16Z" level=error msg="Failed to create Azure authorizer" error="Invoking Azure CLI failed with the following error: ERROR: The command failed with an unexpected error. Here is the traceback:\r\nERROR: Can't get attribute 'NormalizedResponse' on <module 'msal.throttled_http_client' from 'C:\\\\Program Files (x86)\\\\Microsoft SDKs\\\\Azure\\\\CLI2\\\\lib\\\\site-packages\\\\msal\\\\throttled_http_client.pyc'>I tried windows-2019 agent, but got the same problem
@RaviAkshintala how can I use the previous version?
Azure CLI 2.71.0 and image 20250427 was working for us
@jiasli Azure CLI version 2.73.0 has been released and is now available on Ubuntu 22.04, Ubuntu 24.04, Windows Server 2022, and Windows Server 2025. Kindly sync the main. Thanks
@jiasli All macOS images, except for macOS-14-arm, have been updated to Azure CLI version 2.73.0. The macOS-14-arm image will also include the new version once its deployment is complete.
@jiasli Now the latest version 2.73.0 is available across all macOS runners.