Validation error while deploying ARM template

Vinay Singh 1 Reputation point
2021-06-01T15:25:16.71+00:00

Team,
I am getting a validation error while deploying the ARM template. Error is Deployment template validation failed: 'Template parameter JToken type is not valid. Expected 'String, Uri'. Actual 'Object'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'. (Code: InvalidTemplate).

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
337 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Olga Os - MSFT 5,836 Reputation points Microsoft Employee
    2021-06-01T19:08:20.657+00:00

    Hello @Vinay Singh ,

    Welcome to the Microsoft Q&A!

    Error message what you posted above is very general and it's difficult to identify there why ARM template deployment is failing for you.
    Could you kindly provide more details on how exactly do you do the deployment? What automation model are you using? Please share the correlation id of the failed deployment + templates. If you following up any documented steps, please share the link.

    Thank you,
    Olga

    0 comments No comments