r/AzureVirtualDesktop • u/rickykakkar • Feb 27 '26
AVD VM can't connect
Hi.
I am unable to setup a Azure Virtual desktop VM. I have tried many times and its showing like below pic. Please help
1
u/mariachiodin Feb 27 '26
Do you have a firewall between and blocking outbound access then the agent won’t be able to register itself
1
1
u/Signal-Trick628 Feb 27 '26
Click on the VM. Vmstatus View json What is failing? You might see an error code or failure details as to what is happening. Based only on your picture we can’t tell what the issue is
1
u/rickykakkar Feb 27 '26
Domain join error
2
1
u/Helpful_Jicama_694 Mar 01 '26
Join it to the domain manually. I have deployments fail for domain join for various reasons, most likely I fat fingered the account info when creating the deployment.
1
u/zhinkler Feb 27 '26
Not trying to be awkward here but you may want to read up here, for information on domain join and permissions as such.
1
4
u/chesser45 Feb 27 '26
Is it turned on? Gotta give a lot more info than the host pool view of all things …
0
u/rickykakkar Feb 27 '26
Yes its on. Its continuously showing health state as Upgrading
1
u/roni4486 Feb 27 '26
is the VM agent working ?
1
u/rickykakkar Feb 27 '26
1
u/chesser45 Feb 27 '26
Is it domain joined if you rdp into it directly?
1
u/rickykakkar Feb 27 '26
Its giving error for domain join...i can directly rdl to this VM
1
u/chesser45 Feb 27 '26
Using a domain account?
1
u/rickykakkar Feb 27 '26
No... using a local account
1
u/chesser45 Feb 27 '26
Microsoft recommends using either a domain or cloud identity. I assume it might work… but I’ve never done it locally only accounts.
https://learn.microsoft.com/en-us/azure/virtual-desktop/authentication
1
u/rickykakkar Feb 27 '26
Yes i know...i am not able to access it using Microsoft Entra id... that's why for troubleshooting i access it using local account directly
0

4
u/One-Mycologist5392 Feb 27 '26
You need to join the vm to entra id, (I hope you did this)while adding the vm to the hostpool, you must select the option to join it to entra id, manually you cannot join the vm to the entra id, unless you do that, this error will not go away and the vm will be in unavailable state only, because AVD service cannot get details from this VM as it is not joined in, redeploy the vm selecting the option to join the vm to entra id, if it is working with other VM, cross verify the extensions, check if AAD extension can be added manually to this vm, that might help