-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAccountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportaz deployment/bicep/stack/deployment-scripts/ts/group exportService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.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.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Describe the bug
As of today (14 January 2025), when using Azure Pipelines to perform an Azure ARM deployment, an error is being presented:
ERROR: Error while attempting to download Bicep CLI: [Errno 1] Operation not permitted: '/opt/az-config/config'
Version details:
- Azure CLI: 2.67.0
- Azure Pipelines Agent: ubuntu-latest
Related command
az deployment sub what-if
Errors
Error while attempting to download Bicep CLI: [Errno 1] Operation not permitted: '/opt/az-config/config'
Issue script & Debug output
/usr/bin/az login --service-principal -u *** --tenant *** --allow-no-subscriptions --federated-token ***
[
{
"cloudName": "AzureCloud",
"homeTenantId": "***",
"id": "***",
"isDefault": true,
"managedByTenants": [],
"name": "***",
"state": "Enabled",
"tenantId": "***",
"user": {
"name": "***",
"type": "servicePrincipal"
}
},
{
"cloudName": "AzureCloud",
"homeTenantId": "***",
"id": "***",
"isDefault": false,
"managedByTenants": [],
"name": "***",
"state": "Enabled",
"tenantId": "***",
"user": {
"name": "***",
"type": "servicePrincipal"
}
}
]
/usr/bin/az deployment sub what-if --location Canada Central --template-file /home/vsts/work/1/s/resources/main.bicep --parameters /home/vsts/work/1/s/parameters/dev.bicepparam --subscription *** --no-pretty-print --no-prompt --result-format FullResourcePayloads
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
ERROR: Error while attempting to download Bicep CLI: [Errno 1] Operation not permitted: '/opt/az-config/config'
##[error]Error!
/usr/bin/az account clear
Finishing: ARM What-if
Expected behavior
ARM what-if command runs successfully.
Environment Summary
azure-cli 2.67.0
Additional context
No response
baidarka
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAccountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportaz deployment/bicep/stack/deployment-scripts/ts/group exportService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.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.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that