Virtual Desktop Provision Failed

New Contributor

Provision Failed with the following error

 

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"DeploymentFailed\",\r\n \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.\",\r\n \"details\": [\r\n {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"{\\r\\n \\\"error\\\": {\\r\\n \\\"code\\\": \\\"InvalidResourceReference\\\",\\r\\n \\\"message\\\": \\\"Resource /subscriptions/41a9af3e-9b8f-4cb9-b1b5-b93260d9f261/resourceGroups/AZEW-MLNXRDS/providers/Microsoft.Network/virtualNetworks/vnet-01/subnets/vmSubnet referenced by resource /subscriptions/41a9af3e-9b8f-4cb9-b1b5-b93260d9f261/resourceGroups/AZEW-MLNXRDS/providers/Microsoft.Network/networkInterfaces/MLNXRDS-0-nic was not found. Please make sure that the referenced resource exists, and that both resources are in the same region.\\\",\\r\\n \\\"details\\\": []\\r\\n }\\r\\n}\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"}]}
3 Replies

@saarc it seems you are creating a new VNET when running the ARM template. You need to use an existing VNET

@Stefan Georgiev 

10X for the help it solved the issue

@saarc Awesome