ramoj kumar
ramoj kumar

Reputation: 13

Status Message: Can not perform requested operation on nested resource. Parent resource 'VMName' not found. (Code:ParentResourceNotFound)

I deploying a hostpool in Azure WVD spring 2020 update My requirement is to add the customscript extension to the defualt template.

In default template I see couple of nested templates, in that the domain join & DSC extensions are added.

I am trying to add the CSE in the main template and get this error.

Status Message: Can not perform requested operation on nested resource. Parent resource 'WVDVM-0' not found. (Code:ParentResourceNotFound)

Template here https://gist.github.com/ramoj25/2c067ff8812e9cccd74b023ef12dddf2

Upvotes: 0

Views: 2776

Answers (1)

4c74356b41
4c74356b41

Reputation: 72181

if the vmResourceGroup is different to the template deployment resource group - this will always fail. this has to be deployed to the same resource group as the vm.

another possibility - they are deployed to different regions

Upvotes: 0

Related Questions