“InvalidTemplateDeployment” error while deploying ARM Template

I was working on a PowerShell script today to deploy a service fabric cluster using ARM template and came across a weird error – The template deployment ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’ is not valid according to the validation procedure. The tracking id is ‘xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’. See inner errors for details. Please see https://aka.ms/arm-deploy for usage details.   It was clear that my ARM template had validation errors. But, looking at the error message above, I had got no clue […]

Read more