Skip to content
June 28, 2026 Senior (5+ years) Error Reference

Fix Intune Connector Error `MSA account <accountName> is not valid` in Autopilot Hybrid Join

Fix the Intune Connector for Active Directory error `MSA account <accountName> is not valid` by validating connector build, AD replication, and MSA prerequisites.

Methodology

Practical guidance for working engineers, with a bias toward steps you can verify and repeat.

• What it covers: the exact problem, workflow, or decision
• What to verify: logs, settings, outcomes, or pass/fail checks
• What to avoid: risky changes without rollback or validation
• What to expect: prerequisites, caveats, and role fit

Updated: June 28, 2026

Fix Intune Connector Error MSA account <accountName> is not valid in Autopilot Hybrid Join

If the Intune Connector for Active Directory fails during Windows Autopilot hybrid join setup and the wizard throws MSA account <accountName> is not valid, do not start by rebuilding the server or deleting random Autopilot objects. Microsoft already documented this as a known issue in the updated ODJ connector flow, and the fix path is much narrower than most admins think.

The practical problem is that the connector can create the managed service account and still fail when it tries to retrieve that account data back from a domain controller. Microsoft says the issue can be caused by replication delays between domain controllers in a single domain or by using a user account that exists in a different domain than the connector machine. Microsoft also published the build where this exact sign-in problem was fixed.

That matters because this error looks like a generic AD failure even when the connector, Intune tenant, and hybrid join design are mostly correct. If you are bench-staging devices, trying to cut over from the legacy SYSTEM-based connector, or restoring a broken Autopilot hybrid join path, this is the kind of issue that burns hours fast unless you treat it as a version-and-directory-state problem first.

Quick fix checklist

Use this order before you rerun the wizard again:

  1. Confirm the visible error is exactly MSA account <accountName> is not valid.
  2. Check the connector build in Intune and on the server.
  3. If you are on build 6.2501.2000.5, update to build 6.2504.2001.8 or later.
  4. Confirm the admin account used for setup is a local administrator on the connector server.
  5. Confirm that account can create msDS-ManagedServiceAccount objects in the Managed Service Accounts container.
  6. Verify the connector server and the admin account are operating in the same domain context expected by Microsoft.
  7. If you have multiple domain controllers, allow replication to complete or force a sync before rerunning Configure MSA.
  8. Check ODJConnectorUI.log before making any more AD changes.

If you only remember one thing, remember this: Microsoft marked this as an actual product issue in the updated connector build, not just an admin typo.

What the error means

Microsoft’s Windows Autopilot known issues page lists this exact failure under Known issues with the Intune Connector for AD version 6.2501.2000.5. The documented wording is direct:

Error `MSA account <accountName> is not valid` when signing in.

Microsoft says this happens when the connector successfully creates the MSA but fails to retrieve the data from the domain controller. The two first-party causes Microsoft calls out are:

  • replication delays between domain controllers in a single domain
  • the user account exists in a different domain than the connector machine

That explanation is useful because it tells you where not to waste time. This is not the same class of issue as:

  • missing Autopilot profile assignment
  • broken hardware hash import
  • ESP app timeout
  • a bad hybrid join profile by itself

The failure happens in the connector’s move to the newer managed service account model. The account can be created, but the next lookup path still fails, so the wizard stops and makes the whole setup look invalid.

Why this started showing up in the updated connector flow

Microsoft’s February 2025 Intune Customer Success post about the connector security update explains the bigger platform change. To harden hybrid join deployments, Microsoft moved the connector away from the old SYSTEM-based model and updated it to use a Managed Service Account (MSA) instead.

That same Microsoft post also says the newer build 6.2504.2001.8 includes two relevant changes:

  • the sign-in page now uses WebView2 instead of the old browser control
  • the error MSA account <accountName> is not valid was fixed

So if your environment is still testing or rolling out the earlier updated connector build, you are not just dealing with an abstract best practice to patch later. You may be hitting a known bad build for this exact sign-in path.

This is why I would treat the connector version as a gate check, not a cleanup step for the end.

What Microsoft still requires before the connector can work

Even with the fixed build, the connector still depends on the normal hybrid join prerequisites. Microsoft’s current Windows Autopilot hybrid join guidance says the updated connector installation must be done with:

  • a server running Windows Server 2016 or later with .NET Framework 4.7.2 or later
  • connectivity from the connector server to the Internet and Active Directory
  • an administrator who is a local administrator on the connector server
  • domain rights to create msDS-ManagedServiceAccount objects in the Managed Service Accounts container
  • optional rights to modify permissions in target OUs, or a separate process to complete that delegation later

Those requirements matter here because MSA account <accountName> is not valid can tempt people to focus only on the account name. In reality, you need to validate three layers together:

  1. the connector build
  2. the domain context and replication state
  3. the rights used during setup

If any one of those is off, the error can survive repeated retries.

Logs and evidence to check first

1. Connector wizard log

Microsoft’s troubleshooting guidance points admins to this log for connector setup failures:

C:\Program Files\Microsoft Intune\ODJConnector\ODJConnectorEnrollmentWizard\ODJConnectorUI.log

This should be your first stop. If the problem is the exact sign-in issue covered by the known-issues page, this log helps you confirm that you are not actually dealing with a separate OU-permission or service-start failure.

2. Connector service event log

Microsoft says the connector logs in Event Viewer here:

