Can't disconnect Windows 10 from Azure AD

Eric Vanderveer 21 Reputation points
2022-05-25T12:12:11.2+00:00

I am having a problem with a certain Azure AD joined computer, it is not getting all the configuration policies sent to it from Intune. I tried disconnecting it from Azure AD but I get the issue where none of my local admin account passwords work to try and disconnect. I have gone in and renamed the computer to the original computer name before it was joined to Azure AD and that still does not work. I am seeing this error in the Sign In logs
Sign-in error code
50155
Failure reason
Device authentication failed.
I cannot for the life of me disconnect this computer from Azure AD.

Microsoft Security | Intune | Configuration
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SekiyaHideyuki 1 Reputation point
    2022-05-27T09:21:42.38+00:00

    To fix the problem, unregister the device by running and at an elevated command prompt.dsregcmd /debug /leavedsregcmd /debug /join


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.