runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

Update [Azure CLI]

Open jiasli opened this issue 7 months ago • 9 comments

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

jiasli avatar May 08 '25 02:05 jiasli

Hi @jiasli Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.


RaviAkshintala avatar May 08 '25 05:05 RaviAkshintala

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.

RaviAkshintala avatar May 08 '25 05:05 RaviAkshintala

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.

sangeeths03 avatar May 08 '25 05:05 sangeeths03

@RaviAkshintala when will the new version be available for the image "poolImage: windows-latest"

astha-21 avatar May 08 '25 05:05 astha-21

@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.

RaviAkshintala avatar May 13 '25 08:05 RaviAkshintala

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.

RaviAkshintala avatar May 15 '25 09:05 RaviAkshintala

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

omar-oropeza avatar May 15 '25 19:05 omar-oropeza

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

omar-oropeza avatar May 15 '25 19:05 omar-oropeza

@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

RaviAkshintala avatar Jun 03 '25 11:06 RaviAkshintala

@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.

sangeeths03 avatar Jun 04 '25 05:06 sangeeths03

@jiasli Now the latest version 2.73.0 is available across all macOS runners.

sangeeths03 avatar Jun 04 '25 11:06 sangeeths03