Share via


Access desktops and apps using direct launch URLs for Windows App in a web browser

Each individual Azure Virtual Desktop and Windows 365 resource can be launched directly in a web browser by opening a specific link to each resource. By using a direct launch URL, you can bypass interacting with the Windows App UI in a web browser, as this link automatically establishes a connection.

Prerequisites

Select the tab for the resource you would like to launch.

Before you can use a direct launch URL for Windows App, you need:

Create and use a direct launch URL

Select the tab for the resource you would like to launch.

Both desktop and RemoteApp resources in Azure Virtual Desktop are identified by a workspace ID and a resource ID. You need to use both values in a direct launch URL.

To get the values needed for the URL, you can use Azure PowerShell. Not all the required values are easily found in the Azure portal. In the following examples, remember to change the <placeholder> values to your own.

Important

For RemoteApp, launching a new tab with a second app from the same host pool causes the original tab to disconnect and both apps to be visible in the new tab.

  1. Open Azure Cloud Shell in the Azure portal with the PowerShell terminal type, or run PowerShell on your local device.

  2. Get the object ID of the related workspace by running the following command:

    $parameters = @{
        ResourceGroupName = "<ResourceGroupName>"
        Name              = "<DesktopName>"
    }
    
    Get-AzWvdWorkspace @parameters | FT Name, FriendlyName, ObjectId
    

    Here's an example of the output from the command:

    Name     FriendlyName    ObjectID
    ----     ------------    --------
    ws01     Contoso         00000000-0000-0000-0000-000000000000
    
  3. The commands you need to run to get the object ID for a Desktop or RemoteApp are different. See the following examples.

    • For a desktop, run the following command:

      $parameters = @{
           ResourceGroupName      = "<ResourceGroupName>"
           ApplicationGroupName   = "<ApplicationGroupName>"
      }
      
      Get-AzWvdDesktop @parameters | FT Name, ObjectId
      

      Here's an example of the output from the command:

      Name      ObjectID
      ----      --------
      desktop01    00000000-0000-0000-0000-000000000000
      
    • For a RemoteApp, run the following command:

      $parameters = @{
          ResourceGroupName      = "<ResourceGroupName>"
          ApplicationGroupName   = "<ApplicationGroupName>"
      }
      
      Get-AzWvdApplication @parameters | FT Name, ObjectId
      

      Here's an example of the output from the command:

      Name      ObjectID
      ----      --------
      app01     00000000-0000-0000-0000-000000000000
      
  4. Once you have the object ID for the workspace and the desktop or RemoteApp, add the values to a URL in the following format. Open the link in a supported browser to connect.

    https://windows365.microsoft.com/webclient/avd/<workspaceID>/<resourceID>