Windows Virtual Desktop technical walkthrough, including other (un)known secrets you did not know about the new Microsoft-Managed Azure Service


A lot of you know that Windows Virtual Desktop is now public preview. Lots of people wrote articles about it, and so did I. Most articles are covering information that is available everywhere, or just a subset of the service…

“If You Never Try, You’ll Never Know” – Ben Francia

With this article, I’d like to cover the things you might not have caught. Some are deep(er) technical points, while some are just not part of the public message but still way too important not to share. It’ll hopefully help you as consultant or architect to bring the technical (and functional) message around Windows Virtual Desktop to your customers 😊!

Continue reading…

Cloud learning

If you are learning on Azure right now and want to quickly increase your brains with awesome cloud-related knowledge? As part of Project Byte-Sized we are releasing a new community book – covering Cloud principles and best practices in June. After a period of 3 months, we received a total number of 145 submissions from all over the globe (19 countries). Altogether 140 people contributed resulting in 300+ pages, which we think is truly awesome.

Catch a sneak preview here, so you know what names you can expect. It can help you gain knowledge from the best people in the community!

Table of Contents

Click on the title to jump to that spot in this article:

The Desktop-As-a-Service market is growing

Garner and IDC expect a potential growth of 50% in the year 2019 of new DaaS customer choosing it over traditional VDI, pushing DaaS over 3 billion in revenue by the end of this year.

The EUC/VDI community acknowledged this number. During our relatively small Byte-Sized Community survey, we asked almost 200 independent people if they already use Desktop-As-a-Service solutions and if they expect that Windows Virtual Desktop will have a major impact on DaaS going forward.

“Q1 – Are you considering Desktop-As-a-Service (DaaS) anytime soon?”

“Q2 – Once released, the Microsoft Windows Virtual Desktop #WVD will have a major impact on DaaS going forward“

What are the differences between traditional VDI and DaaS?

To help you understand how Desktop-As-a-Service (DaaS) and traditional VDI are different from each other, I’ve had made this comparison matrix:

Once more – What is Windows Virtual Desktop?

People that follow my blogs know that I explained the services and benefits earlier in this article. However, for the people who didn’t catch that yet, here is a short run-over.

Windows Virtual Desktop, or WVD in short – is a born in the cloud Desktop-As-a-Service platform service offering on top of the Microsoft Azure Cloud. All the infrastructure services, such as brokering, web access, load-balancing, management and monitoring is all setup for you as part of the control plane offering. It also gives you access to the new Windows 10 Multi-User (EVD) Operating System – which is completely optimized for the sake of Office 365 ProPlus services, such as Outlook, OneDrive Files on Demand (per-machine), Teams etc.“

The only responsibility in terms of management effort is the golden images on top of Azure Infrastructure-As-a-Service (IaaS). The rest is all managed for you through the Azure service SLAs. Sounds pretty cool, right?

Let’s first start with the things you might not know about it

For the people who lived offline the past 2 months, here are some things you must know before you start reading this article!

  • Windows Virtual Desktop gives you the only multi-user Windows 10 experience, including compatibility with Microsoft Store and existing Windows line-of-business apps, while delivering cost advantages.
  • Allows you to virtualize both Full desktops and RemoteApps.
  • You can also use to for persistent Windows 10 – single user virtual desktops.
  • WVD will support Windows 7 virtual desktops and is the only way you can safely run Windows 7 after its End of Life on 14 January 2020. Windows 7 desktops on WVD will be the ONLY systems that receive free extended security updates.
  • Customers with the following license SKUs are entitled to use WVD with no additional charge apart from Azure compute, storage, and network usage billing:
    • To run Windows 10 multi-session, Windows 10, or Windows 7
      • Microsoft 365 F1, E3, E5, A3, A5, Business
      • Windows 10 Enterprise E3, E5
      • Windows 10 Education A3, A5
      • Windows 10 VDA per user
    • To run Windows Server 2012 R2, 2016, 2019
      • Remote Desktop Services (RDS) Client Access License (CAL) with active Software Assurance (SA)
  • Windows Virtual Desktop session host VMs are not exposed to the internet directly. They can run using a private IP address and run isolated from other workloads or even the internet. The reverse connect technology allows the VMs to be accessed
  • When a user connects to the WVD service, the use of Azure Active Directory (AAD) as the identity provider allows you to leverage additional security controls like multifactor authentication (MFA) or conditional access;
  • Deeply integrated with the security and management of Microsoft 365, such as Intune Modern Management
  • From a best practices point of view; Make sure all Azure resources are in the same region
  • All the Nvidia vGPU graphical enhanced n-series virtual machines on Azure are supported with Windows Virtual Desktop as well!
  • Citrix is adding their own Citrix Cloud stack as well to Windows Virtual Desktop, think about the Workspace experience and other services.
    • Expect updates around this during Synergy later this month!

RemoteApp (On Azure) is back

Azure RemoteApp was a great technology, but due to some problems it never took off and Microsoft decided to deprecate the service. Citrix Essentials was the replacement for certain use-cases in Azure IaaS as part of the Microsoft + Citrix increased partnership to emphasize the digital transformation to the Cloud.

Now, RemoteApp will be back in terms of functionality. The code is rewritten, and lessons learned from the past are used to improve the product. In case you were wondering about Windows 10 Multi-User, the answer is yes – you can use it with a RemoteApp solution.

One of the most interesting use-cases is consolidating your Win32 apps in Azure and place icons on the endpoint’s desktop – start menu and/or tiles in the start screen! The user doesn’t see/know whether the app is locally installed or is running a RemoteApp in Azure. I personally think that this use-case will be very important for future Windows Virtual Desktop customers!

See below how fast and easy it works in conjunction with FSLogix/Microsoft Profile Containers as Profile Management solution!

The architecture behind it all

The first step that you must do is the create the master image, or golden image in Citrix terms. Most often, this will be based on the new Windows 10 Enterprise for Virtual Desktops (Multi-User) Operating System, which is now available from the Azure Marketplace. After enrolling the server, you can start installing the application on the machine. When you’re done, you must capture the machine as an image to use as a base for your Windows Virtual Desktop deployment.

The Microsoft-managed control-plane is a completely redesigned infrastructure which leverages native Azure platform services to scale automatically. Think about Azure traffic manager for managing the RDP connection, Azure App Services in Azure for hosting the infrastructure services, and Azure SQL DB for hosting the RDS Brokering databases. Leveraging these services is the main reasons why this service is so cost-effective, which is the purpose of the Cloud and what it’s built for!

WVD User connection Traffic Flow

To give you a better understanding of how Windows Virtual Desktop connections work, I’m sharing the traffic flow. This is also useful for troubleshooting purposes.

Connecting from your endpoint to your Host Pool (session hosts in Azure Infrastructure-As-a-Service) works differently with Windows Virtual Desktop. It uses Reverse Connect, which means that no inbound ports need to be opened on the VM to setup the RDP connection.

Once the connection flow proceeds, bidirectional communication between your session hosts/host pool will go over port https (443). This port is almost always open from the inside to the outside, so it’s perfect for a remote connection to Windows Virtual Desktop!

See below in more depth how the traffic flow works.

  • User launches RD client which connects to Azure AD, user signs in, and Azure AD returns token
  • RD client presents token to Web Access, Broker queries DB to determine resources authorized for user
  • User selects resource, RD client connects to Gateway
  • Broker orchestrates connection from host agent to Gateway

RDP traffic now flows between RD client and session host VM over connections 3 and 4

Note: Windows Virtual Desktop can be used as worldwide service depending on your location and the location of the VMs. The control-plane persists currently in the US – east US 2 to be specific, however, your host pool can exist everywhere. Just remember your performance using a host pool outside of the US might vary until the control plane is added to other regions. If you set up a host pool in a non-US location with the US control plane, you will automatically switch to the local control plane when it’s rolled out for your region.

Migrate existing machines to Windows Virtual Desktop

Migrating from your current Remote Desktop Solution – RDS environment to Windows Virtual Desktop is relatively easy. You could use Azure Site recovery to migrate your server infrastructure to Azure. Follow the next 5 steps after that and sessions can be launched via Windows Virtual Desktop.

Note: There are also ARM Templates available to automate the creation of the RDS Infrastructure components.

  1. Register / create host pool within Windows Virtual Desktop
  2. Install RD Agent on session host
  3. Agent registers with Windows Virtual Desktop
  4. Decommission your old environment
  5. Ready to launch your session!

As part of this article, I’m showing al the manual steps of deploying a custom Windows 10 Multi-User (EVD) image in Azure and connect them to the Broker. This is the same procedure that you’ve to follow when you are using an existing image prior to preparation for the usage as part of Windows Virtual Desktop. The steps are starting here.

Windows 10 Multi UserSizing templates

Having the best end-user experience for your users is probably one of the most important goals when using Desktop-As-a-Service. Though the cloud takes over a lot of management tasks after a migration, you’ll still need to handle image management. The following matrix gives a good baseline on how your Windows 10 Enterprise for Virtual Desktops (CVAD) must be sized for 4 types of users. The amount of data in your profile is depending on your settings, think about Outlook retention slider settings for example. Due to the support of OneDrive Files On-Demand, the storage allocation for files sync should be minimal.

The Windows Virtual Desktop Host Pool enrollment of the Azure Marketplace also advises your which Virtual Machine SKU in Azure fits best for the number of users you need / going to use.

Update management – update existing host pool

The Microsoft WVD team created Azure ARM templates that remove or stop the old (drain mode) instance of WVD Hostpool session hosts and creates new virtual machines and registers them as session hosts to WVD host pool.

Extra information around the Azure ARM .json template can be find here. Or click on the Deploy to Azure button below to directly inject the .json ARM template in your Azure environment.

Note: All these features will later be integrated into the Azure Portal, as part of the new Windows Virtual Desktop management console. Get a sneak preview here.

There are different sets of parameters you must enter to successfully deploy the template:

  • ActionOnPreviousVirtualMachines
  • VM image Type
  • RDSH VM Configuration in Azure
  • Domain and Network Properties
  • Authentication to Windows Virtual Desktop

Up and downscale host pool resources – Breadth and Depth-first mode

For many Windows Virtual Desktop deployments in Azure, the virtual machine costs of the Windows Virtual Desktop session host VM represent the most significant portion of the total deployment cost. To reduce cost, the WVD Depth-first mode automatically fills up the first session host server maximum amount of users before spinning up a next one, and so on. The other option is to use it to shuts down and de-allocates RDSH server VMs during off-peak usage hours and then restarts them during peak usage hours. This can be a huge cost saver!

Breadth mode is the standard – default mode, which is based on Reserved Azure instances (IaaS). With Breadth mode, the users will spread across host pool collection.

Read more about this feature, and download the scripts/templates here.

Note: All these features will later be integrated into the Azure Portal, as part of the new Windows Virtual Desktop management console. Get a sneak preview here.

Some other recommendation and limitations:

  • This scaling script is written to handle one host pool per instance of the scheduled task that is running the script.
  • The scheduled tasks that runs scaling scripts must to be on a VM that is always on.
  • Create a separate folder for each instance of the scaling script and its configuration.
  • Accounts with MFA are not supported. It is recommended to use service principals to query access the Windows Virtual Desktop service and Azure.
  • Azure’s SLA guarantee apply only to VMs in an availability set. Current document describes environment with single VM that is doing the scaling, this may not meet availability requirements.

You can find the rest of the document / implementation guidance here.

Microsoft Teams (and OneDrive) per-Machine is available for VDI!

Microsoft just released a new Per-Machine (Machine-Wide) version of Teams, and will place the Teams application back to the Program Files directory. Currently, this per-machine version is only available for RDS, Citrix or VMware VDI machines – it basically detects the VDA software and RDS roles and fails to install otherwise. The Windows Virtual Desktop – Windows 10 Multi-User OS will follow soon as well as the video and audio offloading agent. Though it’s too important not to share, so that’s why I included the release in this article. Follow up here.

OneDrive Per-Machine is currently working as of today on Windows 10 Multi-User – the steps for doing this are listed here.

