Forum Discussion

PeteMitchell's avatar
PeteMitchell
Brass Contributor
Dec 03, 2021

"Your credentials did not work" AVD Azure AD joined

I'm trying to test AVD Azure AD-joined only.  I've met all the requirements here - Deploy Azure AD joined VMs in Azure Virtual Desktop - Azure | Microsoft Docs.  The PC I'm connecting from is running Windows 10 21H2 and is Azure AD registered to the same AAD as the AVD VM.  I've enabled PKU2U on both the local PC and AVD VM, and tried it both with and without targetisaadjoined:i:1 in the host pool config.

 

When I try to log in via the Remote Desktop Client (the MSI one, not Store), I enter my UPN prefixed by AzureAD\ as required.  I always get "Your credentials did not work".  The web client doesn't work either.  The security log on the AVD VM shows ID 4625 - "Unknown user name or bad password."

I can log in without any issues to the same AVD VM from a PC that is Azure AD-joined and using Windows Hello for Business, so I know AVD works.

The only thing I'm not sure of is MFA.  My account has MFA enabled, but from what I understand that should not be an issue as I'm not using the legacy per-user MFA that the article says isn't supported.

Resources