Step-by-Step Guide to Windows Virtual Desktop Fall 2019 Release

Manage App Groups
Part 4 created a host pool, session host VMs, and a host pool. You also added a user into the Desktop Application Group. This gave the user full Windows 10 desktop access. This tutorial will show you how to add users to the Desktop Application Group and create RemoteApp groups where you can publish individual Start-menu apps.

You will use the Windows Virtual Desktop PowerShell module to create and manage RemoteApp groups. If you need to import or install the module, please refer to Part 2. Next, sign in to your account using the following cmdlet
Add-RdsAccount -DeploymentUrl “https://rdbroker.wvd.microsoft.com”
Manage the Desktop Application Group
You will be asked to repeatedly type your tenant name, host name, and app groups in the cmdlets that are used to create and manage the Desktop Application Groups and RemoteApp Groups. This information can be stored in variables to make your life easier. If you don’t want to use variables to store names, skip step 4 and enter the full names instead.
Find the name of the tenant you created in Part 2 and save it in a variable.
Get-RdsTenant$t = “TenantName”

Find the name of the host pool that you created in Part 4 and store it in a variable.
Get-RdsHostPool $t$h = “HostPoolName”

Save the name of your app group in a variable. You should now have the default app group you created when you created your hostpool called “Desktop App Group”.
Get-RdsAppGroup $t $h$dag = “Desktop Application Group”

These commands aren’t easier if you use variables
After creating the hostpool, you added one user to the Desktop Application Group. Then, you verified that the user had access. Next, you’ll learn how to add more users to the Desktop Application Group.
To retrieve members of an app group, use the following cmdlet:
Get-RdsAppGroupUser $t $h $dag

To add users to an app group or verify membership:
Add-RdsAppGroupUser $t $h $dag -UserPrincipalName “userUPN”Get-RdsAppGroupUser $t $h $dag

Unfortunately, you cannot add users to groups. You can automate multiple users by using a script if you feel creative.
Create a RemoteApp group
Now you know how to give users full desktop access. But what if they don’t need it? You can also create additional app groups to publish specific or group of applications.
You can publish Microsoft Excel, Microsoft Word and Microsoft PowerPoint to the first RemoteApp group that you create. These are available if the Windows 10 multiuser with Office 365 image was used when you created your hostpool. You can choose different applications to publish if you choose a different image. You’ll see how to list all the applications that you can publish.
Use the following cmdlet to create a new RemoteApp Group:
New-RdsAppGroup $t $h -AppGroupName “newName” -ResourceType “RemoteApp”

To confirm that you have created the RemoteApp group,
Get-RdsAppGroup $t $h

You will see the new RemoteApp group along with the default Desktop Application Group.
RemoteApp group: Publish applications
The new RemoteApp group has been created. Now you need to publish applications in the RemoteApp group. You will need to list the applications that are available and add them into the RemoteApp group.
To see a complete list of available applications:
Get-RdsStartMenuApp $t $h -AppGroupName “OfficeBasic”

This list can be quite long depending on the image. To publish an application, you only need the FriendlyName or AppAlias. To make future cmdlets more efficient, you can store the new RemoteApp name in a variable. Otherwise, use the full RemoteApp name.
$ob = “OfficeBasic”Get-RdsStartMenuApp $t $h $ob | ft FriendlyName, AppAlias

To publish an application to RemoteApp, use the following cmdlet. Repeat this for each application that you wish to publish:
New-RdsRemoteApp $t $h $ob -Name “FriendlyName” -AppAlias “AppAlias”

Verify that all applications were published successfully with the following cmdlet
ft FriendlyName

RemoteApp group: Add users
Once you have created a RemoteApp Group, you need to grant access to users. Multiple RemoteApp groups can be granted to users. This allows you control which apps users have access to by simply granting or removing access from the RemoteApp groups.
RemoteApp groups can be created as many times as you need to meet the needs of your environment. You might have a general app group that all users can access, and a specialty app group for those users who need a specific app or set. You can change their access requirements by c