Tutorial: Manage app groups for Windows Virtual Desktop Preview
The default app group created for a new Windows Virtual Desktop Preview host pool also publishes the full desktop. In addition, you can create one or more RemoteApp application groups for the host pool. Follow this tutorial to create a RemoteApp app group and publish individual Start menu apps.
In this tutorial, learn how to:
- Create a RemoteApp group.
- Grant access to RemoteApp programs.
Before you begin, download and import the Windows Virtual Desktop PowerShell module to use in your PowerShell session if you haven't already. After that, run the following cmdlet to sign in to your account:
Add-RdsAccount -DeploymentUrl "https://rdbroker.wvd.microsoft.com"
Create a RemoteApp group
Run the following PowerShell cmdlet to create a new empty RemoteApp app group.
New-RdsAppGroup <tenantname> <hostpoolname> <appgroupname> -ResourceType "RemoteApp"
(Optional) To verify that the app group was created, you can run the following cmdlet to see a list of all app groups for the host pool.
Get-RdsAppGroup <tenantname> <hostpoolname>
Run the following cmdlet to get a list of Start menu apps on the host pool's virtual machine image. Write down the values for FilePath, IconPath, IconIndex, and other important information for the application that you want to publish.
Get-RdsStartMenuApp <tenantname> <hostpoolname> <appgroupname>
Run the following cmdlet to install the application based on
AppAliasbecomes visible when you run the output from step 3.
New-RdsRemoteApp <tenantname> <hostpoolname> <appgroupname> -Name <remoteappname> -AppAlias <appalias>
(Optional) Run the following cmdlet to publish a new RemoteApp program to the application group created in step 1.
New-RdsRemoteApp <tenantname> <hostpoolname> <appgroupname> -Name <remoteappname> -Filepath <filepath> -IconPath <iconpath> -IconIndex <iconindex>
To verify that the app was published, run the following cmdlet.
Get-RdsRemoteApp <tenantname> <hostpoolname> <appgroupname>
Repeat steps 1–5 for each application that you want to publish for this app group.
Run the following cmdlet to grant users access to the RemoteApp programs in the app group.
Add-RdsAppGroupUser <tenantname> <hostpoolname> <appgroupname> -UserPrincipalName <userupn>
In this tutorial, you learned how to create an app group, populate it with RemoteApp programs, and assign users to the app group. To learn how to create a validation host pool, see the following tutorial. You can use a validation host pool to monitor service updates before rolling them out to your production environment.