0

Why i cannot log to azure virtual desktop using AD account.

I had configured and added the access controls : Virtual Machine Administrator Login and Virtual Machine User Login.

click me to see login failed enter image description here

Config set up enter image description here

Config set up enter image description here

logs from VM

Hostpool RDP advance setting

WVD configuration

jasmer
  • 25
  • 5

1 Answers1

0

In order to connect to Virtual desktop using Azure AD, you need to enable Login with Azure AD while creating VM. Once VM created, need to add Role assignments in VM Access policy.

I have reproduced issue from my side and below are steps I followed,

  1. Created VM without enabling Login with Azure AD.
  2. Once VM created, I did not add any role assignment and tried to connect Virtual desktop using Azure AD authentication.
  3. I got error like below, enter image description here
  4. Created another new VM with enabling Login with Azure AD and added role assignments once VM created. enter image description here
  5. Downloaded RDP file and connected to Virtual Desktop with Azure AD. enter image description here Reference Link
vijaya
  • 1,525
  • 1
  • 2
  • 6
  • Hello! I am still getting the error. I also added new pictures on my post to help me solve the problems. Thank you. – jasmer Dec 07 '22 at 06:40
  • Hi...Refer below link. It may help you https://learn.microsoft.com/en-us/answers/questions/452334/how-to-sign-in-on-azure-virtual-desktop-with-azure.html – vijaya Dec 07 '22 at 07:46
  • Hello! If you can try to look at my logs which i get from my VM. Currently I can sign in using my local account but the AAD account is not signing in. I added additional images to help us solve the issue. Thank you. – jasmer Dec 08 '22 at 11:52
  • I could see all the configurations done by you are proper. I would suggest you to raise a support request with Microsoft. – vijaya Jan 02 '23 at 13:22