Forum Discussion
Gastonlyons
Microsoft
May 28, 2020Internal server error when creating a HostPool
Hi, I'm using the Az.DesktopVirtualization module to create a Host Pool using this command:
New-AzWvdHostPool -Name "testHP" -ResourceGroupName WVDDemoHosts -Location eastus
The Host Pool is c...
PavithraT
Microsoft
May 28, 2020Gastonlyons Looks like you have not specified -HostPoolType parameter (Personal|Pooled). The error should be better but I would suggest you add this and let me know if you still get that error.
Gastonlyons
Microsoft
May 29, 2020Hi Pavithra,
Thanks for your answer, I'd tried that, but when specifing all the parameters:
New-AzWvdHostPool -Name TestingHostPool -ResourceGroupName WVDDemoHosts -Location eastus -WorkspaceName "TestingWS" -HostPoolType Pooled -LoadBalancerType DepthFirst
I get:
New-AzWvdHostPool_FullSenerioCreate: Cannot bind argument to parameter 'Name' because it is an empty string.
And the Host Pool is not created.
- PavithraTMay 29, 2020
Microsoft
New-AzWvdHostPool -ResourceGroupName <resourcegroupname> -Name <hostpoolname> -WorkspaceName <workspacename> -HostPoolType <Pooled|Personal> -LoadBalancerType <BreadthFirst|DepthFirst|Persistent> -Location <region> -DesktopAppGroupName <appgroupname>
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell