azure-pipelines-tasks: [BUG]: ARM template deployment - Can't find loc string for key: SettingAzureCloud
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Task name
AzureResourceManagerTemplateDeploymentV3
Task version
3.246.3
Issue Description
Since version v3.246.3, a warning message is being logged during the deployment process. The warning does not appear to have any effect on the deployment itself, and the application is deployed successfully. However, this warning gets logged in the summary of the pipeline run thus get users confused.
“##[warning]Can’t find loc string for key: SettingAzureCloud”
With the previous version of the task (3.243.1), no warning logged.
Environment type (Please select at least one enviroment where you face this issue)
- Microsoft Hosted
- Self-Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
none
Operation system
ubuntu-latest
Relevant log output
Starting: AzureResourceManagerTemplateDeployment
==============================================================================
Task : ARM template deployment
Description : Deploy an Azure Resource Manager (ARM) template to all the deployment scopes
Version : 3.246.3
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment
==============================================================================
ARM Service Connection deployment scope - Subscription
Checking if the following resource group exists: rg-*****-staging.
Resource group exists: true.
Creating deployment parameters.
##[warning]Can't find loc string for key: SettingAzureCloud
SettingAzureCloud AzureCloud
/usr/bin/az cloud set -n AzureCloud
.....
Linked Issue on developer community
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 39
- Comments: 34 (2 by maintainers)
For anyone who’s facing the same issue here, please vote this ticket, with enough votes, I will try to engage the related team for a checking too.this is what we have to do. please vote for this issue on dev comunity. It’s the same link, from the description
as a workaround, you can manually set the desired version like this
- task: AzureResourceManagerTemplateDeployment@3.243.1Hi Everyone, Thanks for reporting this issue. Will investigate and try to share updates soon.
Same thing here, also seems to be since yesterday
I am also experiencing this issue, I’ve never seen it before today. We are also using Microsoft hosted agents.
I can confirm that I am no longer having this issue after swithing back to AzureResourceManagerTemplateDeployment v3 (latest)
Seems like the issues are resolved in the current(?) version:
No more warnings (on this). Thanks for the work.
Same
here is it also, added it in the topic description
Hey @enachi - does this also have a companion report on https://developercommunity.visualstudio.com/ - if not, maybe putting it there and linking to here (and maybe back) would help get more attention? Just a thought.
I am experiencing as well, looks like it started for me on Monday, Sept. 30, 2024 - but I am using Self-Hosted Windows agents…
I am seeing the same issue.