Home

Session Host Update Error

%3CLINGO-SUB%20id%3D%22lingo-sub-482125%22%20slang%3D%22en-US%22%3ESession%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-482125%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20adding%20a%20domain%20joined%20Azure%20VM%20to%20my%20host%20pool%20by%20installing%20the%20RD%20Agent%20I'm%20seeing%20it%20give%20errors%20on%20upgrading%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ESessionHostName%20%26nbsp%3B%20%26nbsp%3B%3A%20ACE-WIN10-MS-0.windstream.com%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CDIV%3ETenantName%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20Windstream%20Communications%3C%2FDIV%3E%3CDIV%3ETenantGroupName%20%26nbsp%3B%20%26nbsp%3B%3A%20Default%20Tenant%20Group%3C%2FDIV%3E%3CDIV%3EHostPoolName%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20ACE-Win10-MultiSession-HP%3C%2FDIV%3E%3CDIV%3EAllowNewSession%20%26nbsp%3B%20%26nbsp%3B%3A%20True%3C%2FDIV%3E%3CDIV%3ESessions%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%200%3C%2FDIV%3E%3CDIV%3ELastHeartBeat%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3EAgentVersion%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%201.0.407.0%3C%2FDIV%3E%3CDIV%3EAssignedUser%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3EOsVersion%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3ESxSStackVersion%20%26nbsp%3B%20%26nbsp%3B%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3EStatus%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3A%20UpgradeFailed%3C%2FDIV%3E%3CDIV%3EUpdateState%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3A%20Failed%3C%2FDIV%3E%3CDIV%3ELastUpdateTime%20%26nbsp%3B%20%26nbsp%3B%20%3A%204%2F24%2F2019%204%3A16%3A47%20PM%3C%2FDIV%3E%3CDIV%3EUpdateErrorMessage%20%3A%20UpdateGenevaAsync%20-%20Health%20Check%20Failed%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%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%26nbsp%3BMicrosoft.RDInfra.RDAgent.Service.InstallationHealthCheckFailedException%3A%20PerformBasicMonitoringHealthCheck%20-%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%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%26nbsp%3Bno%20monitoring%20environment%20present%20in%20registry%3C%2FDIV%3E%3CDIV%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%26nbsp%3B%20%26nbsp%3B%20at%20Microsoft.RDInfra.RDAgent.Service.BasicMonitoringAgentValidation.PerformBasicMonitoringHealthCheck()%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%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%26nbsp%3BC%3A%5Cagent%5C_work%5C1%5Cs%5Csrc%5CRDAgent%5Csrc%5CService%5CAgentUpdateClasses%5CMonitoringAgentServices.cs%3Aline%2039%3C%2FDIV%3E%3CDIV%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%26nbsp%3B%20%26nbsp%3B%20at%20Microsoft.RDInfra.RDAgent.Service.GenevaServices.PerformGenevaHealthCheck()%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%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%26nbsp%3BC%3A%5Cagent%5C_work%5C1%5Cs%5Csrc%5CRDAgent%5Csrc%5CService%5CAgentUpdateClasses%5CGenevaServices.cs%3Aline%2033%3C%2FDIV%3E%3CDIV%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%26nbsp%3B%20%26nbsp%3B%20at%20Microsoft.RDInfra.RDAgent.Service.RDAgentUpdateHandler.%3CUPDATEGENEVAASYNC%3Ed__57.MoveNext()%20in%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FUPDATEGENEVAASYNC%3E%3C%2FDIV%3E%3CDIV%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%26nbsp%3BC%3A%5Cagent%5C_work%5C1%5Cs%5Csrc%5CRDAgent%5Csrc%5CService%5CAgentUpdateClasses%5CRDAgentUpdateHandler.cs%3Aline%20608%20-%20holding%20for%205%26nbsp%3B%20minutes%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EAny%20troubleshooting%20tips%20on%20what%20%22no%20monitoring%20environment%20present%20in%20registry%22%20might%20be%20referencing%3F%20SxS%20script%20was%20already%20ran%20as%20well%2C%20but%20I%20don't%20believe%20the%20two%20are%20related.%20I%20did%20try%20reinstalling%20the%20agent%20MSI%20and%20making%20sure%20I%20was%20running%20it%20as%20Administrator.%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-572014%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-572014%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F311068%22%20target%3D%22_blank%22%3E%40ScriptingJAK%3C%2FA%3E%26nbsp%3B%3A%20Did%20you%20end%20up%20resolving%20this%3F%20Or%20attempt%20creating%20a%20new%20host%20pool%20recently%20through%20the%20Azure%20Marketplace%20%2F%20ARM%20templates%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-572071%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-572071%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%26nbsp%3B%3A%26nbsp%3B%3C%2FP%3E%3CP%3ESadly%20wasn't%20able%20to%20get%20it%20working%2C%20but%20haven't%20seen%20this%20particular%20error%20again.%20Completely%20removed%20the%20RDS%20App%20Group%20and%20Host%20Pool.%20Started%20from%20the%20ground%20up%2C%20but%20second%20go%20around%20the%20VM%20never%20even%20appeared%20as%20a%20Session%20Host%20at%20all.%20Left%20a%20comment%20over%20on%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%3C%2FA%3E%26nbsp%3Bstating%20that%20the%20installers%20listed%20aren't%20the%20same%20version%20as%20what%20is%20pushed%20in%20the%20DSC%20from%20the%20ARM%20template%2C%20but%20doesn't%20look%20like%20they've%20been%20updated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20a%20case%20with%20my%20company's%20Microsoft%20TAM%20on%20the%20DSC%20in%20the%20New%20Host%20Pool%20Resource%20failing%20to%20download%2C%20but%20looks%20like%20I%20may%20just%20have%20to%20wait%20for%20that%20to%20get%20resolved%20because%20I%20can%20not%20get%20the%20manual%20steps%20to%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-572351%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-572351%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F311068%22%20target%3D%22_blank%22%3E%40ScriptingJAK%3C%2FA%3E%26nbsp%3B%3A%20Hmm...if%20all%20of%20the%20steps%20go%20through%2C%20then%20the%20only%20reason%20the%20VMs%20wouldn't%20show%20up%20is%20if%20there's%20name%20collisions%2C%20in%20which%20case%20the%20service%20doesn't%20automatically%20overwrite%20the%20session%20hosts%20that%20are%20already%20in%20the%20database.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20address%20your%20first%20comment%2C%20the%20DSC%20is%20now%20updated%20to%20match%20the%20published%20version%20from%20the%20docs%2C%20but%20I%20understand%20how%20the%20mismatch%20would%20be%20confusing.%20Hopefully%20you're%20able%20to%20resolve%20the%20issues%20in%20your%20environment%20and%20continue%20testing.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-574668%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-574668%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%26nbsp%3B%3A%3C%2FP%3E%3CP%3EHave%20they%20been%20updated%3F%20Ran%20the%20New%20Host%20Pool%20resource%20yesterday%20and%20the%20RD%20Agent%20it%20tried%20pulling%20down%20to%20install%20from%20%3CA%20href%3D%22https%3A%2F%2Fcatalogartifact.azureedge.net%2Fpublicartifacts%2Frds.wvd-provision-host-pool-a6ce9b11-d690-4507-ad19-923cf56a9375-preview%2FArtifacts%2FDSC%2FConfiguration.zip%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcatalogartifact.azureedge.net%2Fpublicartifacts%2Frds.wvd-provision-host-pool-a6ce9b11-d690-4507-ad19-923cf56a9375-preview%2FArtifacts%2FDSC%2FConfiguration.zip%3C%2FA%3E%20is%20labeled%20%22Microsoft.RDInfra.RDAgent.Instaler-x64-1.0.1.7%22%20while%20if%20I%20click%20the%20download%20link%20from%20the%20manual%20instructions%20page%20I%20linked%20earlier%26nbsp%3Bit%20takes%20me%20to%20%3CA%20href%3D%22https%3A%2F%2Fquery.prod.cms.rt.microsoft.com%2Fcms%2Fapi%2Fam%2Fbinary%2FRWrmXv%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fquery.prod.cms.rt.microsoft.com%2Fcms%2Fapi%2Fam%2Fbinary%2FRWrmXv%3C%2FA%3E%20and%20pulls%20down%20%22Microsoft.RDInfra.RDAgent.Installer-x64-1.0.0.1462%22%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-616278%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-616278%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F311068%22%20target%3D%22_blank%22%3E%40ScriptingJAK%3C%2FA%3E%20%3A%20There's%20been%20a%20hiccup%20in%20publishing%2C%20so%20we're%20trying%20to%20get%20the%20Azure%20Marketplace%20updated%20today%2Ftomorrow.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-616417%22%20slang%3D%22en-US%22%3ERe%3A%20Session%20Host%20Update%20Error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-616417%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F305776%22%20target%3D%22_blank%22%3E%40christianmontoya%3C%2FA%3E%26nbsp%3BSounds%20great.%20Thank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E
ScriptingJAK
Occasional Contributor

