Azure CLI inline parameters not working


I’m trying to pass in parameters inline to a ARM template from within PowerShell using the following command:

and receive the error:

I’m using the example given from this page:

I have tried without escaping the quotes just like the example and various other ways but every other attempt breaks when trying to validate my template.

UPDATE 1: I have tried this from CMD in addition to Powershell with the same results.


The problem wasn’t the way I was escaping the JSON but it was the value I was giving. Instead of:

it should have been:


Azure CLI inline parameters not working by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply