OG, the OngoingIdeas robot engineer, standing as a bridge engineer between a warm amber-lit on-premises server room on the left and a cool blue cloud skyline on the right, holding a laptop showing a green checkmark progress screen, with a row of new laptops on a bench in the foreground.

Windows Autopilot, Step by Step — Part 8: Hybrid Entra Join + Autopilot for Existing Devices

WINDOWS AUTOPILOT, STEP BY STEP — PART 8 OF 9

Hybrid Entra Join + Autopilot for Existing Devices

This is post 8 of a nine-part series that configures and deploys Windows Autopilot end to end. Each post is one step, in deployment order. Track your progress with the Windows Autopilot Deployment Checklist — one section per part.

Everything so far assumed the clean case: a new device, cloud-native, joined to Microsoft Entra ID and nothing else. Part 4 wrote that profile, Part 6 rebuilt the flow underneath it, and Part 7 split it across a technician and a user. Two estates do not fit the clean case: the estate that still needs on-premises Active Directory, and the fleet already deployed that needs to come back through Autopilot. If you came here from Desktop Engineer Part 7, this is the portal-level deep dive it pointed at — the ConfigMgr half leans on Desktop Engineer Part 8: SCCM & Co-management.

Two bridge paths, one decision

Panel-duo diagram: two bridge paths, one decision — hybrid Entra join for new devices that still need Active Directory, and Autopilot for existing devices in three steps: export the profile as JSON, the task sequence wipes and reinstalls, OOBE reads the JSON.

Hybrid Entra join is for new devices that must land in Active Directory as well as Entra ID. Autopilot for existing devices is for old devices already in use — wiped and reinstalled by Configuration Manager, the Autopilot profile riding along as a file.

Bridge one: hybrid Entra join

Hybrid Entra join puts one device in two directories at once: joined to the on-premises Active Directory domain and registered as hybrid joined in Microsoft Entra ID. The user signs in with domain credentials, Group Policy still applies, and AD-only apps keep working.

The honest warning first: hybrid is the slowest, most failure-prone path in this series. It adds a server, a service account, an OU permission model and a domain join to a flow that otherwise needs none of those things — and every one of them can stall a device in front of a user. Part 5 already showed the cost: the ESP timeout, then roughly forty more minutes. New deployments should be Entra joined, the way Part 4 taught, unless a hard dependency says otherwise — a line-of-business app that authenticates against AD and cannot move, a Group Policy estate with no cloud equivalent yet. Device preparation cannot do hybrid at all — Microsoft’s FAQ says Entra join only — so hybrid estates stay on classic Autopilot.

What hybrid needs, in order: the user-driven profile set to hybrid join, a device group with that profile assigned, a Domain Join profile, the Intune Connector for Active Directory installed on a server, and internet access from the device. The profile is the easy one — in the deployment profile, under Join to Microsoft Entra ID as, select Microsoft Entra hybrid joined.

The connector: a small server that joins devices for you

The Intune Connector for Active Directory — the ODJ connector — makes it possible. The device itself never joins the domain: Intune asks the connector, the connector creates the computer object in the specified Organizational Unit in Active Directory, and the connector hands back an offline domain join blob the device uses to complete the join. The user needs no domain-join permission; the connector acts on their behalf.

Hub-cycle diagram: the Intune Connector for Active Directory drives the hybrid bridge in five stages — Intune asks for a domain join, the connector creates the computer object, the ODJ blob returns to Intune, the device joins AD and Entra ID, hybrid joined and the ESP runs.

Three facts about the connector decide most hybrid failures. First, the version: the updated connector runs as a Managed Service Account — named msaODJ plus five random characters — instead of the old local SYSTEM account, and its sign-in moved to WebView2 in build 6.2504.2001.8. Check it shows Active in Intune at version 6.2501.2000.5 or later; older builds stopped processing enrollments in late June 2025. Second, the server: a domain-joined Windows Server 2016 or later with .NET Framework 4.7.2 or later, installed with an account that can create msDs-ManagedServiceAccount objects. One connector per server, one per domain. Third, the health check: in the Intune admin center, Devices > Windows > Device onboarding > Enrollment > Windows Autopilot > Intune Connector for Active Directory shows each server and its status. When something goes wrong, the connector logs in Event Viewer under Applications and Services Logs > Microsoft > Intune > ODJConnectorService, in the Admin and Operational logs.

The OU permission trap

The failure that bites on the eleventh device is a permission, not a setting. By default, Active Directory lets any single account join only up to 10 computers to the domain. The first ten join cleanly, the eleventh fails, and the pattern looks like a flaky network. The fix is delegation, not a domain admin account: give the connector’s Managed Service Account the Create computer accounts permission on the OU the devices join — least privilege, exactly what Microsoft recommends. Never make the MSA an administrator — delegation, not admin rights, is the fix.

The MSA can create computer objects in the Computers container by default, and in nothing else; to let it create objects in an OU, add the OU to the ODJConnectorEnrollmentWizard.exe.config file on the connector server, under the OrganizationalUnitsUsedForOfflineDomainJoin key, in DN format, semicolon-separated. That OU must match the one the Domain Join profile names.

The Domain Join profile, setting by setting

The Domain Join profile is a configuration profile: Devices > Manage devices > Configuration > Create > New policy, platform Windows 10 and later, profile type Templates > Domain Join. Three settings, all load-bearing.

Setting Value Why
Computer name prefix A short prefix, e.g. AP- Required. The rest of the computer name is randomly generated, up to 15 characters total. It does not support the %SERIAL% or %RAND:x% variables the Entra-join name template uses.
Domain name The FQDN, e.g. contoso.com Required. The fully qualified domain name — not the NETBIOS name. CONTOSO alone will not work.
Organizational unit The full DN, e.g. OU=HybridDevices,DC=contoso,DC=com Optional. The OU the computer accounts are created in — the same OU the connector’s MSA was delegated on. Leave it blank and the accounts land in the Computers container; never enter the Computers container as a DN.

Assign it to All devices — the domain join applies to the device, not to a user group. What the user sees is the Part 4 flow with one extra beat: after signing in, the device joins the domain and registers as hybrid joined, then the ESP runs. One limit: you cannot deploy the Configuration Manager client while provisioning a new computer in user-driven hybrid mode — the client comes later, through co-management, not during OOBE.

Bridge two: Autopilot for existing devices

Autopilot for existing devices takes a device that is already deployed — domain-joined, in use, full of user data — and brings it back through Autopilot: a single native Configuration Manager task sequence wipes it, installs a fresh copy of Windows, and drops the Autopilot profile onto it as a file. The result is Entra joined or hybrid joined.

The profile travels as a JSON file, and the file has rules that break deployments when ignored. Export it from Intune with PowerShell — Get-AutopilotProfile | ConvertTo-AutopilotConfigurationJSON — and save it as AutopilotConfigurationFile.json, in ASCII or ANSI encoding. Unicode or UTF-8 breaks the OOBE experience outright; so does any other file name. One profile per file, one task sequence per profile. The task sequence copies it onto the device in WinPE while the freshly installed Windows is still offline, and when OOBE starts it reads the file and runs the Autopilot deployment — no hash import needed.

JSON property What it carries
CloudAssignedTenantId The Entra tenant ID (GUID, no braces).
CloudAssignedTenantDomain The tenant name, e.g. tenant.onmicrosoft.com.
CloudAssignedOobeConfig A bitmap of the OOBE choices: 1 skip Cortana, 2 user is not a local admin, 4 skip express settings, 8 skip OEM registration, 16 skip the EULA.
CloudAssignedDomainJoinMethod 0 for Entra joined, 1 for hybrid joined.
CloudAssignedForcedEnrollment 1 — the device must join Entra ID and enrol in Intune.
ZtdCorrelationId The registration correlation GUID.
CloudAssignedAadServerData The embedded branding string; needs Entra company branding enabled.
CloudAssignedDeviceName Optional — the name from the profile’s naming pattern, or an explicit name.

Two limits. The JSON file only supports user-driven Entra ID and user-driven hybrid profiles — self-deploying and pre-provisioning profiles are not supported, because those scenarios need TPM attestation and a file cannot attest. If the device is already a registered Autopilot device with a profile assigned, the assigned profile takes precedence over the JSON file. Requirements: a supported Configuration Manager current branch, Intune licences, Entra ID P1 or P2, a supported Windows image in ConfigMgr, and enrolment restrictions that do not block personal devices.

One tip in the Learn page: Autopilot for existing devices can convert existing hybrid Entra devices into Entra devices. The profile flag Convert all targeted devices to Autopilot from Part 4 does not do that — it only registers devices with the service. If the estate’s exit plan is to leave hybrid behind, the task sequence is the vehicle — wipe, reinstall, Entra joined.

Which bridge, and the exit plan

If the estate still runs something that only works against on-premises AD — a legacy app, a Group Policy estate with no cloud equivalent — build the hybrid bridge and keep the connector healthy. If the fleet is already deployed and the goal is a clean Autopilot estate, build the existing-devices bridge. If neither dependency is real, build neither: Entra join from Part 4 is the deployment, and the bridges are a detour.

Hybrid is a bridge, not a destination: the app moves to Entra authentication, the policy moves to Intune, the file service moves to SharePoint — and every device that crosses on the existing-devices task sequence can come back Entra joined instead of hybrid. The series ends with the estate cloud-native; these two paths are how an estate that is not there yet gets there without stopping work.

Prove it before Part 9

Five checks: one hybrid device completes user-driven Autopilot to the desktop with the computer object in the right OU; the connector shows Active in Intune at version 6.2501.2000.5 or later; the eleventh device joins — the OU delegation holds past the ten-computer default; one existing device completes the ConfigMgr task sequence and comes back through Autopilot; and the JSON file that did it is ASCII and named exactly AutopilotConfigurationFile.json.

Next up: Troubleshooting — Diagnostics, Logs, and the Failures Everyone Hits

Part 9, Troubleshooting — Diagnostics, Logs, and the Failures Everyone Hits, closes the series: when provisioning fails in front of a user, this is the method — the diagnostics page, the log map, and the failure classes behind almost every broken Autopilot run, Do the Part 8 checklist items first, then track your progress with the Windows Autopilot Deployment Checklist.

Sources: Microsoft Learn — Enrollment for Microsoft Entra hybrid joined devices, Windows Autopilot for Existing Devices, Windows Autopilot user-driven mode and Windows Autopilot device preparation FAQ. Settings, values, version numbers and failure modes verified against Learn on 2026-12-04. Related reading: Intune Day 1 — Windows Device Not Enrolling into Intune for what enrolment failure looks like from the troubleshooting side.*

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.