Home

Created a WVD Pool using custom VM, but can't login to it when accessing the pool

%3CLINGO-SUB%20id%3D%22lingo-sub-863710%22%20slang%3D%22en-US%22%3ECreated%20a%20WVD%20Pool%20using%20custom%20VM%2C%20but%20can't%20login%20to%20it%20when%20accessing%20the%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-863710%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20created%20a%20WVD%20pool%2C%20but%20when%20I%20log%20in%20to%20the%20WVD%20client%20or%20webclient%20and%20double%20click%20the%20pool%20name%2C%20I%20get%20the%20error%20below.%20I%20opened%203389%20to%20VM%20to%20verify%20it's%20up%20and%20running%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F132668i8539F0B88E9167E3%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-863719%22%20slang%3D%22en-US%22%3ERe%3A%20Created%20a%20WVD%20Pool%20using%20custom%20VM%2C%20but%20can't%20login%20to%20it%20when%20accessing%20the%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-863719%22%20slang%3D%22en-US%22%3Enote%3A%20im%20using%20a%20custom%20image.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-866874%22%20slang%3D%22en-US%22%3ERe%3A%20Created%20a%20WVD%20Pool%20using%20custom%20VM%2C%20but%20can't%20login%20to%20it%20when%20accessing%20the%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-866874%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411991%22%20target%3D%22_blank%22%3E%40ramitadros%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20could%20check%20what%20is%20going%20wrong%20using%20the%26nbsp%3B%3CSPAN%3E%3CSTRONG%3EGet-RdsDiagnosticActivities%3C%2FSTRONG%3E%20cmdlet%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fdiagnostics-role-service%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fdiagnostics-role-service%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFilter%20out%20the%20%3CSTRONG%3EConnection%3C%2FSTRONG%3E%20attempt%2C%20get%20the%20Detailed%20logging%20(using%20the%20%3CSTRONG%3E-Detailed%3C%2FSTRONG%3E%20parameter)%20and%20expand%20the%20%3CSTRONG%3EErrors%3C%2FSTRONG%3E%20property%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-867258%22%20slang%3D%22en-US%22%3ERe%3A%20Created%20a%20WVD%20Pool%20using%20custom%20VM%2C%20but%20can't%20login%20to%20it%20when%20accessing%20the%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-867258%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F298270%22%20target%3D%22_blank%22%3E%40michawets%3C%2FA%3E%26nbsp%3B%20this%20is%20what%20i%20get%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3EErrorSource%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20RDBroker%3C%2FP%3E%3CP%20class%3D%22p1%22%3EErrorOperation%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20LookupSessionHostPool%3C%2FP%3E%3CP%20class%3D%22p1%22%3EErrorCode%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20-2146233088%3C%2FP%3E%3CP%20class%3D%22p1%22%3EErrorCodeSymbolic%20%3A%20ConnectionFailedNoHealthyRdshAvailable%3C%2FP%3E%3CP%20class%3D%22p1%22%3EErrorMessage%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20Could%20not%20find%20any%20SessionHost%20available%20in%20specified%20pool%20%3D%20%E2%89%A4poolE%E2%89%A5%2C%20due%20to%20either%3A%20sessions%20are%20not%20allowed%2C%20no%20healthy%20host%20(RDAgent%20did%20not%20report%20health%20information)%2C%20session%20limit%20reached%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3Eon%20all%20SessionHosts%20in%20the%20pool%20or%20the%20pool%20is%20empty.%20Run%20Get-RdsHostPool%20and%20Get-RdsSessionHost%20cmdlets%20to%20get%20more%20information.%3C%2FP%3E%3CP%20class%3D%22p1%22%3EErrorInternal%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20False%3C%2FP%3E%3CP%20class%3D%22p1%22%3EReportedBy%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20RDGateway%3C%2FP%3E%3CP%20class%3D%22p1%22%3ETime%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%209%2F20%2F2019%209%3A11%3A36%20AM%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3ESo%20I%20ran%20Get-RdsSessionHost%3A%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3ESessionHostName%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20vdiE-0.xxxxx.onmicrosoft.com%3C%2FP%3E%3CP%20class%3D%22p1%22%3ETenantName%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3Axxxxx.onmicrosoft.com%3C%2FP%3E%3CP%20class%3D%22p1%22%3ETenantGroupName%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20Default%20Tenant%20Group%3C%2FP%3E%3CP%20class%3D%22p1%22%3EHostPoolName%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20poolE%3C%2FP%3E%3CP%20class%3D%22p1%22%3EAllowNewSession%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20True%3C%2FP%3E%3CP%20class%3D%22p1%22%3ESessions%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%200%3C%2FP%3E%3CP%20class%3D%22p1%22%3ELastHeartBeat%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%209%2F19%2F2019%205%3A50%3A04%20PM%3C%2FP%3E%3CP%20class%3D%22p1%22%3EAgentVersion%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%201.0.1345.5400%3C%2FP%3E%3CP%20class%3D%22p1%22%3EAssignedUser%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%3C%2FP%3E%3CP%20class%3D%22p1%22%3EOsVersion%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%2010.0.18362%3C%2FP%3E%3CP%20class%3D%22p1%22%3ESxSStackVersion%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20rdp-sxs190816002%3C%2FP%3E%3CP%20class%3D%22p1%22%3EStatus%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20SxSStackListenerNotReady%3C%2FP%3E%3CP%20class%3D%22p1%22%3EUpdateState%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20Succeeded%3C%2FP%3E%3CP%20class%3D%22p1%22%3ELastUpdateTime%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%209%2F19%2F2019%204%3A11%3A19%20PM%3C%2FP%3E%3CP%20class%3D%22p1%22%3EUpdateErrorMessage%20%3A%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3ECan%20it%20be%20that%20I%20didn't%20install%20the%20RD%20agent%20before%20i%20create%20the%20image.%20But%20I%20did%20install%20it%20after%20while%20trying%20to%20resolve%20this%20issue%3F%3C%2FP%3E%3CP%20class%3D%22p2%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-868520%22%20slang%3D%22en-US%22%3ERe%3A%20Created%20a%20WVD%20Pool%20using%20custom%20VM%2C%20but%20can't%20login%20to%20it%20when%20accessing%20the%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-868520%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411991%22%20target%3D%22_blank%22%3E%40ramitadros%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20you%20check%20if%20the%20Windows%20Virtual%20Desktop%20Agent%20and%20Windows%20Virtual%20Desktop%20Agent%20Boot%20Loader%20are%20correctly%20installed%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-vm-configuration%23windows-virtual-desktop-agent-and-windows-virtual-desktop-boot-loader-are-not-installed%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-vm-configuration%23windows-virtual-desktop-agent-and-windows-virtual-desktop-boot-loader-are-not-installed%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20not%2C%20follow%20these%20steps%20to%20install%20or%20reinstall%20both%20agents%20on%20your%20VM%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%23register-the-virtual-machines-to-the-windows-virtual-desktop-preview-host-pool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%23register-the-virtual-machines-to-the-windows-virtual-desktop-preview-host-pool%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20that%2C%20your%20sessionhost%20should%20end%20up%20as%20available%20in%20the%20Get-RdsSessionHost%20cmdlet.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20this%20helps%3CBR%20%2F%3E%3CBR%20%2F%3EKind%20regards%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-897684%22%20slang%3D%22en-US%22%3ERe%3A%20Created%20a%20WVD%20Pool%20using%20custom%20VM%2C%20but%20can't%20login%20to%20it%20when%20accessing%20the%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-897684%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F298270%22%20target%3D%22_blank%22%3E%40michawets%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20re-installed%20agent%20and%20bootloader%2C%20but%20still%20getting%20a%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22p1%22%3EStatus%20%3CSPAN%20class%3D%22Apple-converted-space%22%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3A%20SxSStackListenerNotReady%3C%2FP%3E%3CP%20class%3D%22p1%22%3Ewhen%20running%26nbsp%3BGet-RdsSessionHost.%20Do%20I%20need%20to%20isntall%20any%20additional%20agents%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
ramitadros
Occasional Contributor

