Forum Discussion

EFS_Networks's avatar
EFS_Networks
Copper Contributor
Feb 12, 2020

Trouble setting up Host Pool for Windows Virtual Desktop

I am setting up Windows Virtual Desktop for the first time.  I have completed all the prerequsite work in Power Shell. 

When I try to create host pool via marketplace/wizard, I  get the following error when it tries to validate:

Deployment template validation failed: 'The provided value 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Common.Entities.TemplateGenericProperty`1[Newtonsoft.Json.Linq.JToken]' for the template parameter 'newOrExistingVnet' at line '152' and column '24' is not valid. The parameter value is not part of the allowed value(s): 'existing'.'.

 

I see lots of other folks online w/ same issue.  Supposedly it is a known bug that was very recently fixed (except it wasn't)

 

I then attempted to create host pool via PowerShell using these instructions:

https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell

When I run the command to create a registration token, I get this error:

 

New-RdsRegistrationInfo : Object reference not set to an instance of an object.

 

Any help would be much appreciated.

 

Thanks,

Mike

 

 

  • Phoenixtekk's avatar
    Phoenixtekk
    Copper Contributor
    Hey, This is pretty easy to resolve if you are still running into this problem. The problem comes in if you created the Network and Subnet in the same browser session that you plan to use to create the Windows Virtual Desktop pool. Open a browser Incognito and attempt to create the WVD. You should see success. You'll know you'll get success if you can finally see and select the network and subnet you was the WVD to connect to.

    This is what solve my exact same issue.

Resources