Reputation: 13
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
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