New-AzureRmResourceGroupDeployment: Unable to combine parameterURI file and inline parameters #2414
Labels
ARM - Templates
ARM
customer-reported
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Milestone
Using New-AzureRmResourceGorupDeployment
Seeing different behavior using -TemplateFile/-TemplateParameterFile and -TemplateURI/-TemplateParemeterURI.
Using a local file (-TemplateFile/-TemplateParameterFile) I am able to pass inline parameters when defined in -TemplateParameterFile as null. The value supplied in the inline parameter overwrites the null value and the deployment is successful:
New-AzureRmResourceGroupDeployment -Name RBDeploy -ResourceGroupName rg -TemplateFile ".../templates/template.json" -TemplateParameterFile "....../templates/templateparameters.json -vmName "Testing123"
However, when using URI instead of a local file, I receive the following error:
New-AzureRmResourceGroupDeployment -Name RBDeploy -ResourceGroupName rg -TemplateURI ".Https:../templates/template.json" -TemplateParameterURI "Https:.../templates/templateparameters.json -vmName "Testing123"
Why am I able to pass inline parameters using a local file but not a URI?
The text was updated successfully, but these errors were encountered: