Create an application group, a workspace, and assign users in Azure Virtual Desktop

This article shows you how to create an application group and a workspace, then add the application group to a workspace and assign users by using the Azure portal, Azure CLI, or Azure PowerShell. Before you complete these steps, you should have already created a host pool.

For more information on the terminology used in this article, see Azure Virtual Desktop terminology.

Prerequisites

Review the Prerequisites for Azure Virtual Desktop for a general idea of what's required. In addition, you'll need:

Create an application group

To create an application group, select the relevant tab for your scenario and follow the steps.

Here's how to create an application group using the Azure portal.

  1. Sign in to the Azure portal.

  2. In the search bar, type Azure Virtual Desktop and select the matching service entry.

  3. Select Application groups, then select Create.

  4. On the Basics tab, complete the following information:

    Parameter Value/Description
    Subscription Select the subscription you want to create the application group in from the drop-down list.
    Resource group Select an existing resource group or select Create new and enter a name.
    Host pool Select the host pool for the application group.
    Location Metadata is stored in the same location as the host pool.
    Application group type Select the application group type for this host pool from Desktop or RemoteApp.
    Application group name Enter a name for the application group, for example Session Desktop.

    Tip

    Once you've completed this tab, select Next: Review + create. You don't need to complete the other tabs to create an application group, but you'll need to create a workspace, add an application group to a workspace and assign users to the application group before users can access the resources.

    If you created an application group for RemoteApp, you will also need to add applications. For more information, see Add applications to an application group

  5. On the Review + create tab, ensure validation passes and review the information that will be used during deployment.

  6. Select Create to create the application group.

  7. Once the application group has been created, select Go to resource to go to the overview of your new application group, then select Properties to view its properties.

Create a workspace

Next, to create a workspace, select the relevant tab for your scenario and follow the steps.

Here's how to create a workspace using the Azure portal.

  1. Sign in to the Azure portal.

  2. In the search bar, type Azure Virtual Desktop and select the matching service entry.

  3. Select Workspaces, then select Create.

  4. On the Basics tab, complete the following information:

    Parameter Value/Description
    Subscription Select the subscription you want to create the workspace in from the drop-down list.
    Resource group Select an existing resource group or select Create new and enter a name.
    Workspace name Enter a name for the workspace, for example workspace01.
    Friendly name Optional: Enter a friendly name for the workspace.
    Description Optional: Enter a description for the workspace.
    Location Select the Azure region where your workspace will be deployed.

    Tip

    Once you've completed this tab, select Next: Review + create. You don't need to complete the other tabs to create a workspace, but you'll need to add an application group to a workspace and assign users to the application group before they can access its applications.

  5. On the Review + create tab, ensure validation passes and review the information that will be used during deployment.

  6. Select Create to create the workspace.

  7. Once the workspace has been created, select Go to resource to go to the overview of your new workspace, then select Properties to view its properties.

Add an application group to a workspace

Next, to add an application group to a workspace, select the relevant tab for your scenario and follow the steps.

Here's how to add an application group to a workspace using the Azure portal.

  1. Sign in to the Azure portal.

  2. In the search bar, type Azure Virtual Desktop and select the matching service entry.

  3. Select Workspaces, then select the name of the workspace you want to assign an application group to.

  4. From the workspace overview, select Application groups, then select + Add.

  5. Select the plus icon (+) next to an application group from the list. Only application groups that aren't already assigned to a workspace are listed.

  6. Select Select. The application group will be added to the workspace.

Assign users to an application group

Finally, to assign users or user groups to an application group, select the relevant tab for your scenario and follow the steps. We recommend you assign user groups to application groups to make ongoing management simpler.

Here's how to assign users or user groups to an application group to a workspace using the Azure portal.

  1. From the host pool overview, select Application groups.

  2. Select the application group from the list.

  3. From the application group overview, select Assignments.

  4. Select + Add, then search for and select the user account or user group you want to assign to this application group.

  5. Finish by selecting Select.

Next steps

Now that you've created an application group and a workspace, added the application group to a workspace and assigned users, you'll need to: