Home

Windows virtual Deployment is getting failed for VMcreation linked template

%3CLINGO-SUB%20id%3D%22lingo-sub-462890%22%20slang%3D%22en-US%22%3EWindows%20virtual%20Deployment%20is%20getting%20failed%20for%20VMcreation%20linked%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-462890%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20There%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20deployment%20for%20Windows%20virtual%20desktop%20is%20getting%20failed%20again%20and%20again%20for%20below%20errors.%20please%20help%20to%20address%20the%20same.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%22code%22%3A%22DeploymentFailed%22%2C%22message%22%3A%22At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-debug%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-debug%3C%2FA%3E%20for%20usage%20details.%22%2C%22details%22%3A%5B%7B%22code%22%3A%22BadRequest%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22InvalidResourceReference%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22Resource%20%2Fsubscriptions%2Ff24a69c1-75dd-467a-a24a-9fd862ba7e46%2FresourceGroups%2FPCGroup%2Fproviders%2FMicrosoft.Network%2FvirtualNetworks%2Fvnet-01%2Fsubnets%2FvmSubnet%20referenced%20by%20resource%20%2Fsubscriptions%2Ff24a69c1-75dd-467a-a24a-9fd862ba7e46%2FresourceGroups%2FPCGroup%2Fproviders%2FMicrosoft.Network%2FnetworkInterfaces%2Frdsh-0-nic%20was%20not%20found.%20Please%20make%20sure%20that%20the%20referenced%20resource%20exists%2C%20and%20that%20both%20resources%20are%20in%20the%20same%20region.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%5D%7D%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CFONT%20color%3D%22%23b00000%22%20face%3D%22az_ea_font%2C%26quot%3BSegoe%20UI%26quot%3B%2Cwf_segoe-ui_normal%2C%26quot%3BSegoe%20WP%26quot%3B%2CTahoma%2CArial%2Csans-serif%22%3E%7B%22code%22%3A%22DeploymentFailed%22%2C%22message%22%3A%22At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-debug%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-debug%3C%2FA%3E%20for%20usage%20details.%22%2C%22details%22%3A%5B%7B%22code%22%3A%22Conflict%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22status%5C%22%3A%20%5C%22Failed%5C%22%2C%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22ResourceDeploymentFailure%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22DeploymentFailed%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-debug%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-debug%3C%2FA%3E%20for%20usage%20details.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22BadRequest%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22%7B%5C%5Cr%5C%5Cn%20%5C%5C%5C%22error%5C%5C%5C%22%3A%20%7B%5C%5Cr%5C%5Cn%20%5C%5C%5C%22code%5C%5C%5C%22%3A%20%5C%5C%5C%22InvalidResourceReference%5C%5C%5C%22%2C%5C%5Cr%5C%5Cn%20%5C%5C%5C%22message%5C%5C%5C%22%3A%20%5C%5C%5C%22Resource%20%2Fsubscriptions%2Ff24a69c1-75dd-467a-a24a-9fd862ba7e46%2FresourceGroups%2FWVDResources%2Fproviders%2FMicrosoft.Network%2FvirtualNetworks%2FWVD-vnet1%2Fsubnets%2FvmSubnet%20referenced%20by%20resource%20%2Fsubscriptions%2Ff24a69c1-75dd-467a-a24a-9fd862ba7e46%2FresourceGroups%2FWVDResources%2Fproviders%2FMicrosoft.Network%2FnetworkInterfaces%2FWVDS-0-nic%20was%20not%20found.%20Please%20make%20sure%20that%20the%20referenced%20resource%20exists%2C%20and%20that%20both%20resources%20are%20in%20the%20same%20region.%5C%5C%5C%22%2C%5C%5Cr%5C%5Cn%20%5C%5C%5C%22details%5C%5C%5C%22%3A%20%5B%5D%5C%5Cr%5C%5Cn%20%7D%5C%5Cr%5C%5Cn%7D%5C%22%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%5D%7D%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23b00000%22%20face%3D%22az_ea_font%2C%26quot%3BSegoe%20UI%26quot%3B%2Cwf_segoe-ui_normal%2C%26quot%3BSegoe%20WP%26quot%3B%2CTahoma%2CArial%2Csans-serif%22%3E%3CBR%20%2F%3E%7B%22code%22%3A%22DeploymentFailed%22%2C%22message%22%3A%22At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-debug%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-debug%3C%2FA%3E%20for%20usage%20details.%22%2C%22details%22%3A%5B%7B%22code%22%3A%22Conflict%22%2C%22message%22%3A%22%7B%5Cr%5Cn%20%5C%22status%5C%22%3A%20%5C%22Failed%5C%22%2C%5Cr%5Cn%20%5C%22error%5C%22%3A%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22ResourceDeploymentFailure%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22The%20resource%20operation%20completed%20with%20terminal%20provisioning%20state%20'Failed'.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22DeploymentFailed%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22At%20least%20one%20resource%20deployment%20operation%20failed.%20Please%20list%20deployment%20operations%20for%20details.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-debug%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-debug%3C%2FA%3E%20for%20usage%20details.%5C%22%2C%5Cr%5Cn%20%5C%22details%5C%22%3A%20%5B%5Cr%5Cn%20%7B%5Cr%5Cn%20%5C%22code%5C%22%3A%20%5C%22BadRequest%5C%22%2C%5Cr%5Cn%20%5C%22message%5C%22%3A%20%5C%22%7B%5C%5Cr%5C%5Cn%20%5C%5C%5C%22error%5C%5C%5C%22%3A%20%7B%5C%5Cr%5C%5Cn%20%5C%5C%5C%22code%5C%5C%5C%22%3A%20%5C%5C%5C%22InvalidResourceReference%5C%5C%5C%22%2C%5C%5Cr%5C%5Cn%20%5C%5C%5C%22message%5C%5C%5C%22%3A%20%5C%5C%5C%22Resource%20%2Fsubscriptions%2Ff24a69c1-75dd-467a-a24a-9fd862ba7e46%2FresourceGroups%2FWVDResources%2Fproviders%2FMicrosoft.Network%2FvirtualNetworks%2Fvnet-01%2Fsubnets%2FvmSubnet%20referenced%20by%20resource%20%2Fsubscriptions%2Ff24a69c1-75dd-467a-a24a-9fd862ba7e46%2FresourceGroups%2FWVDResources%2Fproviders%2FMicrosoft.Network%2FnetworkInterfaces%2FWVD_-0-nic%20was%20not%20found.%20Please%20make%20sure%20that%20the%20referenced%20resource%20exists%2C%20and%20that%20both%20resources%20are%20in%20the%20same%20region.%5C%5C%5C%22%2C%5C%5Cr%5C%5Cn%20%5C%5C%5C%22details%5C%5C%5C%22%3A%20%5B%5D%5C%5Cr%5C%5Cn%20%7D%5C%5Cr%5C%5Cn%7D%5C%22%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%20%5D%5Cr%5Cn%20%7D%5Cr%5Cn%7D%22%7D%5D%7D%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23b00000%22%20face%3D%22az_ea_font%2C%26quot%3BSegoe%20UI%26quot%3B%2Cwf_segoe-ui_normal%2C%26quot%3BSegoe%20WP%26quot%3B%2CTahoma%2CArial%2Csans-serif%22%3EThanks%3C%2FFONT%3E%3C%2FDIV%3E%3CDIV%3E%3CFONT%20color%3D%22%23b00000%22%20face%3D%22az_ea_font%2C%26quot%3BSegoe%20UI%26quot%3B%2Cwf_segoe-ui_normal%2C%26quot%3BSegoe%20WP%26quot%3B%2CTahoma%2CArial%2Csans-serif%22%3ESachin%3C%2FFONT%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-572334%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20virtual%20Deployment%20is%20getting%20failed%20for%20VMcreation%20linked%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-572334%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322211%22%20target%3D%22_blank%22%3E%40SachinMaliks%3C%2FA%3E%26nbsp%3B%3A%20If%20you're%20getting%20a%20%22nic%20cannot%20be%20found%22%2C%20make%20sure%20you%20are%20selecting%20an%20existing%20virtual%20network%20that%20has%20connectivity%20to%20your%20Domain%20Controller.%20This%20is%20required%20because%20Windows%20Virtual%20Desktop%20VMs%20must%20be%20connected%20to%20a%20domain%2C%20so%20that%20your%20Azure%20AD%20users%20logging%20in%20to%20the%20service%20can%20be%20resolved%20to%20a%20synchronized%20Active%20Directory%20user.%3C%2FP%3E%3C%2FLINGO-BODY%3E
SachinMaliks
New Contributor