Note: Teams can be used in a VDI environment for chat and collaboration, but audio / video features are currently not supported. For admins who would like to deploy Teams for chat / collab only. Please follow up with this official Microsoft Docs article to disable Audio and Video from the Teams program with policies. 

New Per-Machine installation locations are:

Teams installation folder location – %ProgramFiles(x86)%\Microsoft\Teams\

OneDrive installation folder location – %ProgramFiles(x86)%\Microsoft OneDrive\

OneDrive per-Machine is (also) available

By default, the OneDrive sync client installs per user on Windows, meaning OneDrive.exe needs to be installed for each user account on the PC under the %localappdata% folder. With the new per-machine installation option, you can install OneDrive under the “Program Files (x86)” directory, meaning all profiles on the computer will use the same OneDrive.exe binary.

See here how to install OneDrive Per-Machine on Windows 10 Multi-User.

(Why using) OneDrive Known Folder Move together with WVD?

Recently, the OneDrive team added Known Folder Move functionality support to OneDrive, which is very useful to create the same end-user experience for our users on Windows Virtual Desktop as they would have on a Modern Desktop with all profile folders, such as My Documents, Pictures, Favorites, Desktop, etc. redirected to OneDrive. Also, with the use of OneDrive Files On-Demand, you’ll be able to save storage space from your profile folders due to the possibility to work with tiering for your hot and cold data. 

While using Known Folder Move on different devices or VDI environments in conjunction with the same OneDrive account. You ensure to always have your Office 365 documents on the same location, everywhere you go! Even on your mobile device, without any notice 😊

Activating Kown Folder Move is relatively easy. You can use the manual approach by opening the OneDrive client from the Start menu and click on Update Folders.

You can also use the automated approach

Enabling this policy sets the following registry keys:

(where “1111-2222-3333-4444” is the AzureAD Directory – tenant ID, which you can find in the Azure Portal – under the properties menu of your Azure AD tenant)

In the end, your profile folders will look like this, and are completely in sync with your OneDrive account.

New Azure Portal – Management Console

Windows Virtual Desktop (WVD) is just released in Public Preview. What it also means is that the product will be improved before the GA release later this year.

Currently, there are some manual PowerShell tasks needed to assign Desktops and RemoteApps to your end-users or groups when you enroll in a WVD environment. Another thing that is missing in the public preview is a management console in the Azure Portal.

Both tasks will be simplified, and to give you a sneak preview – the following Azure Portal integration console will be part of the native solutions soon. It gives you the ability to manage and maintain desktop and RemoteApp assignments, check and change virtual machine status more.

Note: The new WVD management Portal below will be released after the GA date of Windows Virtual Desktop. 

Future WVD Application Management – MSIX AppAttach (layering)

MSIX AppAttach is a newly announced sub-feature of MSIX that works similar to other AppLayering solution, however now without the disbenefits of AppLayering solutions, such as the bullet points below.

  • Fast and dynamic application provisioning
  • Lowers the number of images
  • No re-packaging of applications required
  • No performance impact
  • No special deployment servers

AppAttach is only announced during Build – any target release dates or any other official information is TBD.

Other important information to remember around AppAttach is:

Simple process and tool

  • Consume standard MSIX package format—No application repackaging!
  • Same process for Desktop / Remote App vs Physical desktops—all apps are MSIX
    • For WVD and traditional VDI (not WVD only)
  • Simplify app updates
  • FSLogix AppMasking works in conjunction with AppAttach
  • AppAttach applications indistinguishable from locally installed applications
  • Supersedes the “old” technologies
  • One package can be used by any number of client machines

Mainstream technology from Microsoft

  • Microsoft is moving to MSIX
  • Key partners embrace and extend
  • Nothing proprietary

Learn more about AppAttach at this Build breakout session here.

Maintain your WVD images with Azure Update Management

Your Windows Virtual Desktop master image can be managed by any already existing process, including Azure Update Management and System Center Configuration Manager. Azure Update management identifies missing system updates and orchestrates the installation of these updates across your Windows Virtual Desktop session hosts (and other infrastructure servers). You can sort of see it as the improved new Cloud platform service of Windows Update Services (WSUS).

Systems that are missing security updates can become targets of intrusions in your network and data. With simple out-of-the-box dashboards, you can quickly assess which servers need your immediate attention. With our update orchestration capabilities, you can manage the installation of updates across computer groups.

Windows Virtual Desktop and Azure Log Analytics

The main purpose of leveraging Public Cloud is not saving money. It’s around leveraging platform services to adopt as much as services to create the digital workspace for your business.

One of those platform services in Azure is LogAnalytics, the service to gather metric in your environment and bring them down to one single pane of glass dashboard. LogAnalytics gives you all information about sessions. This includes e.g. bandwidth and latency for every single user and session on your site. This can be relevant for troubleshooting or just monitoring purposes, and it doesn’t require any additional investments.

Note: This solution is offered asis for community purpose and for testing. To get the full stack – including Power BI templates – and professional support contact sales@sepago.de

Search for Azure Monitor for RDS and Windows Virtual Desktop in the Marketplace

Walkthrough Guidance: How to enroll Windows Virtual Desktop on Azure

In the next steps, I’ll explain how you enroll Windows Virtual Desktop from scratch with a customer created Windows 10 Enterprise for Virtual Desktop (Multi-User) image among tips and tricks.

Pre-requisites for Windows Virtual Desktop

The following requirements are needed for the use of Windows Virtual Desktop on Azure.

  • Entitled for licensing
  • Azure Subscription
    • Azure Active Directory setup
    • Global Administrator rights
      • Granting consent to the WVD service / Azure AD Enterprise Applications
    • Azure AD Connect
    • ADFS (optional for the best SSO end-user experience)
  • Domain controller
    • This AD must be in sync with Azure AD so users can be associated between the two
    • VMs must domain-join this AD
    • Optional: Azure AD Domain Services (in replacement for domain controller)
  • Profile Containers network share (S2D cluster recommended)
  • Network must route to a Windows Server Active…Directory (AD)
    • Optional: Networking/on-prem connectivity – express route, VPN, etc.

Pre-steps: Give Consent to your Azure AD tenant

Before you can create a WVD tenant, you must consent to have the WVD services access your Azure AD. The way WVD is designed requires explicit Azure AD consent. The process is much like how Azure requires you to enable non-standard resource providers before being able to use them.

Go to your Azure AD Properties in the Azure Portal, and copy your Directory ID.

After that, go to https://rdweb.wvd.microsoft.com/

Paste your Azure AD Directory ID in the text field and click on Submit

Logon with your Azure Global Administrator credentials of your Azure AD tenant

Accept the permissions request for your organization to finalize the principal creation process

And the application is created successfully

Repeat the same steps for the client app

https://rdweb.wvd.microsoft.com/

Assign privileges to create the Tenant

These steps are required to perform the next “create the WVD tenant” steps through PowerShell. Grant permissions for a user to create a Windows Virtual Desktop tenant.

Open Azure Active Directory

Click on Enterprise applications

Search for and then select Windows Virtual Desktop

Select Users and Groups

Select Add User, select Users and Groups and search for a user that you want to give permissions to perform WVD tenant creation

Click onassign

Make sure that the TenantCreator role is assigned

Create the Windows Virtual Desktop tenant

First, we need to prepare your client to run the Windows Virtual Desktop PowerShell module.

To do so, please run the following PowerShellcommand

Note: don’t forget to start your PowerShell console with administrator privileges

Also, make sure to import the module as well

Run the following command.

Login with your TenantCreator administrator account

If everything goes as expected, you must see the following info in return

Now, run the following command below.

Name is your tenantname.

You can randomly create a tenant name, suggest using your organization name.

Use your AzureAD Directory ID in the AadTenantID section.

Where to find? Go to your Azure Portal > Azure Active Directory > Properties > Directory ID.

Secondly, use the Azure subscription ID of your Azure tenant where you need to deploy your virtual machines in for the AzureSubscriptionId section.

Where to find?

Azure Portal > search for Subscriptions, copy the subscription ID

Make sure your tenant name returns successfully, like picture below.

Note: The name must be unique, make up a new name when it’s already in use!

Run the following command to create a host pool

Note: Create your own random hostpool name, such as WVD-Host-Pool01

Request the registration information token

Run the following command to request the registrationinformation to register our session host brokering agents to the broker.

Note: Copy the string to somewhere save – don’t lost the string, because we need them to register our master image / sessions to the broker.

Note: You can repeat the steps above for every host pool you want to create per Operating System. You can assign it later to the right host collection.

Assign WVD Desktop Application group

We can now assignusers to the host pool – to provide for instance the Windows 10 Multi User desktop.

Note: You can either assign Desktops or RemoteApps to one host pool, not both.

To assign a Desktop Group to a user, please run

Note: A Desktop Application Group stands for a full blown desktop.

Go to https://rdweb.wvd.microsoft.com/webclient/index.html and logon with your user account that your applied the desktop group to – to see if the Session Desktop icon is applied.

Note: The desktop does (obviously) not work yet. We first must create the master image and host pool!

Enroll the Windows 10 Multi-User + Office 365 ProPlus master image

There are different approaches to configure Windows Virtual Desktop. This can be either by Azure Virtual Machines or by using custom ARM scripts in conjunction with your own images, which can also be previous on-premises images that you can lift-and-shift with Azure Site Recovery to Azure.

Note: As part of the steps below, I’m showing al the manual steps of deploying a custom Windows 10 Multi-User (EVD) image in Azure and connect them to the Broker. This is the same procedure that you’ve to follow when you are using an existing image prior to preparation for the usage as part of Windows Virtual Desktop.

This is also to give you a complete and better technical understanding of the enrollment process. You could also use different ARM templates, or the pre-created images in the Windows Virtual Desktop Azure Marketplace – host pool deployment. Those are already enrolled with the RD Broker agent. 

See here where you could select a prepared image. When you prefer that, please skip these steps and start directly here.

Go to Virtual Machine

Click on + Add

Click on Browse all images

Select Windows 10 Enterprise for Virtual Desktop + Office 365 ProPlus

Also, make sure to enroll the master VM with a standard disk when you want to use the VHD – URI as base image during the Host Pool enrollment.

Finish the setup – and start the enrollment of the VM

Note: Managed images are also supported. Use the following docs article as follow up.

Once the virtual machine is enrolled and up and running:

Connect through RDP to the machine – this can be internally or externally.

Note: If you haven’t got an ExpressRoute or Site2Site VPN – please use just in time access for an secure approach to open 3389 from the outside.

https://docs.microsoft.com/en-us/azure/security-center/security-center-just-in-time

Once you are logged on to your master image.

Download the Windows Virtual Desktop Agent – and install the WVD agent on the master VM

Note: Right-click the downloaded installer, select Properties, select Unblock, then select OK. This will allow your system to trust the installer.

Click on Next

Paste the token you received earlier while creating the host pool through PowerShell with command below.

Click Next

Install the application – click install

The installation finished successfully

After this step, download the Windows Virtual Desktop Agent Bootloader and run the installer.

Note: Again – right-click the downloaded installer, select Properties, select Unblock, then select OK. This will allow your system to trust the installer

Click on Next

Click on Install

The installation finished successfully.

Download the Windows Virtual Desktop side-by-side stack and run the installer.

Note: Again – right-click the downloaded installer, select Properties, select Unblock, then select OK. This will allow your system to trust the installer

Click Next

Click Install

The setup will run some commands in a sperate DOS prompt. This can take up a while – 3 minutes…

The installation is finished.

Final StepDownload thisscript to activate the side-by-side stack.You can paste the script into a PowerShell window and run it. The outcome after running it most look similar like the exhibit below.

Now we can add our agents to the image, such as the FSLogix Apps Agent, plus your own agents and Win32 applications.

Install OneDrive Per-Machine 

You can download the new per-machine version of OneDrive below:

https://go.microsoft.com/fwlink/?linkid=2083517

Make sure to re-install the application by using the following command.

Also, when running this on a Multi-User environment, this means that on that same session host, all the different user-profile – OneDrive versions will update simultaneously – which can get messy in terms of network throughput. This is also solved with the per-machine version.