I've created a WVD pool, but when I log in to the WVD client or webclient and double click the pool name, I get the error below. I opened 3389 to VM to verify it's up and running

 

clipboard_image_0.png

5 Replies

Hi @ramitadros ,

 

You could check what is going wrong using the Get-RdsDiagnosticActivities cmdlet:

https://docs.microsoft.com/en-us/azure/virtual-desktop/diagnostics-role-service

 

Filter out the Connection attempt, get the Detailed logging (using the -Detailed parameter) and expand the Errors property

@michawets  this is what i get

 

ErrorSource       : RDBroker

ErrorOperation    : LookupSessionHostPool

ErrorCode         : -2146233088

ErrorCodeSymbolic : ConnectionFailedNoHealthyRdshAvailable

ErrorMessage      : Could not find any SessionHost available in specified pool = ≤poolE≥, 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.

ErrorInternal     : False

ReportedBy        : RDGateway

Time              : 9/20/2019 9:11:36 AM

 

So I ran Get-RdsSessionHost:

 

SessionHostName    : vdiE-0.xxxxx.onmicrosoft.com

TenantName         :xxxxx.onmicrosoft.com

TenantGroupName    : Default Tenant Group

HostPoolName       : poolE

AllowNewSession    : True

Sessions           : 0

LastHeartBeat      : 9/19/2019 5:50:04 PM

AgentVersion       : 1.0.1345.5400

AssignedUser       :

OsVersion          : 10.0.18362

SxSStackVersion    : rdp-sxs190816002

Status             : SxSStackListenerNotReady

UpdateState        : Succeeded

LastUpdateTime     : 9/19/2019 4:11:19 PM

UpdateErrorMessage : 

 

Can it be that I didn't install the RD agent before i create the image. But I did install it after while trying to resolve this issue?

 

Hi @ramitadros,

Can you check if the Windows Virtual Desktop Agent and Windows Virtual Desktop Agent Boot Loader are correctly installed?
https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-vm-configuration#windows-virtual...

If not, follow these steps to install or reinstall both agents on your VM:
https://docs.microsoft.com/en-gb/azure/virtual-desktop/create-host-pools-powershell#register-the-vir...

After that, your sessionhost should end up as available in the Get-RdsSessionHost cmdlet.

Hope this helps

Kind regards

@michawets 

 

I'm re-installed agent and bootloader, but still getting a 

Status             : SxSStackListenerNotReady

when running Get-RdsSessionHost. Do I need to isntall any additional agents?

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
ChirmyRam in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies