Are there ways to automate AVD application group creation?

Matty Burn 0 Reputation points
2023-10-16T08:28:29.1966667+00:00

I'm looking at the best procedure around Application Group deployment for DR scenarios, we've got lots of Application Groups and FSLogix that's used for hosting the applications.

I was wondering if there's a way of automating the creation of Application Groups so that we could point the new DR Application Groups at the DR NetApp in the scenario of having to fail over to DR.

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,430 questions
FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
472 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,941 Reputation points
    2023-10-17T12:16:24.45+00:00

    Hi @Matty Burn

    Thank you for reaching out to the Microsoft Q&A platform.

    To automate the creation of Application Groups, you can use Azure PowerShell or Azure CLI. Here is an example of how to create an Application Group using Azure PowerShell:

    New-AzWvdApplicationGroup -ResourceGroupName ResourceGroupName `
                                -Name ApplicationGroupName `
                                -Location 'eastus' `
                                -FriendlyName 'Friendly Name' `
                                -Description 'Description' `
                                -HostPoolArmPath '/subscriptions/SubscriptionId/resourcegroups/ResourceGroupName/providers/Microsoft.DesktopVirtualization/hostPools/HostPoolName' `
                                -ApplicationGroupType 'RemoteApp'
    
    Location   Name                 Type
    --------   ----                 ----
    eastus     ApplicationGroupName Microsoft.DesktopVirtualization/applicationgroups
    

    Reference https://video2.skills-academy.com/en-us/powershell/module/az.desktopvirtualization/new-azwvdapplicationgroup?view=azps-10.4.1

    Please click "Accept as answer" if this helps.

    0 comments No comments