Cannot create a Azure Virtual Desktop

Alan 46 Reputation points
2023-07-03T11:30:40.3366667+00:00

Hi,

I try to create a Azure Virtual Desktop but always failed.

The resource that cause the failure is easy-button-inputvalidation-job-linked-template and the detailed error info is:

{
  "code": "DeploymentFailed",
  "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": "Conflict",
      "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.\"\r\n  }\r\n}"
    }
  ]
}

How to solve the issue?

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

2 answers

Sort by: Most helpful
  1. alta94 2,191 Reputation points
    2023-07-03T11:37:49.9+00:00

    Hi

    Can you provide the operational error , What you have shared is deployment status error

    Here is how you can share the operational error - Here is how you can share the operational error - https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deployment-history?tabs=azure-portal#deployment-operations-and-error-message

    so we can help you better.


  2. Prrudram-MSFT 27,786 Reputation points
    2023-07-04T17:43:29.93+00:00

    @Alan

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

    Based on the error message you provided, it seems that the deployment of the Azure Virtual Desktop failed due to an issue with the easy-button-inputvalidation-job-linked-template resource. The error message suggests that the resource write operation failed to complete successfully and reached terminal provisioning state 'Failed.

    To troubleshoot this issue, you can follow the steps outlined in the Troubleshoot getting started feature Azure Virtual Desktop article. Specifically, you can select easy-button-prerequisite-job-linked-template and then select OK on the error message window that pops up.

    Next, you can go to the <prefix>-deployment resource group and select resourceSetupRunbook. From there, you can select the status, which should say Failed, and then select the Exception tab. You should see an error message that provides more information about the issue<sup>.</sup>

    One potential cause of this issue is that the Azure admin UPN you entered isn't correct. To resolve this issue, make sure you're entering the correct username and password, then try again<sup>.</sup> Another potential workaround is to run the Azure Virtual Desktop getting started feature again, but this time don't create a validation user. After that, create your new users with the manual process only.

    If this does answer your question, please accept it as the answer as a token of appreciation.

    0 comments No comments

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.