#AVD Deployment Failing
1 messages · Page 1 of 1 (latest)
If you click on the vmCreation-linkedTemplate, you will see which resource is failing to deploy. Most likely if the VM is running but not associated with AVD host pool, it is failing on extensions.
If you want to know specific reason as to why the extensions are failing (and it is not visible in the portal from the error description), login to the VM and search for C:\Packages\Plugins. This folder contains the extension folder with log files specifing the error.
In my experience it is usually a domain join problem (in case of domain-joined session hosts) or a missing system-assigned identity on the VM (in case of Entra joined). But this is just common issues I had, could be anything.
Registering VM to AVD Host pool is done by Powershell.DSC extension.
That’s the one, it’s PowerShell.DSC.Extension
I did Entra Join but chose not to enroll with intune, so that shouldn’t be an issue, right?
@pearl bone
I recreated it this morning, it’s been deploying for over an hour now
The extension is status “Transitioning”
This should work. The identity is required for the Intune enrollment. Can you check the log file?
Where’s this located sorry?
C:\Packages\Plugins
I still don’t see it in the Windows App to connect, one mo
You will not, need to use RDP
I downloaded the RDP file but it then points to 10.0.0.6 as the remote computer which is obvs internal IP
Then you can use Azure Bastion Developer to access through browser if there is no VPN connection
Ok managed to connect over Bastion, checking log now
Uhm
Ffs it just keeps disconnecting me
Are you deploying the session host with a marketplace image? Which one?
I tried several, using Windows 11 25H2, 24H2, tried Windows 10 as well
On the dropdown, it’s Windows 11 Enterprise multi-session, Version 25H2
That is fine then.
ouch
1 vCPU on a Windows 11 machine is bad. Even for testing, use 4vCPU/8GB RAM size
That might be the reason your deployment is so slow
So please just let if fail, delete it and try it again with more powerfull VM.
Nope, burstable size does not work well with Windows 11. Are you super short on budget? I mean it will cost a few bucks if you use D2as_v5 / D4as_v5
I should clarify, the burstable size B2s does not work well. Higher size might be okay.
Also I would test with 24H2 given the fact the 25H2 was just released. But it should work. I have not tested it yet. Giving it a few months 🙂
Hey, so I upped the image to a much higher spec, and the deployment failed instantly @pearl bone
And the error?
I am sorry but you need to be more specific then that
You should be able to get the detailed error for the vmCreation
If you open this deployment, then you can open the one called vmCreation
There’s no vmcreation listed. The one below is one from an hour ago
Click on the HostPool-xxxxx deployment
It should open and there will be multiple deployments inside
"code": "InvalidTemplateDeployment",
"message": "The template deployment 'vmCreation-linkedTemplate-d29911e4-7df9-4f8e-8e84-9eb3866570cc' is not valid according to the validation procedure. The tracking id is 'e4dbb144-0ff9-4563-bc93-9415be735a73'. See inner errors for details."
}
]
}
What is the the subscription you are using?
No
Student?
Ok which VM size did you select for the VM?
This one:
Can you check here pls https://portal.azure.com/#view/Microsoft_Azure_Capacity/QuotaMenuBlade/~/myQuotas
There should be a Quota status for your VM size
And I wrote to use Dv5 family size btw
Can you please try it v D family size
Host pool should be fine, just add the vm
Just use the D2s_v5.
Ok fingers crossed
Okay leave it with me for now I think
It’s not even passing the validation but all settings look correct
You should see which part is wrong though
I think it’s a quota issue @pearl bone
Just testing
F2s v2 works, so I’m deploying now.
That is the link I sent to check your quota for you subscription
It worked!!