Cannot disconnect deleted user from MDM

Anthony Fetfatsidis 1 Reputation point
2020-10-27T12:46:14.547+00:00

I forgot to sign out a leaver from the laptop and deleted her account. Now another person is using it, but MDM is in previous person's name. The leaver's account had been wiped from O365, I recreated it to sign in as her with admin privileges, then disconnect MDM, but no joy, I believe the system considers it an entirely different user despite the identical email.
I deleted the local admin, no joy.
I gave the current user admin access, no joy.
The message on the computer says you need an admin to sign out, which is what I have been doing. I don't want to reset the computer, I don't think that will work anyway. The computer is not listed in AAD/Intune portal neither in users nor devices.
I'm about to blow my brains out, can anyone help me?

Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,303 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jason Sandys 31,186 Reputation points Microsoft Employee
    2020-10-27T19:18:35.243+00:00

    So, to be clear, the device has no object in on-prem AD, AAD, or Intune, correct?

    If so, what exactly does this mean: "but MDM is in previous person's name"?

    0 comments No comments

  2. Crystal-MSFT 45,656 Reputation points Microsoft Vendor
    2020-10-28T03:01:14.523+00:00

    @Anthony Fetfatsidis From your description, I know we want to disconnect a computer from MDM. In the AAD and Intune, we find neither the user or the device is not there. But the deleted account is still under Access work or school on the affected device. We try to disconnect which needs an admin account. But it seems not working. If there's any misunderstanding, feel free to let us know.

    Could you create a local admin for this device and try to disconnect use this new local admin to see if it is working?

    If there's any update, please let us know.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Jason Sandys 31,186 Reputation points Microsoft Employee
    2020-10-28T14:47:53.917+00:00

    And what about my questions above?

    The computer is "Connected to Company Azure AD" with the leaver account.

    What does this mean? Is there actually an account in AAD? If so, is it registered, joined, or hybrid joined?

    because any user i try is an admin.

    How are you trying different users if you are not signing out the "leaver" account?

    Have you tried exactly as @Crystal-MSFT noted? Creating a local admin account?

    0 comments No comments