Skip to content

Azure CLI bicep extenstion not present in ubuntu-24.04 #11987

@jakub-i

Description

@jakub-i

Description

In our organization we are using ubuntu-latest and as of this week this is ubuntu-24-04

We debloy bicep templates to Azure Cloud using Azure CLI. In ubuntu-22.04 had bicep extension installed on the image and there was no need to build an ARM-template to use that.

We use:

az deployment group create --resource-group '$(resourceGroup)' --name '$(Build.BuildNumber)' --no-prompt --template-file 'main.bicep' --parameters '$(paramFilePath)'

Which has worked fine, but with ubuntu-24.04 we get following error:

Image

I am unaware if this is intentional but it was functionality available before

Thanks in advance

Platforms affected

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

Runner images affected

  • Ubuntu 20.04
  • 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

Image

Image

Is it regression?

Yes, this worked in earlier versions

Expected behavior

Expected behavior is that using bicep templates to deploy infrastructure to Azure Cloud using Azure CLI works as intended, meaning that bicep extension handles the trasplaining of bicep to ARM json format.

Actual behavior

Error as depicted in the screenshot in the description

Repro steps

  1. Start a pipeline run for a pipeline using Azure CLI to deploy bicep template to Azure Cloud

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions