A typical migration project using Entra ID for Devices can be broken up into four (4)phases.
This user guide walks you through the steps required to complete each phase, which can also be used to migrate devices from AD environments to Entra environments. The Microsoft Entra ID Device Join Quick Start Guide walks you through the process of configuring and performing migrations for AD to Entra migrations.
Best practices for each phase of the migration project are presented below:
Phase 1: Create a Workflow with the Workflow Wizard
-
The wizard begins with selecting the environment type for both source and target environments. Only Local is available for the Source Environment Type and only Cloud is available for Target Environment Type.
-
Workflow options are configured and CSV files containing the Users, Groups and Devices to import and the Users and Groups to match in the Target are uploaded.
-
Microsoft Entra ID Join Profiles and Repositories are configured.
Phase 2: ReACL Devices
-
Run a ReACL (file level re-permissioning) job on as many Devices as possible early in the process.
-
ReACL is a non-destructive process that can be repeated as often as necessary up until Cutover in Phase 5.
-
Troubleshoot any Devices with ReACL jobs which did not complete successfully.
-
Run a ReACL job again close to the actual Cutover date. This will allow you to complete most of the ReACL process early and provide time to resolve any issues with things such as anti-virus software and Group Policies.
Phase 3: Cutover Devices
-
Using some test Devices, Users, and Groups, verify a successful Device Cutover.
-
Typically, a final ReACL job should be run the weekend before the scheduled Cutover to ensure any new Users and other changes are processed.
-
A workstation reboot is required after the target account is enabled, the source account is disabled, and the Cutover is complete. This is usually completed in the evening when fewer end-users are impacted. Any impacted end-users should be alerted that this reboot is necessary.
-
Optionally, use the Autopilot Cleanup option to prepare the AutoPilot-provisioned device for migation. This must be done before the cutover if the source Entra ID Joined device is Autopilot-provisioned and the Entra ID Join Profile has the Autopilot/Intune Cleanup option selected.
Phase 4: Cleanup
-
The Cleanup phase typically takes place about two months after all Device Cutovers are complete. During the Cleanup phase, all permissions should be removed from the source domain and then the Active Directory agent should be removed from the Devices.
-
Optionally, use the Set Intune Primary User action after the Device Cutover is completed.
Networking
Outbound Internet Access
By default, each computer being migrated will require outbound access to the public Internet to securely communicate with the On Demand Migration services.
Important Tip: If your organization requires computers communicate externally using a web proxy see our web proxy configuration requirements.
Application Ports
Each computer being migrated will require the Active Directory device agent and this agent will communicate to the On Demand Migration services, outbound over ports:
Domain Controller Ports
Active Directory migrations also require a variety of Microsoft defined ports for communication between domain controllers. For a complete list of required ports, click here.
Important Tip: For complete port information, review the Service overview and network port requirements for Windows documentation from Microsoft Support.
Accounts
Microsoft Entra ID Application Account
- When creating a new Cloud Environment, an account with the Global Administrator Role is required to grant permissions and establish a connection.
Devices
The following is required for any Active Directory Computer(s) (devices) that will be migrated.
Device Agents
Each Active Directory Computer that will be migrated must have an agent installed on the workstation to orchestrate local jobs that must occur to prepare and execute the workstation’s domain move.
Operating Systems
All computers or servers being migrated to the new domain must run one of the following operating systems:
Please Note: Entra ID Device Join is only supported for Windows 10 and 11.
PowerShell
- All client operating systems must have at least PowerShell 2.0 installed.
.NET Framework
- All Devices must have .NET Framework 4.7.2 or newer installed. This will appear as ".NET 4.7.2 Extended" in the add/remove programs list.
- If not present, an appropriate version of .NET Framework will be installed during agent installation if an internet connection is available.
Web Proxy
Some organizations may require all computers communicating externally direct their traffic through a web proxy to centralize communications. Active Directory agents can be configured to use a web proxy for communication to the On Demand Migration cloud services.
Proxy Server
- At least one (1) standard web proxy that supports http/TCP traffic.
Proxy Address
- The associated web proxy URL must be defined during configuration of the device agent.
Security
- If accessing the web proxy requires an additional username and password this will be required during configuration of the device agent.
Ports
All agents configured to use a web proxy will utilize the following outbound TCP ports:
Please Note: Agents configured to use a web proxy will not require UDP port 3030. For more information, see the Web Proxy Configuration under Architecture.
Important Tip: Additional bandwidth overhead may occur when a web proxy is utilized to centralize all traffic.
What is a Workflow?
A workflow is a configurable series of steps that provides an easy automation framework to connect and manage Directory object synchronization. Activities such as creating, updating and deleting objects along with property/attribute synchronization and transformation.
How do I create and manage Workflows?
To create a Worklfow, simply open the left navigation menu and click Create a Workflow in the side navigation menu, see figure 1, or click the New button under Workflows on the dashboard. The Workflow Wizard will open and will guide you through the creation of the Workflow.
To manage a Workflow, click the Manage button under Workflows on the dashboard.
Figure 1: Side Navigation Menu
What should be entered as the Workflow Name?
You can name your workflow anything you'd like but remember that you may be referencing the same environment in multiple workflows. We suggest a name that generally describes the flow of objects. Then use the description field for the distinguishing characteristics. After this step, the wizard will guide you through all the necessary components that will make up your workflow.
What are the steps to create a Workflow?
Entra ID for Devices uses a wizard interface to guide you through the steps of creating and configuring the Workflow. To launch the wizard, click Create a Workflow in the side navigation menu or click the New button under Workflows on the dashboard.
Steps of the Workflow Wizard:
-
Select Environment Types - You are prompted to select the environment type for both source and target environments. Options are Local (a traditional on-premises Active Directory environment.) and Cloud (a Microsoft Entra ID environment.) See the Environments topic for more information.
-
Configure Source Environment:
-
Provide source environment name - Provide a descriptive name for the source environment that makes it easy to identify. For example, the Bluefish Resort on-premises Active Directory environment could be named bluefishresort.com.
-
Configure Target Environment:
-
Provide target environment name - Provide a descriptive name for the target environment that makes it easy to identify. For example, the Bluefish Resort on-premises Active Directory environment could be named bluefishresort.com.
-
Connect to your Cloud Environment - Add a commercial tenant. Important: A Service Principal will be created in the tenant.
-
Configure Workflow:
-
Name the Workflow - You can name your workflow anything you'd like but remember that you may be referencing the same environment in multiple workflows. We suggest a name that generally describes the flow of objects. Then use the description field for the distinguishing characteristics.
-
Users File to import for scoping and matching - Upload a CSV containing the Users to import and the Users to match in the Target. Note that Import file must include ObjectID’s. The file must include at least one user to continue.
-
Groups File to import for scoping and matching - Upload a CSV containing the Groups to import and the Groups to match in the Target. Note that Import file must include ObjectID’s
-
Devices File to import for scoping and matching - Upload a CSV containing the Devices to import. Note that Import file must include ObjectID’s
-
Microsoft Entra ID Join Profile - Microsoft Entra ID Join Provisioning Package file contains the target Microsoft Entra ID information used during Microsoft Entra ID Device cutover process.
-
Repositories - Repositories are specified storage locations on your network used for the following specific job types. See the Repositories topic for more information.
-
Downloads - See the Downloads topic for more information.
-
Summary - Please verify that all of the information has been correctly entered. Click the Edit button next to information that needs to be changed. Click Finish.