Windows Virtual Desktop – Part 3

Windows Virtual Desktop – Part 3

This is part 3 of our posts regarding Windows Virtual Desktop, until now we have covered:

  • Part 1 – Created a Windows Virtual Desktop tenant – Part 1
  • Part 2 – Created a service principal and some customization of our on-premises AD – Part 2

In this part we will create a host pool, first thing is to go to the Azure portal and create a new resource.

image_thumb[7]

Search for Windows Virtual Desktop and select Windows Virtual Desktop – Provision a host pool.

image_thumb[8]

When Windows Virtual Desktop – Provision a host pool is shown click Create.

image_thumb[9]

In this test we will create a new Resource group, Create new.

image_thumb[10]

Name the resource group.

image_thumb[11]

We will then set the region we want to use here West Europe, name the hostpool, select the Desktop type here Pooled, and finally enter our test user from our on-premise AD which is synchronized to Azure AD (test1@mindcorelab.dk) – this user was created in Part 2.

Then continue by clicking Next: Configure virtual machine.

For now the only Metadata location is United States!

Windows Virtual Desktop comprises the Windows desktops and apps you deliver to users and the management solution, which is hosted as a service on Azure by Microsoft. Desktops and apps can be deployed on virtual machines (VMs) in any Azure region, and the management solution and data for these VMs will reside in the United States (US East 2 region). This may result in data transfer to the United States.

image_thumb[13]

For the test we will choose Light Usage Profile, total users set to 5, and then change the size.

image_thumb[14]

We select A2_v2 for this test.

image_thumb[15]

This will result in a single A2 v2 host for this test setup.

Our prefix will be set to DSK.

The prefix will be used for the names of the virtual machines. For example, if you enter DSK like here, the virtual machines will be called DSK-0, DSK-1, and so on as shown in this example:

image

When ready continue to next page Virtual machine settings.

image_thumb[17]

For this test we will use an image from the galley – Windows 10 Enterprise multi-session with Office 365 ProPlus, this will be an easy way to start, but of course you can use your own images.

We will use Disk type as Standard SSD for performance.

AD domain join UPN will be set to the domain joint account we created in Part 2, and the password we gave the service account.

We need to be aware that this account (same username and password) will be created on the virtual machines as a local account.

In this test we want the computers to be created in our OU called WVD, so we specify Domain to join and OU Path (uppercase for OU= and DC=).

For the virtual network and subnet I will use the network connected to our on-premises infrastructure with a VPN tunnel.

image

In order for us to continue we need the saved service principal password from Part 2.

We also need Windows Virtual Desktop tenant group name (TenantGroupName), Windows Virtual Desktop tenant name (TenantName) and Azure AD tenant ID (AadTenantId).

You can get these values if you connect to Windows virtual desktop and use the command Get-RdsTenant.

image

And last we need the Application ID (Appid) of the service principal, you can get this value by connecting to Azure AD and use the commands.

$AzureADServicePrincipal = get-AzureADApplication -SearchString "Windows Virtual Desktop Service Principal"

$AzureADServicePrincipal.AppId

image

With all information collected let’s fill it in, and remember to use Service principal.

image

Hopefully this should result in validation passed, and we can create.

image 

Deployment will then start.

image

If all behaves the way we expect you should see the deployment complete.

image

In our on-premises Active Directory we can now find the computer joined to our domain and placed in the correct OU.

image

Since this is only a test I will enable auto-shutdown of my hosts to save money.

image

In part 4 we will add FSLogix to the equation – stay tuned.

+ posts

Table of Contents

Share this post
Search blog posts
Search
Authors
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.

Modern Workplace consultant and a Microsoft MVP in Windows and Devices.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & security specialist with focus on Microsoft 365.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

Modern workplace and infrastructure architect with a focus on Microsoft 365 and security.

follow us in feedly
Categories

Follow on SoMe