Cannot deploy Azure Virtual Desktop using Getting Started Wizard - User realm discovery failed

Phil T 1 Reputation point
2022-09-12T19:12:11.887+00:00

Hello,

I have been trying to create an Azure Virtual Desktop for the first time using the Getting Started Wizard. Everything goes well until deployment. I always get the following exception:
UsernamePasswordCredential authentication failed: User realm discovery failed. (UsernamePasswordCredential authentication failed: User realm discovery failed. )

There are no other tenants, no other directory and this is not a hybrid AD configuration.

I've tried in different geographic regions, I've tried with and without the test account creation as part of the wizard. I've also tried adding the Desktop Virtualization Contributor role to my owner user.

It's always the same error. Would you know what can cause this? It is preventing me from moving forward with Azure.

Many thanks and regards.

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
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,559 questions
{count} votes

7 answers

Sort by: Newest
  1. Lorne Bonnell 11 Reputation points
    2022-09-20T05:36:56.743+00:00

    Hi @Phil T

    Try this I got it to work after a few hours of trying different things,

    You need to create a user who's Identity matches your Azure AD domain, let me explain.
    your Azure AD name something like @Company portal .com
    So what I was doing was using a user that was created for me and its identity was "Microsoft Account"
    in my case my UPN was: lorne.xxxx_xxx.com#EXT#@xxxxxxxxcloud.onmicrosoft.com

    I also tried using another user account which also failed, it had an Identity of "ExternalAzure-AD"

    So Create a new user in your Azure AD. e.g avdadmin@Company portal .com
    then make sure you assign it the Global Administrator, assign it a password and save the account, re-select the account and make sure it is marked as active.
    ***You must then login using the credentials you entered, and then a new password will be required.

    So after I did all this deleted the failed resource group and then followed the directions for a Getting started using a New AZ AD everything is working so far

    Hope that helps


  2. Phil T 1 Reputation point
    2022-09-19T10:59:57.287+00:00

    Could we please get support on this?

    0 comments No comments

  3. Lorne Bonnell 11 Reputation points
    2022-09-16T23:54:16.057+00:00

    Not an answer, but I can confirm I have the exact same issue

    0 comments No comments

  4. Phil T 1 Reputation point
    2022-09-16T15:46:46.753+00:00

    Any other ideas anyone?

    Right now, I can't start using Azure Virtual Desktop. AWS never gave me any of these issues and support was quickly available over chat.

    The rep I had over chat told me that opening a ticket was an escalation but it seems that it takes more time to get answers here and leads to no better result. Is this truly escalated?

    Thank you.

    0 comments No comments

  5. Phil T 1 Reputation point
    2022-09-14T19:05:43.863+00:00

    I was told that this issue had been escalated and I would get a response within 48 hours. Is this the case?