-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportaz deployment/bicep/stack/deployment-scripts/ts/group exportOutputService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.
Description
Describe the bug
Looks like this issue introduced two print statements causing the output of a az deployment to no longer be valid JSON.
This only happens when using the --parameters option and a .bicepparam file. Does not happen for --template-file type deployments.
`
> az deployment sub create --parameters .\test.bicepparam --location westus --name test
Bicep CLI is already installed at 'C:\Users\foo\.azure\bin\bicep.exe'. Skipping installation as no specific version was requested.
{
"id": "/subscriptions/fb0a....
Existing pipelines that piped the output of a az deployment to convertfrom-json now fail because of this.
Related command
az deployment sub create --parameters .\test.bicepparam --location westus --name test
Errors
no errors
Issue script & Debug output
Bicep CLI is already installed at 'C:\Users\foo\.azure\bin\bicep.exe'. Skipping installation as no specific version was requested.
{
"id": "/subscriptions/fb0a....
Expected behavior
Should not output the print statement:
Bicep CLI is already installed at 'C:\Users\foo\.azure\bin\bicep.exe'. Skipping installation as no specific version was requested.
Environment Summary
azure-cli 2.81.0
core 2.81.0
telemetry 1.1.0
Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\foo\.azure'
Extensions directory 'C:\Users\foo\.azure\cliextensions'
Python (Windows) 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
rcarde, brentos99 and lnimanthaMrUtzon
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportaz deployment/bicep/stack/deployment-scripts/ts/group exportOutputService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssuebugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.