#AVD Deployment Failing

1 messages · Page 1 of 1 (latest)

unborn sandal
#

My AVD Host deployment keeps failing at “vmCreatiom-linkedTemplate-…”.

I don’t understand why. The AVD host and VM gets created, but the VM isn’t linked to the host.

Any ideas please?

pearl bone
#

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.

unborn sandal
#

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”

pearl bone
unborn sandal
pearl bone
unborn sandal
#

I still don’t see it in the Windows App to connect, one mo

pearl bone
unborn sandal
#

I downloaded the RDP file but it then points to 10.0.0.6 as the remote computer which is obvs internal IP

pearl bone
unborn sandal
#

Ok managed to connect over Bastion, checking log now

#

Ffs it just keeps disconnecting me

pearl bone
#

Are you deploying the session host with a marketplace image? Which one?

unborn sandal
#

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

pearl bone
#

That is fine then.

unborn sandal
#

It’s a B-series “B1ls”

#

VM size

pearl bone
#

ouch

unborn sandal
#

Just for testing rn

#

Haha

pearl bone
#

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.

unborn sandal
#

Ok, any suggestions?

#

Would B2s be ok?

#

2 vCPU, 4 GB ram?

pearl bone
#

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 🙂

unborn sandal
#

Hey, so I upped the image to a much higher spec, and the deployment failed instantly @pearl bone

unborn sandal
#

Status BadRequest

#

So the host pool was created, but the VM wasn’t

pearl bone
pearl bone
#

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

unborn sandal
#

There’s no vmcreation listed. The one below is one from an hour ago

pearl bone
#

Click on the HostPool-xxxxx deployment

unborn sandal
#

Just the one deployment called “Host…”

#

Oh

pearl bone
#

It should open and there will be multiple deployments inside

unborn sandal
#

"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."
}
]
}

pearl bone
#

What is the the subscription you are using?

unborn sandal
#

My Azure subscription

#

I am the Owner

pearl bone
#

I mean what is the type?

#

Is it a free trial?

unborn sandal
#

No

pearl bone
#

Student?

unborn sandal
#

Just a normal one I guess lol

pearl bone
#

Ok which VM size did you select for the VM?

unborn sandal
#

This one:

pearl bone
#

There should be a Quota status for your VM size

#

And I wrote to use Dv5 family size btw

unborn sandal
#

1 of 25,000

#

0%

#

Usage at low level

pearl bone
#

Can you please try it v D family size

unborn sandal
#

Ok

#

Should I delete the host pool and recreate or just add vm?

pearl bone
#

Host pool should be fine, just add the vm

unborn sandal
#

D2ls_v5 good?

#

2 CPU 4 RAM

pearl bone
#

Just use the D2s_v5.

unborn sandal
#

Ok fingers crossed

#

Okay leave it with me for now I think

#

It’s not even passing the validation but all settings look correct

pearl bone
unborn sandal
#

I think it’s a quota issue @pearl bone

#

Just testing

#

F2s v2 works, so I’m deploying now.

pearl bone
unborn sandal
#

Yes i know thanks

#

I didn’t realise there were quotas haha

unborn sandal
#

It worked!!

pearl bone
#

Cool 🙂

#

So F2s is a bit expensive size. check out the quota. Normally the D and B family sizes are increased on demand from the portal without the need to contacting MS support.

#

And remember to always use at least 2 vCPU for Windows 😉

unborn sandal
#

Why is my quota for a really cheap VM 0 by default? @pearl bone

#

Also there seems to be a lot of VM sizes that I just don’t have access to, I don’t really get it lol