I can deploy the custom image just fine, but I am unable to connect to the Remote Desktop as I get an error saying that there are currently no resources available. Running the Get-RdsSessionHost, shows that there is no heartbeat being received from the RDSH:
After digging around on this forum, I found that there was a backend issue which had been fixed very recently with regards to the heartbeat but I found that the service "Remote Desktop Agent Loader" was stopped on my RDSH. After trying to start the service, it looked like it had started but stopped about 2 seconds later. Looking in the Application event log, the service generated a Warning:
WVD-Agent service is being stopped: ENDPOINT_NOT_FOUND, This VM needs to be properly registered in order to participate in the deployment
Does anyone know what this means, and how the VM should be properly registered?
@robm82 : Looks like this post slipped through the cracks. Did you end up getting this running? My first instinct on this is that for the manual install, you need to first install the RD Agent, as that registers the VM to the service.
Don't know if you resolved this, but I just had exactly the same issue with a custom image and the new VMs would not join the hostpool.
I found by manually uninstalling Windows Virtual Desktop Agent, Windows Virtual Desktop Agent Bootloader and the Windows Virtual Desktop side-by-side stack. When you uninstall the Windows Virtual Desktop sbss with the default options it will close down the Remote Desktop services, and you will have to manually restart the machine in the Azure portal.
Finally remove the C:\Program Files\Microsoft RDInfra folder.