New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No creation of Session Host in manual steps #30001
Comments
Slight addendum. While there is a Set-RDSSessionHost there doesn't appear to be an Add-RDSSessionHost or New-RDSSessionHost. So no commands that I see to add my VM to the HostPool. |
Thanks for the question. We are currently investigating and will update you shortly. |
I think I may have actually found my issue. The RD Agent installer that is linked to from the guide is 1.0.0.1462. The one the DSC pushes is 1.0.1.7 and about 2MB larger. After uninstalling the one from the guide and installing the one in the DSC package the session host now appears from the Powershell command. Gives me an update failed error of: UpdateGenevaAsync - Health Check Failed: But at least I can now see it! |
@JAK1047 thanks for the update. I will assign to the author to review and see if there is any doc changes we can make. Also, for any other troubleshooting assistance you can reach out to tech communities where we are currently supporting Virtual Desktop. https://techcommunity.microsoft.com/t5/Windows-Virtual-Desktop/bd-p/WindowsVirtualDesktop |
Will do. Thank you! |
Looks like it was resolved, and we've also made sure the packages are more up-to-date. |
I had issues with downloading the DSC file through our proxy using the new Windows Virtual Desktop resource. Don't believe there's anyway to set the proxy settings on the newly generated VM before the DSC extension deployment in the resource, so I went ahead and created the tenant, hostpool, appgroup, and domain joined my VM manually. After which I decided to just follow the steps here here to manually join the VM to the hostpool.
I see it in the web portal as a resource and can click it, but get a connection error. Running Get-RdsDiagnosticActivities shows the failure as:
“Could not find any SessionHost available in specified pool = ≤ACE-Win10-MultiSession-HP≥, due to either: sessions are not allowed, no healthy host (RDAgent did not report health information), session limit reached on all SessionHosts in the pool or the pool is empty. Run Get-RdsHostPool and Get-RdsSessionHost cmdlets to get more information.”
Running Get-SessionHost returns null, so that appears to be my issue. Looks like in the DSC extension deployment the ARM launches they set the Win10 VM as a session host using the New method off the PsRdsSessionHost accelerator you get from importing Microsoft.RDInfra.RDPowershell.dll. This is after installing the VDA, VDA Bootloader, and running the SxS Script.
(Line 203 of Script-FirstRdshServer.ps1) [Microsoft.RDInfra.RDManagementData.RdMgmtSessionHost]$rdsh = ([PsRdsSessionHost]::new($TenantName,$HostPoolName,$SessionHostName)).GetSessionHost()
Is there a step missing here or is the assumption you have an RDS sessionhost server of some kind? I see the WindowsVirtualDesktop module has a Set-RDSSessionHost command I can use, but since it wasn't on the guide I wanted to be sure.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: