Forum Discussion
amolpawar87
Jun 11, 2024Copper Contributor
UrlsAccessibleCheck for most of our AVD HealthCheckFailed
Hi Team most of our AVD are recieving the below errror. We are facing this issue from yesterday. We tried restarting the avd with no luck.
Seems like RD Agent is getting stuck due to which the health is failing. Any suggestion or workaround would be helpful.
{
"healthCheckName": "UrlsAccessibleCheck",
"healthCheckResult": "HealthCheckFailed",
"additionalFailureDetails": {
"message": "{\"AccessibleUrls\":null,\"NotAccessibleUrls\":null,\"Context\":\"No information URLs accessibility: healthcheck was cancelled.\"}",
"errorCode": 1223,
"lastHealthCheckDateTime": "2024-06-10T14:28:45.5028866Z"
}
- MathieuVandenHautteSteel ContributorHi amolpawar87
Please try this action plan on one or more AVD session hosts:
1. Uninstall all agent, boot loader, and stack components
2. Remove the session host from the host pool
3. Generate a new registration key for the VM
4. Reinstall the Azure Virtual Desktop Agent and boot loader
https://learn.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-agent#step-1-uninstall-all-agent-boot-loader-and-stack-component-programs - pksony88Copper Contributor
- Solution 1: Verify URL Accessibility
- Access the Session Host via RDP:
- Take the Remote Desktop Protocol (RDP) connection to the created session host.
- Check URL Accessibility:
- Open Command Prompt (CMD) with administrator privileges.
- Navigate to the directory: C:\Program Files\Microsoft RDInfra\RDAgent_1.0.8431.2300.
- Run the command: .\WVDAgentUrlTool.exe.
- Verify Endpoint Access:
- Follow the guidelines provided by Microsoft: Check access to required FQDNs and endpoints for Azure Virtual Desktop.
- If the URL is not accessible, ensure it is allowed through your network or firewall settings.
- Solution 2: Re-register the Session Host in the Host Pool
- Access the Session Host via RDP:
- Take the RDP of the created session host or the problematic server with administrative privileges.
- Download Necessary Agents:
- Download the required agents from the following links:
- Azure Virtual Desktop Agent
- Azure Virtual Desktop Agent Bootloader
- Unblock Downloaded Files:
- For each downloaded file (agent and bootloader), unblock them:
- Right-click on the file, select Properties, click Unblock, and then select OK.
- Generate a New Registration Key:
- Sign in to the Azure portal.
- Search for "Azure Virtual Desktop" and select the corresponding service.
- Navigate to Host pools and select the name of the host pool containing your session host VM.
- In the Overview blade, select Registration key to generate a new key.
- Install the Bootloader:
- Run the bootloader installer on the session host.
- Restart the Session Host VM:
- Restart the virtual machine to complete the re-registration process.
- By following these steps, you should be able to resolve the common issues associated with Azure Virtual Desktop session hosts. If problems persist, further investigation into network configurations or additional Azure support may be required.
If you follow this steps your issue will resolve.
Don't forget to mark as answer.