Skip to content

Please pin azure-cli to version 2.76 in windows-latest until 2.78 is released #12996

@ncook-hxgn

Description

@ncook-hxgn

Description

It seems that azure-cli 2.77 is broken when it is given patterns for paths.

wrt to this workaround:
Azure/azure-cli#32039 (comment)

Could this workaround be implemented for windows-latest until such time as the upstream bug is fixed? Currently, all our pipelines that run on windows-latest that use a pattern with azure cli are broken. This is a lot of workarounds to implement, and eventually revert.

Presumably this affects all runner images where az cli is installed

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

windows-latest as of 10th Sept 2025

Is it regression?

yes, not yours

Expected behavior

version of azure cli installed on latest runner images is tested and known to work

Actual behavior

azure cli on windows latest is broken at this time

Repro steps

run a pipelin on a windows latest runner image, and use azure cli with a pattern input

e.g. az storage blob download-batch --account-name you --source yours --pattern Hello/* --destination $Env:TEMP -auth-mode login

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions