WVD Intune ARM Template Update

You can deploy Windows Virtual Desktop (WVD) via an ARM Template. There is a possible update incoming for this template. This update may contain native join to Microsoft Intune (Endpoint Manager) from within the WVD ARM template.

Firstly, I would like to refer to Sander Rozemuller who noticed the change in the ARM template at first. I am going to elaborate and state the changes and where to find them.

Find the new template

You can find the template by adding sessionhost through the portal. Firstly logon to Azure.

Then go to an existing WVD Hostpool via the WVD portal:

Go to your existing Hostpool:

Then click on your existing Hostpool:

After that, click on sessionhosts and click on add:

Fill in all the parameters needed for the deployment and go the “Review + Create” stage:

When all the parameters are filled as required by Microsoft this option becomes available in the Review + create stage:

And that is where you can find the template:

Changes in the template

I am not going to discuss all the changes made in this template because there is a lot of them. These are the ones that stand out the most:

Firstly, this change in the parameters (Intune and aadJoin):

They have also added the possibilty to set Availability Zones and Fault/Update Domains:

Let’s discuss the elephant in the room. The possibility (maybe) to add your WVD directly to Azure AD. When you drill down in the deployment. (You can find this when you go to your resource group where you have deployed the template from the previous chapter). For example:

The deployments you see in the picture above are the deployment created by the hostpool creation template. This hostpool creation template contains nested templates and based on which choices you make in the creation process the nested templates are called upon. The main template is the UpdateHostpool deployment:

After that the nested template “vmCreation-linkedTemplate” will be called upon to the deploy the VM’s, join them to the domain (maybe Azure AD), and join them to the hostpool. When you click on this “vmCreation-linkedTemplate”:

You see the components deployed by the nested template:

When you click on template in this window:

This shows the ARM template:

I noticed that an extension was added:

This may point to a big update in the near future. This is all I noticed for a possible WVD ARM Template Intune Update.


Other posts:
HostPool Registration Key
Snapshot Managed Disk to Storage Account

3 thoughts on “WVD Intune ARM Template Update”

Leave a Comment