Hello There,

 

My deployment for Windows virtual desktop is getting failed again and again for below errors. please help to address the same.

 

{"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":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"InvalidResourceReference\",\r\n \"message\": \"Resource /subscriptions/f24a69c1-75dd-467a-a24a-9fd862ba7e46/resourceGroups/PCGroup/providers/Microsoft.Network/virtualNetworks/vnet-01/subnets/vmSubnet referenced by resource /subscriptions/f24a69c1-75dd-467a-a24a-9fd862ba7e46/resourceGroups/PCGroup/providers/Microsoft.Network/networkInterfaces/rdsh-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}"}]}

 

{"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/f24a69c1-75dd-467a-a24a-9fd862ba7e46/resourceGroups/WVDResources/providers/Microsoft.Network/virtualNetworks/WVD-vnet1/subnets/vmSubnet referenced by resource /subscriptions/f24a69c1-75dd-467a-a24a-9fd862ba7e46/resourceGroups/WVDResources/providers/Microsoft.Network/networkInterfaces/WVDS-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}"}]}

{"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/f24a69c1-75dd-467a-a24a-9fd862ba7e46/resourceGroups/WVDResources/providers/Microsoft.Network/virtualNetworks/vnet-01/subnets/vmSubnet referenced by resource /subscriptions/f24a69c1-75dd-467a-a24a-9fd862ba7e46/resourceGroups/WVDResources/providers/Microsoft.Network/networkInterfaces/WVD_-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}"}]}
Thanks
Sachin

 

1 Reply

@SachinMaliks : If you're getting a "nic cannot be found", make sure you are selecting an existing virtual network that has connectivity to your Domain Controller. This is required because Windows Virtual Desktop VMs must be connected to a domain, so that your Azure AD users logging in to the service can be resolved to a synchronized Active Directory user.

Related Conversations
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies