In my previous blog post about Azure Windows Virtual Desktop (Preview), I have explained what is it and how to publish full desktop using it. You can find it via http://www.rebeladmin.com/2019/04/step-step-guide-azure-windows-virtual-desktop-preview/ . However, in an infrastructure not every user required full desktop access. Some users may only be using certain applications. Azure Windows Virtual Desktop (Preview) also can use to publish an application. In this demo, I am going to show how to publish an application using Azure Windows Virtual Desktop (Preview).
Before we go ahead with the configuration, please make sure you have the following ready.
Windows Virtual Desktop Host Pool – Before we publish applications, we need to have a host pool up and running. This is already described on http://www.rebeladmin.com/2019/04/step-step-guide-azure-windows-virtual-desktop-preview/ . Please follow the guide and configure the host pool.
Install Applications – Any application available on the host's start menu can publish as a remote app. Therefore, please make sure you install the required applications in hosts.
Windows Virtual Desktop PowerShell module – We will be using PowerShell commands to publish the app. Please following https://docs.microsoft.com/en-gb/powershell/windows-virtual-desktop/overview and install the module.
In my demo environment, I already have a host pool configured as follows.
I am going to create a new Remote app group and publish the Microsoft Word application which is already installed in the hosts. To do this,
1. Launch PowerShell console as Administrator.
2. Run Import-Module -Name Microsoft.RDInfra.RDPowerShell to import Windows Virtual Desktop PowerShell module
3. Then run Add-RdsAccount -DeploymentUrl https://rdbroker.wvd.microsoft.com and login to Windows Virtual Desktop environment using an account who has TenantCreator role assigned.