Azure / Azure/azure-powershell
How to pass a value for the 'name' parameter of an ARM template using New-AzResourceGroupDeployment
Open
act-identity-squad
ARM - Templates
Azure PS Team
customer-reported
feature-request
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
## Description of the new feature
Hi All,
My ARM template generated from the portal has a parameter `name`

While deploying using `New-AzResourceGroupDeployment`, I am unable to pass a value using the `-name` switch. The switch `-name` is being used for the name of the deployment and not the name of the Azure resource that I am trying to created.
I am able to work around the issue by renaming the `name` to `name1` in the template.json file. But, this is laborious.
What have I missed?
Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.