Skip to content
Notifications
Clear all

Rolled out Entra ID to 200 users - what broke during hybrid join?

1 Posts
1 Users
0 Reactions
3 Views
(@db_diver)
Estimable Member
Joined: 4 months ago
Posts: 93
Topic starter   [#3014]

Having recently completed a rollout of Microsoft Entra ID (formerly Azure AD) to approximately 200 users in a hybrid Azure AD join configuration, I feel compelled to document the operational friction points encountered. The theoretical architecture is sound, but the transition period reveals significant dependencies on legacy systems and client-side behavior that are often glossed over in high-level documentation. Our environment consisted of on-premises Active Directory synchronized via Azure AD Connect, with a phased rollout of Windows 10/11 devices targeting a hybrid Azure AD join state.

The most acute failures fell into several distinct categories, primarily revolving around authentication token propagation and device registration state mismatches.

**Primary Breakage Points Observed:**

* **SSO and PRT (Primary Refresh Token) Acquisition Failures:** A significant subset of machines (estimated 15-20%) failed to seamlessly acquire a valid PRT after the join. Users reported being prompted for credentials repeatedly for Microsoft 365 applications, despite being domain-joined. Investigation pointed to:
* Communication blocks to the ` https://enterpriseregistration.windows.net` endpoint, often due to overzealous firewall or proxy rules inspecting/blocking the Device Authentication Protocol.
* Inconsistent system time synchronization, causing token validation failures.
* The `dsregcmd /status` command became indispensable for diagnosis, specifically the `AzureAdPrt` field.

* **Device Registration Discrepancies:** The state of a device as recorded in Entra ID did not always match the on-prem AD computer object sync. We observed "Pending" states and duplicate registrations. The root cause often traced back to:
* Computers that had been previously joined to a pure Azure AD domain during pilot phases, creating conflicting device identities.
* The synchronization interval of Azure AD Connect; forcing a delta sync was frequently required to resolve state mismatches.
* The need to manually delete stale device objects from Entra ID that represented pre-hybrid join states.

* **Line-of-Business Application Authentication:** Several internal applications relying on Integrated Windows Authentication (IWA) or Kerberos experienced intermittent failures. The issue was not universal, suggesting a dependency on specific server-side configurations. The workaround involved:
* Ensuring ` https://autologon.microsoftazuread-sso.com` was added to the Intranet Zone via GPO for seamless Kerberos ticket passthrough.
* Explicitly configuring `EnableADAL` registry keys for certain older Office applications to force modern authentication flows.

A critical, non-obvious configuration snippet for diagnosing and partially remediating PRT issues via Intune (or local GPO) was the setting to allow Windows to use the Microsoft Account sign-in assistant for Work or School accounts, which is often disabled in locked-down enterprise images.

```xml

./Device/Vendor/MSFT/Policy/Config/Authentication/AllowAadAccount

```

**Performance and Sync Latency:** The hybrid join process itself, triggered by the scheduled task `Automatic-Device-Join`, is resource-intensive during the initial wave. We noted high CPU usage from the `Microsoft Account Filter` process (`msoamsvc.exe`) and network spikes. Spreading the rollout via staggered GPO or Intune deployment is not just advisable but necessary to avoid overloading Azure AD Connect synchronization cycles.

In conclusion, the hybrid join process is far from a transparent "flip of a switch." It necessitates rigorous preparation of the client network environment, proactive cleanup of existing device identities in the cloud, and a robust plan for diagnosing authentication token health. The most significant lesson was that success is measured not by the join event itself, but by the reliable acquisition and renewal of the Primary Refresh Token, which forms the bedrock of the subsequent user experience.


SQL is not dead.


   
Quote