Before Device migration approach

Prabhjot Singh 145 Reputation points
2024-04-20T10:11:28.6566667+00:00

Hi Team,

In prospective of Hybrid Entra joined devices, what should be the recommended approach, should we first unenroll device from MDM and then we should disconnect or unregister or else disconnect and then unregister device from Azure AD before across forest device migration?

How to automate the process for above to make smooth transition? Any script is available?

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,728 questions
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,254 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,365 questions
{count} votes

Accepted answer
  1. ZhoumingDuan-MSFT 8,060 Reputation points Microsoft Vendor
    2024-04-22T06:10:41.38+00:00

    @Prabhjot Singh, Thanks for posting in Q&A.

    For your issue, it is suggested that you first unenroll from Intune, which ensures that the device is no longer managed by MDM, next you can disconnect the device from Azure AD using command dsregcmd /leave, and then you can migration to another AD.

    For re-Hybird Entra join, GPO enrollment will be a faster way, and you can refer method @xenia mentioned.

    Hope it will help.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


1 additional answer

Sort by: Most helpful
  1. xenia 391 Reputation points
    2024-04-22T02:30:27.83+00:00

    @Prabhjot Singh Honestly, I haven't seen a script can do the entire process. Generally, we will remove the device from intune and Entra ID, then join the device to a local AD and use GPO enrollment method to make the device Hybrid Entra joined. In GPO enrollment, we can configure the autoenrollment for a group of devices.

    https://learn.microsoft.com/en-us/windows/client-management/enroll-a-windows-10-device-automatically-using-group-policy

    0 comments No comments