Forum Discussion
AVD Re-join AzureAD / EntraI
- Nov 16, 2024
This one helped me: https://rozemuller.com/how-to-join-azure-ad-automated/
At some point the VM got joined back to Entra. Now the users can sign in again.
Would suggest the device status by dsregcmd /status and remove existing certificate by follow command: dsregcmd /leave
- 143filNov 16, 2024Copper Contributor
dsregcmd /staus shows this:
+----------------------------------------------------------------------+
| Device State |
+----------------------------------------------------------------------+AzureAdJoined : NO
EnterpriseJoined : NO
DomainJoined : NO
Device Name : AVD-0+----------------------------------------------------------------------+
| User State |
+----------------------------------------------------------------------+NgcSet : NO
WorkplaceJoined : NO
WamDefaultSet : NO+----------------------------------------------------------------------+
| SSO State |
+----------------------------------------------------------------------+AzureAdPrt : NO
AzureAdPrtAuthority : NO
EnterprisePrt : NO
EnterprisePrtAuthority : NO+----------------------------------------------------------------------+
| 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 : NO
IsUserAzureAD : NO
PolicyEnabled : NO
PostLogonEnabled : YES
DeviceEligible : YES
SessionIsNotRemote : YES
CertEnrollment : none
PreReqResult : WillNotProvisionFor more information, please visit https://www.microsoft.com/aadjerrors
So the problem is that I don't get the device back into state AzureAdJoined : YES