The Azure RM template deployment is not valid. See inner errors for details.


When you test your ARM template using PowerShell or other techniques  before the deployment, you can receive an error: “The template deployment ‘xxxx-xxx-xxx’ is not valid according to the validation procedure. The tracking id is ‘xxxx-xxxx-xxxx’. See inner errors for details.”, and then you may ask yourself – “how to get that inner errors for details?”.

The following PS one-liner can rescue you:

(Get-AzLog -CorrelationId trackingIDhere).Properties.Content.Values

arm template deployment error

If you don’t have Az module installed, you may use Azure RM module and cmdlet Get-AzureRMLog with the same parameters as for Get-AzLog.

2 thoughts on “The Azure RM template deployment is not valid. See inner errors for details.”

  1. I’ve been stuck on this most of the afternoon, no amount of Googling had helped until I stumbled on this article. I don’t usually comment on posts, but this has helped me find the error in my way.. which in this case was due tot he quota of VM’s being reached so I wasn’t able to deploy more via ARM templates. Thanks a lot for your help!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s