The per-machine version will update itself by a service/account which injects itself during the installation. Therefore, you always need to run the installation as local administrator with UAC privileges.

Extra: Optimize the WVD VDI image for the best user density in Azure + Github PowerShell optimization script

This article helps you choose and prepare settings for Windows 10 Enterprise for Virtual Desktop (Multi-User) that should result in the best performance in a Virtualized Desktop Infrastructure (VDI) environment. All settings in this guide are recommendations to be considered and are in no way requirements.

https://docs.microsoft.com/en-us/azure/virtual-desktop/set-up-customize-master-image#configure-windows-defender

As follow up to the official optimization for Window Virtual Desktop, you could use the latest new official Microsoft article around optimizing Windows 10, version 1803 (build 17134) VDIs that should result in the best performance in a Virtualized Desktop Infrastructure (VDI) environment. Most of the settings also apply for Windows 10 Enterprise for Virtual Desktops to gain in performance and user density!

https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-vdi-recommendations-1803

Note: A automated optimization script that implements the optimizations discussed in this topic–as well as a GPO export file that you can import with LGPO.exe–is available at TheVDIGuys on GitHub.

Add FSLogix Profile Container for profile management

The article below will cover the complete installation of the Microsoft/FSLogix Profile Container—including all the steps that are needed, for the sake of Windows Virtual Desktop environment – the process is the same.

Please see other advices below on conjuction.

Profile Container Article

The future of Roaming Profiles – Add fast logon performance and Office 365 support to your virtual desktop (VDI) – DaaS environment with Microsoft/FSLogix Profile Container, including existing UEM solutions

Finalize the Windows 10 image

To wrap the Windows 10 Multi User (Windows 10 Enterprise for Virtual Desktops) image up and start the host pool enrollment process from the Azure Marketplace, we must delete the virtual machine to release the image. After that, we  can use the URI file from our Azure storage blob environment to use as master image.

Note: As shared earlier. you could use Azure Managed Images as well. See here how to do that.

Before you delete the image – go to your Disks menu of the virtual machine and open on the name of the disk.

Save the location to your clipboard, we need this VHD URI path later.

Delete the Virtual Machine.

Note: The disk will stay behind in your storage account.

Enroll your Windows Virtual Desktop Host Pool

Now we come to the point where we can use our master image as baseline of our deployment. A host pool is a collection of session hosts (right now based on Windows 10 – Multi User, however Windows 7 and Server 2012 R2 and higher is supported as well). We can use them later to assign our Desktops and Published Apps to.

First, go to the Azure Marketplace

Search for Windows Virtual Desktop

Click on Create

Start the deployment with entering the your WVD tenant name.

We go for pooled, because we use a multi user environment, which is shared. Use personal when you want to assign a dedicated (persistent) virtual machine, such as Windows 10 single user to one specific user.

Note: Your tenant name is the one you entered in the command below, from the previous steps. Do not run this command again.

Note: Enter a comma-separated list of users to be automatically assigned to the desktop app group for the host pool. For example, ‘user1@contoso.com,user2@contoso.com,etc.’.

Note: You can deploy your host pool in every Azure datacenter location, which supports Virtual Machines. For the best user experience, consider creating your environment near an Azure region containing a Windows Virtual Desktop cluster. Currently, the WVD control-plane is only available in Azure east US 2. After GA, more locations will be added. Also, see the traffic flow in the beginning of this article as follow up.

Click on Next

Use the following sizing guidance for the next menu.

This prefix will be used in combination with the VM number to create the VM name. If using ‘WVD‘ as the prefix, VMs would be named ‘WVD-0′, ‘WVD-1′, etc. You should use a unique prefix to reduce name collisions in Active Directory and in Windows Virtual Desktop.

Click on Next

Now we come to the point where we define our master image, which we create earlier.

Paste the VHD – URI path

Note: You can use a pre-configured image as well, based on the Azure gallery.

Select your disk type – preferably SSD

Enter your normal (classic) Active Directory credentials for the computer account domain join

Select your Azure Virtual Network.

Note: You must select an existing virtual network that has access to the Active Directory. If you do not see it listed, you must re-start the deployment with the correct Azure location selected.

