Skip to content

Publish Bicep Modules to Private ACR does not apply Tags #18865

@trindels

Description

@trindels

Bicep version
run bicep --version via the Bicep CLI, az bicep version via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep

Bicep CLI version 0.39.26 (1e90b06)

Describe the bug
A clear and concise description of what the bug is vs what you expected to happen

When publishing Bicep Modules to our private Azure Container Registry, the modules are successfully published. However, those modules are not properly tagged. Therefore, we cannot leverage those modules from our bicepparam files. We receive the message: "The artifact does not exist in the registry."

To Reproduce
Steps to reproduce the behavior:

  1. Publish bicep module:

Using Powershell:

Publish-AzBicep Module -FilePath .\modules\bicepmodule.bicep -Target "br:[redacted]bicepsbox01.azurecr.io/bicep/modules/aihub/workspace:v0.2" -WithSource

Using CLI:

az bicep publish --file .\modules\bicepmodule.bicep --target "br:[redacted]bicepsbox01.azurecr.io/bicep/modules/aihub/workspace:v0.2"
  1. Review bicep module in Container Registry (Azure portal -> Azure Container Registry -> Repositories). The Module appears in the list. However, if you click on the repository, it does not show any versions / tag history.
Image
  1. Attempt to import bicep using VSCode -- received error message.
Image

Additional context
Add any other context about the problem here.

This worked on or around January 7, 2026.
This was not working after January 13, 2026.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions