New issue checklist
Task name
BicepDeploy
Task version
0.271.0
Issue Description
The BicepDeploy@0 task raises several warnings despite executing successfully. It would be good to understand where these warnings are coming from and whether they are genuine issues or whether they can be suppressed.
I'm seeing the following warnings:
Resource file haven't been set, can't find loc string for key: for the following keys:
DiagnosticsReturned
FilesIgnoredForDelete
CreateFailed
ValidationFailed
OperationFailed
LocationRequired
FailedToDetermineScope
TemplateFileRequired
Can't find loc string for key: for the following keys:
LoginFailed
ErrorInSettingUpSubscription
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-latest (presumably 24.04)
Relevant log output
##[debug]Evaluating condition for step: 'Run Bicep in what-if mode'
##[debug]Evaluating: SucceededNode()
##[debug]Evaluating SucceededNode:
##[debug]Result: True
##[section]Starting: Run Bicep in what-if mode
==============================================================================
Task : Bicep Deploy
Description : Deploy and Manage Azure Resources using Bicep Files
Version : 0.271.0
Author : Microsoft Corporation
Help : [Learn more about this task](https://aka.ms/bicepdeploytaskreadme)
==============================================================================
##[debug]Using node path: /home/vsts/actions-runner/cached/4.272.0/externals/node24/bin/node
##[debug]system.debug=True
##[debug]DistributedTask.Tasks.Node.SkipDebugLogsWhenDebugModeOff=True
##[debug]agent.TempDirectory=/home/vsts/work/_temp
##[debug]loading inputs and endpoints
##[debug]loading INPUT_TYPE
##[debug]loading INPUT_OPERATION
##[debug]loading INPUT_SCOPE
##[debug]loading INPUT_CONNECTEDSERVICENAME
##[debug]loading INPUT_SUBSCRIPTIONID
##[debug]loading INPUT_RESOURCEGROUPNAME
##[debug]loading INPUT_TEMPLATEFILE
##[debug]loading INPUT_PARAMETERSFILE
##[debug]loading INPUT_ACTIONONUNMANAGERESOURCES
##[debug]loading INPUT_DENYSETTINGSMODE
##[debug]loading INPUT_DENYSETTINGSAPPLYTOCHILDSCOPES
##[debug]loading INPUT_BYPASSSTACKOUTOFSYNCERROR
##[debug]loading INPUT_ENVIRONMENT
##[debug]loading ENDPOINT_AUTH_7a365c35-d48d-4727-824c-ca078249b478
##[debug]loading ENDPOINT_AUTH_SCHEME_7a365c35-d48d-4727-824c-ca078249b478
##[debug]loading ENDPOINT_AUTH_PARAMETER_7a365c35-d48d-4727-824c-ca078249b478_TENANTID
##[debug]loading ENDPOINT_AUTH_PARAMETER_7a365c35-d48d-4727-824c-ca078249b478_WORKLOADIDENTITYFEDERATIONISSUERTYPE
##[debug]loading ENDPOINT_AUTH_PARAMETER_7a365c35-d48d-4727-824c-ca078249b478_WORKLOADIDENTITYFEDERATIONSUBJECT
##[debug]loading ENDPOINT_AUTH_PARAMETER_7a365c35-d48d-4727-824c-ca078249b478_WORKLOADIDENTITYFEDERATIONISSUER
##[debug]loading ENDPOINT_AUTH_PARAMETER_7a365c35-d48d-4727-824c-ca078249b478_SERVICEPRINCIPALID
##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
##[debug]loaded 24
##[debug]Agent.ProxyUrl=undefined
##[debug]Agent.CAInfo=undefined
##[debug]Agent.ClientCert=undefined
##[debug]Agent.SkipCertValidation=undefined
##[warning]Resource file haven't been set, can't find loc string for key: DiagnosticsReturned
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: DiagnosticsReturned
##[warning]Resource file haven't been set, can't find loc string for key: FilesIgnoredForDelete
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: FilesIgnoredForDelete
##[warning]Resource file haven't been set, can't find loc string for key: CreateFailed
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: CreateFailed
##[warning]Resource file haven't been set, can't find loc string for key: ValidationFailed
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: ValidationFailed
##[warning]Resource file haven't been set, can't find loc string for key: OperationFailed
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: OperationFailed
##[warning]Resource file haven't been set, can't find loc string for key: LocationRequired
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: LocationRequired
##[warning]Resource file haven't been set, can't find loc string for key: FailedToDetermineScope
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: FailedToDetermineScope
##[warning]Resource file haven't been set, can't find loc string for key: TemplateFileRequired
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Resource file haven't been set, can't find loc string for key: TemplateFileRequired
##[debug]agent.proxyurl=undefined
##[debug]VSTS_ARM_REST_IGNORE_SSL_ERRORS=undefined
##[debug]AZURE_HTTP_USER_AGENT=VSTS_96563093-49da-4a45-9fcd-aba842cae448_build_7_0
##[debug]check path : /home/vsts/work/_tasks/BicepDeploy_7c8f9a3b-2d4e-4f1a-9b6c-8e5d3a1f7c2b/0.271.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
##[debug]adding resource file: /home/vsts/work/_tasks/BicepDeploy_7c8f9a3b-2d4e-4f1a-9b6c-8e5d3a1f7c2b/0.271.0/node_modules/azure-pipelines-tasks-azure-arm-rest/module.json
##[debug]system.culture=en-US
##[debug]Agent.ProxyUrl=undefined
##[debug]Agent.CAInfo=undefined
##[debug]Agent.ClientCert=undefined
##[debug]check path : /home/vsts/work/_tasks/BicepDeploy_7c8f9a3b-2d4e-4f1a-9b6c-8e5d3a1f7c2b/0.271.0/node_modules/azure-pipelines-tool-lib/lib.json
##[debug]adding resource file: /home/vsts/work/_tasks/BicepDeploy_7c8f9a3b-2d4e-4f1a-9b6c-8e5d3a1f7c2b/0.271.0/node_modules/azure-pipelines-tool-lib/lib.json
##[debug]system.culture=en-US
##[debug]check path : /home/vsts/work/_tasks/BicepDeploy_7c8f9a3b-2d4e-4f1a-9b6c-8e5d3a1f7c2b/0.271.0/task.json
##[debug]adding resource file: /home/vsts/work/_tasks/BicepDeploy_7c8f9a3b-2d4e-4f1a-9b6c-8e5d3a1f7c2b/0.271.0/task.json
##[debug]system.culture=en-US
##[debug]ConnectedServiceName=7a365c35-d48d-4727-824c-ca078249b478
##[debug]type=deployment
##[debug]name=undefined
##[debug]location=undefined
##[debug]templateFile=/home/vsts/work/1/HubInfrastructure/bicep/hub_prerequisite_infrastructure.bicep
##[debug]parametersFile=/home/vsts/work/1/HubInfrastructure/bicep/hub_prerequisite_infrastructure.bicepparam
##[debug]parameters=undefined
##[debug]bicepVersion=undefined
##[debug]description=undefined
##[debug]tags=undefined
##[debug]maskedOutputs=undefined
##[debug]environment=azureCloud
##[debug]operation=whatIf
##[debug]scope=resourceGroup
##[debug]tenantId=undefined
##[debug]subscriptionId=<REDACTED>
##[debug]resourceGroupName=gdukssdsdatabricksrg01
##[debug]whatIfExcludeChangeTypes=undefined
##[debug]validationLevel=undefined
##[debug]7a365c35-d48d-4727-824c-ca078249b478 auth scheme = WorkloadIdentityFederation
##[debug]7a365c35-d48d-4727-824c-ca078249b478 auth param serviceprincipalid = ***
##[debug]7a365c35-d48d-4727-824c-ca078249b478 auth param tenantid = <REDACTED>
##[debug]System.TeamProjectId=2758f8cf-c655-4b0d-b98a-0471c438e0f6
##[debug]System.HostType=build
##[debug]System.PlanId=5ee0227a-b658-4a40-96b2-eea9f25d71b4
##[debug]System.JobId=f362cdba-5f08-59d8-10e3-dc90b2e66863
##[debug]System.CollectionUri=<REDACTED>
##[debug]Getting credentials for account feeds
##[debug]SYSTEMVSSCONNECTION exists true
##[debug]Got auth token, setting it as secret so it does not print in console log
##[debug]Processed: ##vso[task.setsecret]***
##[debug]Feature 'UseOIDCToken2InAzureArmRest' = 'True'. Processed as 'true'.
##[debug]Got OIDC token
##[debug]Processed: ##vso[task.setsecret]***
##[debug]Processed: ##vso[task.setsecret]***
##[debug]which 'az'
##[debug]found: '/usr/bin/az'
arg: login --service-principal -u "***" --tenant "<REDACTED>" --allow-no-subscriptions --federated-token "***
##[debug]exec tool: /usr/bin/az
##[debug]arguments:
##[debug] login
##[debug] --service-principal
##[debug] -u
##[debug] ***
##[debug] --tenant
##[debug] <REDACTED>
##[debug] --allow-no-subscriptions
##[debug] --federated-token
##[debug] ***
login --service-principal -u *** --tenant <REDACTED> --allow-no-subscriptions --federated-token ***
##[debug]Agent environment resources - Disk: / Available 15889.37 MB out of 73325.30 MB, Memory: Used 1118.00 MB out of 7938.00 MB, CPU: Usage 28.00%
<AZ LOGIN OUTPUT REDACTED>
##[warning]Can't find loc string for key: LoginFailed
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Can't find loc string for key: LoginFailed
##[debug]7a365c35-d48d-4727-824c-ca078249b478 data SubscriptionID = <REDACTED>
##[debug]which 'az'
##[debug]found: '/usr/bin/az'
arg: account set --subscription "<REDACTED>"
##[debug]exec tool: /usr/bin/az
##[debug]arguments:
##[debug] account
##[debug] set
##[debug] --subscription
##[debug] <REDACTED>
account set --subscription <REDACTED>
##[warning]Can't find loc string for key: ErrorInSettingUpSubscription
##[debug]Processed: ##vso[task.issue type=warning;source=TaskInternal;correlationId=4e663ce0-cd85-43e7-9f93-c453edbf27af;]Can't find loc string for key: ErrorInSettingUpSubscription
Full task logs with system.debug enabled
See above.
Repro steps
- task: BicepDeploy@0
displayName: 'Run Bicep in what-if mode'
inputs:
operation: 'whatIf'
scope: 'resourceGroup'
azureResourceManagerConnection: <service connection name>
subscriptionId: <subscription id>
resourceGroupName: <resource group name>
templateFile: <path to .bicep file>
parametersFile: <path to .bicepparam file>
New issue checklist
Task name
BicepDeploy
Task version
0.271.0
Issue Description
The BicepDeploy@0 task raises several warnings despite executing successfully. It would be good to understand where these warnings are coming from and whether they are genuine issues or whether they can be suppressed.
I'm seeing the following warnings:
Resource file haven't been set, can't find loc string for key:for the following keys:DiagnosticsReturnedFilesIgnoredForDeleteCreateFailedValidationFailedOperationFailedLocationRequiredFailedToDetermineScopeTemplateFileRequiredCan't find loc string for key:for the following keys:LoginFailedErrorInSettingUpSubscriptionEnvironment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-latest (presumably 24.04)
Relevant log output
Full task logs with system.debug enabled
See above.
Repro steps