Forum Discussion
azure windows virtual desktop: there are currently no resources available to connect to
- Apr 26, 2019
BSuleyman Ali Below are the commands I used to clean up a host pool. You may need to remove user assignments before the resource can be removed.
Get-RdsAppGroup -TenantName $tenant -HostPoolName $hostPoolNameGet-RdsAppGroupUser -TenantName $tenant -HostPoolName $hostPoolName -AppGroupName "Remote App Group"Get-RdsAppGroup -TenantName $tenant -HostPoolName $hostPoolName | Remove-RdsAppGroupGet-RdsHostPool -TenantName $tenantGet-RdsSessionHost -TenantName $tenant -HostPoolName $hostPoolNameGet-RdsSessionHost -TenantName $tenant -HostPoolName $hostPoolName | Remove-RdsSessionHostGet-RdsHostPool -TenantName $tenant | Remove-RdsHostPool
Suleyman AliI created a playlist with of walk-throughs on setting up and managing WVD. Link below. Be sure that the Virtual Network you are connecting to exists and has access to a domain controller. If you are recreating host pools, you should also remove the pool in the WVD environment with PowerShell. Removing the Resource Group won't remove the WVD host pool and I haven't seen a spot to manage that in the portal. It could be that you are connecting to a host pool that had the VM's removed.
https://www.youtube.com/playlist?list=PLnWpsLZNgHzXMtKjaQJf4Rn64W86nUDv1
TravisRobertsyeah, the network already exists and connects to azure AD DS (if you don't have on-premise/hybrid/ cloud DS then it will fail at the join part).
right... I think we will need to delete all resources and try again. we did not remove the host pool from WVD and this is probably the reason as its trying to connect to the host pool. do you have instructions in regards to removing the host pool via PS.
- Apr 26, 2019
BSuleyman Ali Below are the commands I used to clean up a host pool. You may need to remove user assignments before the resource can be removed.
Get-RdsAppGroup -TenantName $tenant -HostPoolName $hostPoolNameGet-RdsAppGroupUser -TenantName $tenant -HostPoolName $hostPoolName -AppGroupName "Remote App Group"Get-RdsAppGroup -TenantName $tenant -HostPoolName $hostPoolName | Remove-RdsAppGroupGet-RdsHostPool -TenantName $tenantGet-RdsSessionHost -TenantName $tenant -HostPoolName $hostPoolNameGet-RdsSessionHost -TenantName $tenant -HostPoolName $hostPoolName | Remove-RdsSessionHostGet-RdsHostPool -TenantName $tenant | Remove-RdsHostPool- Suleyman AliApr 26, 2019Iron Contributor