Click on Ok

Note: As shared earlier. you could use Azure Managed Images as well. See here how to do that.

Now we switch to the Azure AD – principal requirements.

First enter the name of the tenant group name associated with your Windows Virtual Desktop tenant. If you were not given one, leave it as ‘Default Tenant Group’.

Enter the name of your Windows Virtual Desktop tenant.

Select the type of account you would like to use to authenticate to Windows Virtual Desktop. This user must have ‘RDS Owner’ or ‘RDS Contributor’ permissions on the Windows Virtual Desktop tenant.

Note: You cannot enter a user account that requires MFA. If you intend to use MFA, consider creating a service principal for this purpose.

Check the summary, and click on Ok

Click on Create to start the host pool enrollment

When the enrollment is done – your machines will automatically

Assign Windows Virtual Desktop Remote Application group – RemoteApps

Optional steps: To assign a Remote AppGroup to a user, please run the command below.

Note: You cannot create a Remote Application Group on the same host pool when you already use it for your desktops. If you want to run RemoteApps and Desktops, you need to create 2 different host pools first and assign.

When you need another host pool for RemoteApps, please run all the previous command again, however, now with a different hostpool name.

Run the command below, with the new HostPoolName for RemoteApps

Also, save the registration token. You need them for the other host pool as well.

Note: Keep in mind that you must enroll 2 master images while using 2 host pools. You also need to enroll the host pool twice, one for the desktop host pool and one for the RemoteApps host pool

Please follow up for the other command here:

https://docs.microsoft.com/en-us/azure/virtual-desktop/manage-app-groups

Install the Windows Virtual Desktop Agent

To run your Windows Virtual Desktop – Full Desktops or RemoteApps directly from the client and/or start menu, you must install the WVD Client.

Download the WVD client below

http://aka.ms/wvd/clients/windows 

Start the WVD Client – Desktop app

Subscribe to the feed using the URL

https://rdweb.wvd.microsoft.com

Click subscribe

Enter a user that has a desktop or apps applied.

Click on Next

And password.

Your RemoteApps and Desktops are ready to use!

And also, part of your Windows StartMenu!!

Use the HTML5 WebAccess portal

WVD can be accessed without a client or agent from a web browser, which can be beneficial when you need to do some work without having your own device with you.

To access the RDWeb portal, please go to.

https://rdweb.wvd.microsoft.com/webclient/index.html

Logon with your credentials.

Azure MFA can be added to this as well. Azure AD Conditional Access features are supported!

If you get access, you’ll see all your Desktops and RemoteApps

Accessing my Windows 10 Multi User…

We are inside our Windows 10 Multi User – Enterprise for Virtual Desktop session host, including OneDrive, Teams and Outlook – everything just works 😊!

Some extra information regarding client supports; Windows Virtual Desktop supports the following clients as of today.

This URL goes directly to the official Microsoft download page to download the WVD client.

  • Windows 10
  • Windows 7
  • Android
  • Chromebook*
  • Samsung DeX
  • HTML5 Web client on Windows, macOS and Linux
  • Which basically means every device is supported with a HTML5 browser installed.

See here a comprehensive troubleshooting overview and what to do when for feedback and support!

https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-set-up-overview

Also, I wrote a previous article on Office 365 ProPlus and Office 2019 challenges. I encourage you to use that article in advance to this one.

Hope to see you back soon – and feel free to leave a comment if you’ve any questions.

Thank you,

Christiaan Brinkhoff

Christiaan Brinkhoff

Christiaan Brinkhoff works as Cloud Architect and Technology Evangelist for the Windows Virtual Desktop and FSLogix team within Microsoft and is the owner of christiaanbrinkhoff.com IT Consulting. In addition to his work, he shares his passion for Cloud innovation by speaking at large international conferences, writing articles for vendors and external community programs, such as VDILIKEAPRO, WhatMatrix, as well as on his website. This community-related work got him the privilege to achieve the following three - Microsoft Valuable Professional (MVP) for Microsoft Azure, Citrix Technology Professional (CTP), VMware vExpert - vendor awards. There are currently only five people in the world that have all these titles combined.