After adding a domain joined Azure VM to my host pool by installing the RD Agent I'm seeing it give errors on upgrading:

 

SessionHostName    : ACE-WIN10-MS-0.windstream.com

TenantName         : Windstream Communications
TenantGroupName    : Default Tenant Group
HostPoolName       : ACE-Win10-MultiSession-HP
AllowNewSession    : True
Sessions           : 0
LastHeartBeat      : 
AgentVersion       : 1.0.407.0
AssignedUser       : 
OsVersion          : 
SxSStackVersion    : 
Status             : UpgradeFailed
UpdateState        : Failed
LastUpdateTime     : 4/24/2019 4:16:47 PM
UpdateErrorMessage : UpdateGenevaAsync - Health Check Failed: 
                     Microsoft.RDInfra.RDAgent.Service.InstallationHealthCheckFailedException: PerformBasicMonitoringHealthCheck - 
                     no monitoring environment present in registry
                        at Microsoft.RDInfra.RDAgent.Service.BasicMonitoringAgentValidation.PerformBasicMonitoringHealthCheck() in 
                     C:\agent\_work\1\s\src\RDAgent\src\Service\AgentUpdateClasses\MonitoringAgentServices.cs:line 39
                        at Microsoft.RDInfra.RDAgent.Service.GenevaServices.PerformGenevaHealthCheck() in 
                     C:\agent\_work\1\s\src\RDAgent\src\Service\AgentUpdateClasses\GenevaServices.cs:line 33
                        at Microsoft.RDInfra.RDAgent.Service.RDAgentUpdateHandler.<UpdateGenevaAsync>d__57.MoveNext() in 
                     C:\agent\_work\1\s\src\RDAgent\src\Service\AgentUpdateClasses\RDAgentUpdateHandler.cs:line 608 - holding for 5  minutes
 
 
