TemplateParameterObject Parameter in Azure Powershell New-AzureRmResourceGroupDeployment

If you’re initiating a deployment to Azure using an ARM template, then you can make use of the TemplateParameterObject to pass through a hashtable that contains the parameters for the template.

EG.

When you come to deploy the template using Powershell, you can therefore run something like this.

One Reply to “TemplateParameterObject Parameter in Azure Powershell New-AzureRmResourceGroupDeployment”

  1. + CategoryInfo : InvalidOperation: (System.Collections.Hashtable:Hashtable) [], Runt
    imeException
    + FullyQualifiedErrorId : InvalidNullKey

    New-AzResourceGroupDeployment : Cannot bind argument to parameter ‘TemplateParameterObject’

Leave a Reply

Your email address will not be published. Required fields are marked *