Publish built-in apps in Azure Virtual Desktop

Important

This content applies to Azure Virtual Desktop with Azure Resource Manager Azure Virtual Desktop objects. If you're using Azure Virtual Desktop (classic) without Azure Resource Manager objects, see this article.

This article will tell you how to publish apps in your Azure Virtual Desktop environment.

Publish built-in apps

To publish a built-in app:

  1. Connect to one of the virtual machines in your host pool.

  2. Get the PackageFamilyName of the app you want to publish by following the instructions in this article.

  3. Finally, run the following cmdlet with <PackageFamilyName> replaced by the PackageFamilyName you found in the previous step:

    $parameters = @{
        Name = '<ApplicationName>'
        ResourceGroupName = '<ResourceGroupName>'
        ApplicationGroupName = '<ApplicationGroupName>'
        FilePath = 'shell:appsFolder\<PackageFamilyName>!App'
        CommandLineSetting = '<Allow|Require|DoNotAllow>'
        IconIndex = '0'
        IconPath = '<IconPath>'
        ShowInPortal = $true
     }
    
    New-AzWvdApplication @parameters
    

Note

Azure Virtual Desktop only supports publishing apps with install locations that begin with C:\Program Files\WindowsApps.

Publish Microsoft Edge

To publish Microsoft Edge with the default homepage, run this cmdlet:

$parameters = @{
    Name = '<ApplicationName>'
    ResourceGroupName = '<ResourceGroupName>'
    ApplicationGroupName = '<ApplicationGroupName>'
    FilePath = 'shell:Appsfolder\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge'
    CommandLineSetting = '<Allow|Require|DoNotAllow>'
    IconIndex = '0'
    IconPath = 'C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\microsoftedge'
    ShowInPortal = $true
}

New-AzWvdApplication @parameters

Next steps