Issue with AVD VM deployment using logic app

Suriaraj Dhayalan 0 Reputation points
2024-02-05T13:32:04.6033333+00:00

Hello All,   i have an automation template for avd deployment. using logic app for the deployment, using resource graph collecting available vm's in pool and splitting the number to increment the vmInitialnumber for the next build, is there anyway to increment the initial number without completing and conflicting with current deployment that is already in progress? vm deployment takes time to complete, before that if there is another request it does conflicts and tries deployign the same virtual number. TIA

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,367 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,381 Reputation points
    2024-02-13T04:18:58.2466667+00:00

    Hi @Suriaraj Dhayalan
    I imagine you would need to either put a pause/wait timer into the automation or a check for the status of the initial deployment before the second deployment is attempted. I would also think to try having your "splitting" count of VM logic to also capture the start and end values of each splitting as separate parameters and have those input into the additional deployments. 
    https://github.com/Azure/avdaccelerator

    1 person found this answer helpful.
    0 comments No comments