New-AzureRmResourceGroupDeployment command giving error

Question:

When I run the New-AzureRmResourceGroupDeployment and pass a JSON parameter file, I get the below error:

However, when I run the same command but pass the parameters instead of the file, it works fine. any ideas what I may be missing?

Answer:

For me, this error happened when I tried to run ARM templates with the existing SQL Azure instance resource. The problem was that in the template I specified a DB username which didn’t match the admin username of the existing instance. It’s ok to update the password, but the username has to remain the same for the life of SQL Azure instance,

Source:

New-AzureRmResourceGroupDeployment command giving error by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply