MicrosoftLearning/AZ-700-Designing-and-Implementing-Microsoft-Azure-Networking-Solutions

M06 - Unable to deploy vm for DDoS lab - ARM template issue

Closed this issue · 0 comments

jez81 commented

Module: 06

Lab/Demo: 00

Task: 06

Step: 01

Description of issue
Unable to deploy vm for DDoS lab , get the following error when deploying ARM template

New-AzResourceGroupDeployment: 11:21:39 PM - The deployment 'ddos' failed with error(s). Showing 1 out of 1 error(s).
Status Message: Cannot parse the request. (Code: InvalidRequestFormat)

  • Could not find member 'networkSecurityGroup' on object of type 'VMNetworkProfile'. Path 'Properties.NetworkProfile.networkSecurityGroup', line 1, position 432. (Code:InvalidJson)
    CorrelationId: < omitted >

I've tried creating the RG and VNET in different regions but still get the same error. I'm a bit of a noob so I could have something wrong, but I've ran all the other ARM templates in the az-700 so far without issue.

Repro steps:

  1. Run ARM template ddos.json