Change Enrolled by user to a different user!!!

Barzan M Hassan 6 Reputation points
2022-04-29T22:27:27.643+00:00

I have a device with two different user:

Primary user is : X
Enrolled by: Y (the user is deleted)

I want to change the enrolled by user to x user in microsoft endpoint manager.

Does that possible by script or any other way to do it?

Best,
Barzan

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,334 questions
{count} votes

8 answers

Sort by: Most helpful
  1. Michael Reygers 5 Reputation points
    2024-03-28T05:40:37.4366667+00:00

    We'll I'm having the same issue, except for me the user that enrolled the device was configured as an enrollment manager and they have now left the company.

    Now i have dozens of devices losing their mind as I am unable to edit the default device compliance policy, just turning it off, which itself is against Microsoft's own recommendations.

    Not sure why the enrolling user is a requirement in that policy. Why does it matter?

    So if the intention is for the primary user to also be the enrolling user why do enrollment managers even exist.

    If the design Intune is to wipe the device when the user changes, why can we change the primary user?

    1 person found this answer helpful.
    0 comments No comments

  2. Rahul Jindal [MVP] 9,146 Reputation points MVP
    2022-05-02T07:14:02.657+00:00

    As far as I know you cannot change the enrolled user like that. The only and correct way to do this will be through a reset of the device.

    0 comments No comments

  3. Jarvis Sun-MSFT 10,091 Reputation points Microsoft Vendor
    2022-05-02T09:19:14.033+00:00

    @Barzan M Hassan Thanks for posting in our Q&A.
    As RahulJindal-2267 said, only re-enrolling the device is the correct way to change the enrolled by user.
    However I noticed that your User Y was deleted. I wonder If the user account still have the same AAD ObjectID it had before it was restored? Maybe we can find a way to get it back, check out this support article https://learn.microsoft.com/en-US/office365/troubleshoot/active-directory/restore-deleted-user-accounts


    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.

    https://learn.microsoft.com/en-us/answers/support/email-notifications


  4. Jason Sandys 31,151 Reputation points Microsoft Employee
    2022-05-10T17:30:07.537+00:00

    What's the scenario here where you want to do this?


  5. Anderson, Charles 1 Reputation point
    2022-07-30T21:02:21.897+00:00

    Another reason to change the enrolled user it would fix the issue with the limit on how many devices one can have enrolled unless they update the 50 which is the default to 100.