InvalidTemplate: The template didn't pass validation
Azure couldn't validate the template. Possible causes include invalid expression syntax, a mismatch between the resource name and type, or a parameter value the template doesn't accept.
What to check
- Read the validation message for a line number, resource or parameter. If it names a parameter, compare the actual value with its type and allowed values.
- Validate the template using the tooling for Bicep or ARM templates. If Azure names a dependency or resource name, follow that detail rather than assuming a syntax error.