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 🙂
1 comment