ARM template failed for a custom deployment with 'Required property 'type' not found in JSON. Path 'parameters.networkSpec',

DiscouMap 21 Reputation points

Dear all,

I m trying to understand this error. Everything sounds fine. I

"Deployment template parse failed: 'Required property 'type' not found in JSON. Path 'parameters.networkSpec', line 1, position 1775.

I try to deploy this script on Azure

with 4 resources


The shared-resources gives an error in Path 'parameters.networkSpec', and MY knowledge of ARM template does not help me solve the issue.
Could you please help me with this.

Best regards,

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
652 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sudipta Chakraborty - MSFT 1,101 Reputation points Microsoft Employee

    @DiscouMap :

    In file update Line number 350 to 352 with the following:

    **From: **
    "networkSpec": {
    "value": "[variables('networkSpec')]"

    **To: **
    "networkSpec": {
    "type": "object",
    "defaultValue": "[variables('networkSpec')]"