Add existing VM to host pool

%3CLINGO-SUB%20id%3D%22%5C%26quot%3Blingo-sub-3160257%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EAdd%20existing%20VM%20to%20host%20pool%26lt%3B%5C%2Flingo-sub%26gt%3B%3CLINGO-BODY%20id%3D%22%5C%26quot%3Blingo-body-3160257%5C%26quot%3B%22%20slang%3D%22%5C%26quot%3Ben-US%5C%26quot%3B%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20an%20existing%20windows%2010%20pro%20VM%20in%20Azure%20and%20i%20want%20to%20add%20it%20to%20the%20virtual%20desktop%20host%20pool.%20I%20checked%20some%20of%20the%20articles%20and%20still%20unable%20to%20add%20it.%20Some%20article%20suggest%20that%20we%20need%20to%20install%20azure%20virtual%20desktop%20agent%2C%20copy%20the%20register%20key%20and%20paste%20it%20in%20when%20we%20are%20ask%20for%20token.%20In%20my%20case%20i%20am%20not%20getting%20that%20token%20tab%20at%20all.%20Is%20there%20way%20to%20add%20the%20vm%3F%20Or%20steps%20if%20anyone%20can%20share%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20you%26lt%3B%5C%2Flingo-body%26gt%3B%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3160257%22%20slang%3D%22en-US%22%3EAdd%20existing%20VM%20to%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3160257%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20an%20existing%20windows%2010%20pro%20VM%20in%20Azure%20and%20i%20want%20to%20add%20it%20to%20the%20virtual%20desktop%20host%20pool.%20I%20checked%20some%20of%20the%20articles%20and%20still%20unable%20to%20add%20it.%20Some%20article%20suggest%20that%20we%20need%20to%20install%20azure%20virtual%20desktop%20agent%2C%20copy%20the%20register%20key%20and%20paste%20it%20in%20when%20we%20are%20ask%20for%20token.%20In%20my%20case%20i%20am%20not%20getting%20that%20token%20tab%20at%20all.%20Is%20there%20way%20to%20add%20the%20vm%3F%20Or%20steps%20if%20anyone%20can%20share%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20you%3C%2FLINGO-BODY%3E
New Contributor
Hi,

I have an existing windows 10 pro VM in Azure and i want to add it to the virtual desktop host pool. I checked some of the articles and still unable to add it. Some article suggest that we need to install azure virtual desktop agent, copy the register key and paste it in when we are ask for token. In my case i am not getting that token tab at all. Is there way to add the vm? Or steps if anyone can share?

Thanks you
1 Reply
Hello,

This is possible. You need to run the DSC Extension which joins the machine to a hostpool.

Check the "Install AVD extensions with PowerShell" part out of this post:

https://rozemuller.com/avd-automation-cocktail-avd-automated-with-powershell/

Thanks,

Niels