Add customscriptextension while deploying hostpool in WVD spring 2020

%3CLINGO-SUB%20id%3D%22lingo-sub-2036460%22%20slang%3D%22en-US%22%3EAdd%20customscriptextension%20while%20deploying%20hostpool%20in%20WVD%20spring%202020%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2036460%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3EWe%20have%20a%20requirement%20to%20install%20the%20SCCM%20client%20while%20deploying%20hostpool%20to%20all%20the%20VM's%20which%20are%20provisioned%20under%20hostpool.%3C%2FP%3E%3CP%3Ehave%20tried%20downloaded%20the%20template%20and%20tried%20to%20add%20customscriptextension%20at%20the%20end%20of%20the%20main%20template.%20But%20it%20get's%20failed%20as%20parent%26nbsp%3B%3C%2FP%3E%3CP%3EStatus%20Message%3A%20Can%20not%20perform%20requested%20operation%20on%20nested%20resource.%20Parent%20resource%20'VMName'%20not%20found.%20(Code%3AParentResourceNotFound)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETemplate%20link%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgist.github.com%2Framoj25%2F2c067ff8812e9cccd74b023ef12dddf2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgist.github.com%2Framoj25%2F2c067ff8812e9cccd74b023ef12dddf2%3C%2FA%3E%3C%2FP%3E%3CP%3EPlease%20suggest%20thanks%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2036460%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWVD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

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.

 

1 Reply

@ramoj25 

 

is it working when you deploy a host without the script and add script manual?