Any troubleshooting tips on what "no monitoring environment present in registry" might be referencing? SxS script was already ran as well, but I don't believe the two are related. I did try reinstalling the agent MSI and making sure I was running it as Administrator.
6 Replies

@ScriptingJAK : Did you end up resolving this? Or attempt creating a new host pool recently through the Azure Marketplace / ARM templates?

@christianmontoya : 

Sadly wasn't able to get it working, but haven't seen this particular error again. Completely removed the RDS App Group and Host Pool. Started from the ground up, but second go around the VM never even appeared as a Session Host at all. Left a comment over on https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell stating that the installers listed aren't the same version as what is pushed in the DSC from the ARM template, but doesn't look like they've been updated.

 

Have a case with my company's Microsoft TAM on the DSC in the New Host Pool Resource failing to download, but looks like I may just have to wait for that to get resolved because I can not get the manual steps to work.

@ScriptingJAK : Hmm...if all of the steps go through, then the only reason the VMs wouldn't show up is if there's name collisions, in which case the service doesn't automatically overwrite the session hosts that are already in the database.

 

To address your first comment, the DSC is now updated to match the published version from the docs, but I understand how the mismatch would be confusing. Hopefully you're able to resolve the issues in your environment and continue testing.

@christianmontoya :

Have they been updated? Ran the New Host Pool resource yesterday and the RD Agent it tried pulling down to install from https://catalogartifact.azureedge.net/publicartifacts/rds.wvd-provision-host-pool-a6ce9b11-d690-4507... is labeled "Microsoft.RDInfra.RDAgent.Instaler-x64-1.0.1.7" while if I click the download link from the manual instructions page I linked earlier it takes me to https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RWrmXv and pulls down "Microsoft.RDInfra.RDAgent.Installer-x64-1.0.0.1462"

@ScriptingJAK : There's been a hiccup in publishing, so we're trying to get the Azure Marketplace updated today/tomorrow.

@christianmontoya Sounds great. Thank you!

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies