Cannot deploy Azure Virtual Desktop using Getting Started Wizard - failed on "easy-button-inputvalidation-job-linked-template"

jeffdai 41 Reputation points
2022-09-14T17:47:44.733+00:00

I'm new to AVD but when exploring AVD via the getting started wizard, it always failed on deployment step: easy-button-inputvalidation-job-linked-template.
Anything I missed? How to troubleshoot?

Repro steps:
(1) Create a Azure free account; (Region - US)
(2) Go to AVD blade -> "Getting started"
(3) Follow the steps and documentation on "https://learn.microsoft.com/en-us/azure/virtual-desktop/getting-started-feature?tabs=new-aadds"
(4) Choose "New Azure AD DS" since this is a brand-new account

It will fail on step: Deployment name:easy-button-inputvalidation-job-linked-template
Status: Conflict;
Operation details:

Operation ID:
/subscriptions/xxxxx/resourceGroups/jdgs-rg-deployment/providers/Microsoft.Resources/deployments/easy-button-inputvalidation-job-linked-template/operations/0CB1ADF7CCB711AF

Provisioning operation: Create
Provisioning state: Failed
Status: Conflict

Status message:
{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'."
}
}

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

Accepted answer
  1. KarishmaTiwari-MSFT 19,782 Reputation points Microsoft Employee
    2022-09-14T19:27:02.86+00:00

    Hi @jeffdai Thanks for posting your query on Microsoft Q&A.

    Issue: Getting Started Wizard for AVD fails with the error message for easy-button-inputvalidation-job-linked-template

    Recommendations on how to resolve this:

    1.Since you created a new Azure AD Domain services deployment, I would recommend that you double check the pre-requisites listed here and see if anything is missing :
    https://learn.microsoft.com/en-us/azure/virtual-desktop/getting-started-feature?tabs=new-aadds#prerequisites

    -User names you choose must not include any keywords that the username guideline list doesn't allow, and you must use a unique user name that's not already in your Azure AD subscription.

    -The getting started feature doesn't currently support accounts that use multi-factor authentication. It also does not support personal Microsoft accounts (MSA) or Azure AD B2B collaboration users (either member or guest accounts).

    241183-image.png

    2.If there's an issue with the easy-button-inputvalidation-job-linked-template template and you are seeing this error:
    {
    "status": "Failed",
    "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'."
    }
    }

    To make sure this is the issue you've encountered:
    -Open the <prefix>-deployment resource group and look for inputValidationRunbook.
    -Under recent jobs there will be a job with failed status. Click on Failed.
    -In the job details window, select Exception.

    Solution : This error happens when 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. Avoid re-using existing usernames.
    Reference document : https://learn.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-getting-started

    3.If you are still seeing this issue, please follow this workaround:
    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.

    If you have any questions at all, please let me know in a comment below and I can further investigate. Thanks.

    ----------

    If this answers your query, do click “Accept the answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread.


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.