-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Exported ARM template that includes StorageAccount can't be re-deployed #19684
Copy link
Copy link
Open
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupService AttentionThis issue is responsible by Azure service team.This 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.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.needs-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK team
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupService AttentionThis issue is responsible by Azure service team.This 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.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.needs-team-attentionThis issue needs attention from Azure service team or SDK teamThis issue needs attention from Azure service team or SDK team
Describe the bug
An ARM template generated from any resource group that includes a StorageAccount fails when redeploying with an
InvalidXmlDocumenterror.Command Name
az deployment group createErrors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
This fails at the:
az deployment group create -g {} -f {}Expected Behavior
Should not fail. According to internet searches this is related to
"type": "Microsoft.Storage/storageAccounts/xxxServices"entries in the generated ARM template, but then either:a) they should not be generated if they are not needed
b)
azshould be able to handle the resulting template correctlyEnvironment Summary
Additional Context
A template saved through the Azure portal has the exact same issue