Azure Virtual Desktop - DeploymentFailed - terminal provisioning state 'Failed'

Vaughn, Eric 20 Reputation points
2024-05-13T21:31:19.5866667+00:00
Receive the following error when attempting to use the 'Quickstart' for Azure Virtual Desktop.  It passed validation before I hit the 'create' button, but approximately 5 minutes in, it stops and presents this: 

{
  "code": "DeploymentFailed",
  "target": "/subscriptions/xxxxx-xxx-xxxx-xxxxxx7/providers/Microsoft.Resources/deployments/AVDGettingStarted-41cf7367-ba54-4637-b241-2140a4980026-deploymen",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
  "details": [
    {
      "code": "ResourceDeploymentFailure",
      "target": "/subscriptions/xxxxxxxx-xxxxxxx-xxxxx-xxxxxxxxx/resourceGroups/avd-deployment/providers/Microsoft.Resources/deployments/easy-button-inputvalidation-job-linked-template",
      "message": "The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'."
    }
  ]
}


That's cryptic and of zero help to me, so hoping the community experts can assist in interpreting.  Thank you!
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,585 questions
0 comments No comments
{count} votes

Accepted answer
  1. hossein jalilian 8,155 Reputation points
    2024-05-13T23:30:17.4433333+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    The error message isn't very descriptive, but here are some potential causes and troubleshooting steps you can take:

    • ensure that the account you're using to deploy the AVD resources has the necessary permissions to create and manage resources in the target subscription and resource group. the account should have at least the "Contributor" role assigned at the subscription or resource group level
    • If you have existing resources or deployments in the target resource group, there may be conflicts or dependencies that cause the deployment to fail. try deploying the AVD resources in a new, empty resource group.
    • Ensure that the network configuration (virtual network, subnets, network security groups) specified in the deployment template is valid and does not conflict with existing resources

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.