AVD - Sign in failed. Please check your username and password and try again. Despite vm joined to entra ad, rbacs assigned, double checked password
Uri Zafrir
0
Reputation points
Hello
I've set up AVD using terraform, something like the example here in this link :
(I also tried creating the VM in the host pool manually)
I've also added the role "Virtual Machine Administrator Login" to my user.
I can see the VM in the host pool is available
I can see the AAD join extension is ok
Inside the VM, I can see it's joined to the entra AD.
But I still get this error:
this is the output of dsregcmd /status:
PowerShellCopy
+----------------------------------------------------------------------+
| Device State |
+----------------------------------------------------------------------+
AzureAdJoined : YES
EnterpriseJoined : NO
DomainJoined : NO
Device Name : VmAvd-0
+----------------------------------------------------------------------+
| Device Details |
+----------------------------------------------------------------------+
DeviceId : d56544b4-5ad5-42ff-a144-dd4d7ee4f23f
Thumbprint : 80D2D280EF236A993BB94896B61672246C3F07EE
DeviceCertificateValidity : [ 2025-03-24 11:35:38.000 UTC -- 2035-03-24 12:05:38.000 UTC ]
KeyContainerId : 1c8da503-8a45-4b72-9e50-51b3aa3e6283
KeyProvider : Microsoft Software Key Storage Provider
TpmProtected : NO
DeviceAuthStatus : SUCCESS
|
+----------------------------------------------------------------------+
TenantName : <redacted>
TenantId : a775278c-ce63-45e6-9667-524bec91ab1b
eregistration.windows.n
+----------------------------------------------------------------------+
| User State |
+----------------------------------------------------------------------+
NgcSet : NO
WorkplaceJoined : NO
WamDefaultSet : NO
+----------------------------------------------------------------------+
| SSO State |
+----------------------------------------------------------------------+
AzureAdPrt : NO
AzureAdPrtAuthority :
EnterprisePrt : NO
EnterprisePrtAuthority :
+----------------------------------------------------------------------+
| Diagnostic Data |
+----------------------------------------------------------------------+
AadRecoveryEnabled : NO
Executing Account Name : VmAvd-0\adminuser
KeySignTest : PASSED
DisplayNameUpdated : YES
OsVersionUpdated : YES
HostNameUpdated : YES
Last HostName Update : NONE
+----------------------------------------------------------------------+
| IE Proxy Config for Current User |
+----------------------------------------------------------------------+
Auto Detect Settings : YES
Auto-Configuration URL :
Proxy Server List :
Proxy Bypass List :
+----------------------------------------------------------------------+
| WinHttp Default Proxy Config |
+----------------------------------------------------------------------+
Access Type : DIRECT
+----------------------------------------------------------------------+
| Ngc Prerequisite Check |
+----------------------------------------------------------------------+
IsDeviceJoined : YES
IsUserAzureAD : NO
PolicyEnabled : NO
PostLogonEnabled : YES
DeviceEligible : NO
SessionIsNotRemote : NO
CertEnrollment : none
PreReqResult : WillNotProvision
For more information, please visit https://www.microsoft.com/aadjerrors
I've tried logging in with my user to test local entra ad connectivity , but i get the same error:
Please help!
Sign in to answer