Applications and Services Logs > Microsoft > Intune > ODJConnectorService

Use this log after the wizard phase if setup gets farther than sign-in or MSA creation.

3. Connector version in Intune

Check the connector entry in the admin center:

Devices > Enrollment > Windows > Windows Autopilot > Intune Connector for Active Directory

If you still see the early updated build and your failure text matches the known issue, stop troubleshooting and update first.

Repair workflow that fits the Microsoft evidence

Step 1: Prove you are on the affected error path

Do not generalize from memory. Confirm the exact wording in the wizard or in ODJConnectorUI.log:

MSA account <accountName> is not valid

If the error is actually Failed to create a managed service account - Element not found, Cannot start service ODJConnectorSvc on computer '.', or A constraint violation occurred, switch branches. Those are different connector problems, even if they appear in the same setup flow.

Step 2: Update off build 6.2501.2000.5

Microsoft’s known-issues page marks this exact sign-in problem against version 6.2501.2000.5 and says it is resolved in build 6.2504.2001.8.

That makes the update step non-negotiable. If you are still on the affected build, do not spend another hour rechecking Autopilot profiles, reinstalling the connector, or deleting the MSA first.

Step 3: Validate the install account and domain context

Microsoft’s hybrid join requirements say the installing admin must:

  • be a local administrator on the connector server
  • have rights to create msDS-ManagedServiceAccount objects in the Managed Service Accounts container

Microsoft’s known-issues note adds one more important clue: the failure can happen when the user account exists in a different domain than the connector machine.

So validate that the account you are using for connector setup is the right account for that server’s domain context. In multi-domain environments, this is one of the fastest ways to create a setup path that looks half successful and still dies on the retrieval step.

Step 4: Check for domain controller replication delay

Microsoft explicitly says replication delays between domain controllers can cause this error even in a single-domain environment.

That means the connector can create the MSA on one DC, then fail when a later lookup hits another DC that has not caught up yet. If your environment has normal replication lag, recent topology changes, or a slow bench network segment, that explanation is stronger than most home-grown theories.

Before rerunning Configure MSA, either:

  • wait for normal replication to complete, or
  • force the AD replication path your team normally uses

The goal is simple: make sure the DC being queried can actually see the MSA that was just created.

Step 5: Rerun only one clean connector attempt

After updating the connector and validating the directory state, rerun one clean configuration attempt. Do not change five variables at once.

My order would be:

  1. update the build
  2. verify admin rights and domain context
  3. verify DC replication
  4. rerun Configure MSA once
  5. recheck ODJConnectorUI.log

If the issue clears after the build update, you have confirmation that you were mostly fighting the known product issue. If the issue remains but the log changes to a different connector error, that is still progress because the root cause moved from “known bad build” to a narrower AD prerequisite problem.

What not to do during this incident

These are the moves most likely to waste time:

  • Do not keep deleting and recreating the Autopilot device record first.
  • Do not assume the MSA name itself is malformed just because the error says “not valid.”
  • Do not keep reinstalling the same affected connector build.
  • Do not ignore domain-controller replication just because the tenant side looks healthy.
  • Do not troubleshoot this as an Intune-only cloud issue when Microsoft already tied it to MSA retrieval from a DC.

This is one of those cases where the exact wording of the first-party note should drive the whole workflow.

Limitations and caveats

A few caveats matter here.

First, updating to build 6.2504.2001.8 does not remove the need for the normal connector prerequisites. If the admin account lacks rights, if the connector server cannot reach AD correctly, or if the OU and MSA delegation path is broken, you can still fail for a different reason.

Second, the connector setup flow has several adjacent failure modes. Microsoft’s docs also mention other issues such as:

  • Failed to create a managed service account - Element not found
  • Cannot start service ODJConnectorSvc on computer '.'
  • System.DirectoryServices.DirectoryServicesCOMException (0x8007202F): A constraint violation occurred.

Those are not the same incident even if they happen on the same day in the same connector rollout.

Third, if you are migrating from the old connector model, check that the legacy connector is not still the one in use. Microsoft says the updated connector should be the active path, and stale assumptions about which server or build is actually handling ODJ requests can send you in circles.

Prevention

The clean prevention plan is boring, which is usually a good sign.

  • Keep the Intune Connector for Active Directory on a supported, current build.
  • Treat connector upgrades like change windows, not ad hoc admin tasks.
  • Use an install account that clearly matches the connector server’s domain context.
  • Pre-verify rights to create msDS-ManagedServiceAccount objects before the maintenance window.
  • If your domain has multiple DCs, plan for replication time before calling the setup failed.
  • Capture ODJConnectorUI.log on the first failure instead of after five retries.

That approach will not prevent every hybrid join problem, but it prevents this one from turning into an all-day guess-fest.

Bottom line

When the Intune Connector throws MSA account <accountName> is not valid, the fastest path is to treat it as a documented connector build issue plus an AD validation check, not as a mystery Autopilot failure.

Microsoft’s own guidance gives you the core answer: the connector created the MSA, failed to retrieve it from a domain controller, and fixed the exact sign-in issue in build 6.2504.2001.8. Start there, verify the setup account and replication state, and then rerun one controlled test. That is the shortest path to getting hybrid Autopilot moving again.

Was this helpful?

Comments

Comments are coming soon. Have feedback? Reach out via the About page.