Skip to content

az bicep snapshot does not show changes when validation failes #33922

Description

Describe the bug

When the validation failes, there should be information what the snapshot changes are.

Related command

az bicep snapshot

Errors

Snapshot validation failed. Expected no changes, but found the following:
no information here

Issue script & Debug output

az bicep snapshot `
    --file $paramFile `
    --subscription-id $subscriptionId `
    --location 'westeurope' `
    --mode $mode

Expected behavior

Snapshot validation failed. Expected no changes, but found the following:
with the found changes here

Environment Summary

azure-cli 2.89.1

core 2.89.1
telemetry 1.1.0

Extensions:
acrcssc 1.0.0b7
azure-devops 1.0.6

Dependencies:
msal 1.36.0
azure-mgmt-resource 24.0.0

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\frits.azure'
Extensions directory 'C:\Users\frits.azure\cliextensions'

Python (Windows) 3.14.6 (tags/v3.14.6:c63aec6, Jun 10 2026, 10:26:10) [MSC v.1944 64 bit (AMD64)]

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportService AttentionThis issue is responsible by Azure service team.act-identity-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions