Forum Discussion
NKC25
Jan 06, 2021Brass Contributor
Add customscriptextension while deploying hostpool in WVD spring 2020
Hi all,
We have a requirement to install the SCCM client while deploying hostpool to all the VM's which are provisioned under hostpool.
have tried downloaded the template and tried to add customscriptextension at the end of the main template. But it get's failed as parent
Status Message: Can not perform requested operation on nested resource. Parent resource 'VMName' not found. (Code:ParentResourceNotFound)
Template link here https://gist.github.com/ramoj25/2c067ff8812e9cccd74b023ef12dddf2
Please suggest thanks in advance.
- TommekBrass Contributor
- NKC25Brass ContributorSorry, it's been while I haven't checked the post..
Yes it works fine, have added the custom extension script aswell as Azure disk encryption.
Both works fine.
however, in recent new updates in ARM template for AVD, you can add the external templates>> post deployment of machine.