AzureRM Deployment Fails: See inner errors for details

Running an Azure RM Template and it errors with:

Error: Code=InvalidTemplateDeployment; Message=The template deployment 'test_analytics' is not valid according to the validation procedure. The tracking id is 'XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX'. See inner 
errors for details. Please see https://aka.ms/arm-deploy for usage details.

A simple PowerShell command will get you the verbose error log, to assist you with troubleshooting your Azure RM Template, -CorrelationId will be the tracking id mentioned above:

Get-AzureRmLog -CorrelationId XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX

With this I was able to find the test storage account name I was attempting to use was already taken, snippet from the verbose output:

[{"code":"StorageAccountAlreadyTaken","target":"thomastestsa","message":"The storage account named thomastestsa is already taken."}]}]}}

A quick blog to hopefully assist you once you receive this error 🙂

3 thoughts on “AzureRM Deployment Fails: See inner errors for details”

Leave a Reply to Thomas ThorntonCancel reply

Discover more from Thomas Thornton Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from Thomas Thornton Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading