Skip to main content
KBY Technologies Logo

Entra AD Enforcement: Patch Every Writable Domain Controller (KB5126655, KB5126646) First

Microsoft lists Entra AD enforcement as generally available, but one unpatched domain controller bypasses it. The updates, the order of work and two traps.

KBY News Desk6 min read
Low angle view of a modern hallway with open blue doors and white tiled flooring, creating a clean and tranquil environment.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

Microsoft’s December Entra roundup lists AD enforcement as generally available. The feature stops anyone changing selected users and groups directly, so only Entra’s provisioning service can alter them. Microsoft’s setup guide adds a catch that the headline leaves out. Every writable domain controller must first carry a specific update, or the protection has a hole in it.

The change matters to admins who run Microsoft Entra Cloud Sync to write cloud users and groups into on-premises Active Directory. If that is not you, you can stop reading. If it is, the order of work matters more than the feature itself.

#What Microsoft announced

The roundup is dated 3 December and was updated on 4 December. It is written by Yina Arenas, Microsoft’s chief product officer for identity and network access. It describes AD enforcement for groups synced from Entra to Active Directory as generally available, with Entra ID P1 as the product tag.

Microsoft’s summary says designated AD users and groups can be changed only through the provisioning service. Direct changes in Active Directory are blocked.

One discrepancy is worth knowing. The Microsoft Learn setup page we read still calls the feature a preview, and its last update is dated 29 October. We cannot tell which is current, so check the status on your own tenant before you promise anyone general availability. The roundup is the later of the two pages.

#Why the domain controller update comes first

The setup guide says enforcement is evaluated on whichever domain controller handles a write over the Lightweight Directory Access Protocol (). That is the reason the order of work matters. A protected object is only protected where the domain controller has the update.

Microsoft’s wording is blunt. It says an unauthorised change sent to a controller that is not enabled succeeds. That change bypasses the control for that object. It also says that if a controller cannot reach a supported update level, enforcement cannot be configured for the domain.

The guide names the minimum updates, both released on 13 October 2026:

  • Windows Server 2022: KB5126655, OS build 20348.5761 or later.
  • Windows Server 2025: KB5126646, OS build 26100.33650 or later.

There is no raise of the domain or forest functional level, and no schema extension. The control uses the msDS-ObjectSoa attribute, which has existed since the Windows Server 2016 schema. Controllers on older Windows Server releases are not listed as supported, so check them before you plan.

#What enforcement blocks, and what it still allows

Enforcement has two modes. In Enforced mode, only accounts on the policy’s allow list can change a marked object. The policy blocks LDAP modify and modify-distinguished-name operations. It also blocks restores from the Recycle Bin and deletions. It still allows LDAP add operations.

In Audit mode, changes go through under your existing access controls, and the controller writes an event to its Directory Service log. Microsoft suggests using Audit first to find out-of-band changes before you switch to Enforced.

Two limits matter in practice. Enforcement covers a marked object’s attributes and, for groups, its membership, but nesting an enforced group inside an unenforced group is not restricted. And converting an object’s source of authority in Entra does not lock it down in Active Directory by itself. You still mark the object through provisioning.

#A rollout order we would follow

This is our reading of the guide, not Microsoft’s wording. The aim is to avoid locking your own team out of groups they edit every day.

  1. List every writable domain controller with Get-ADDomainController -Filter * | Where-Object { -not $_.IsReadOnly }. Include the ones in branch offices.
  2. Install the cumulative update on each, restart, and confirm the build. Microsoft also gives a file version check on ntdsai.dll for each Windows Server release.
  3. Install the ADSyncTools module at version 2.6.0 or later on the machine where you will run the policy commands.
  4. Set the policy to Audit mode first. Mark a small test group, not a production one.
  5. Turn on Security Diagnostics logging. Microsoft says that at the default setting of 0 only policy-load events are logged, not individual block or audit events.
  6. Run in Audit mode long enough to see who changes these groups outside Entra, then move to Enforced.

Following along? Tap a step’s number to tick it off.

Setting the policy needs Domain Admin rights. Microsoft says to use that privilege only while installing or changing the policy, and to remove it afterwards through your just-in-time process.

#Two traps in the guide

The first is the break-glass account. If a group is marked, ordinary on-premises admin writes to it are blocked in Enforced mode, including an attempt to clear the marker. Microsoft says to keep at least one break-glass account in the policy so you still have a recovery path. The policy holds at most 64 security identifiers.

The second is a stale identifier. Microsoft says a single invalid or stale one causes the entire policy to fail to load, which leaves no identity authorised. If a listed account is deleted and recreated, its identifier changes, so the policy needs updating. Watch the Directory Service log for a policy-load error, and write the account change into your runbooks.

A blocked change returns an error that says the object is managed by a cloud source-of-authority policy. Microsoft says the wording differs between tools. Tell your service desk what it means before you go live, or the first reports will arrive as tickets about “access denied”.

#What else is in the December update

The roundup lists 45 changes. Most are previews. Two others touch the same directory estate. Hard deletion protection, in public preview, stops critical objects being permanently deleted for seven days after a soft delete. Microsoft Entra Backup and Recovery Premium keeps daily backups for up to 30 days, against seven for Standard. We covered the price and retention details in our report on the Entra Backup Premium preview.

The roundup also lists passkey registration during account recovery, in preview, and passkeys for internal guest users, now generally available. If you run Entra sign-in for other organisations’ staff, those two deserve a look. Our earlier story on rogue Entra devices and device code phishing is a reminder of why sign-in controls come first.

#Our view

We think this is a useful control with an awkward dependency. Blocking direct changes closes a real gap. A synced group that someone edits by hand in Active Directory can quietly drift from what Entra says. That drift is how access reviews go wrong.

The cost is operational. The control is only as strong as your weakest domain controller, and a forgotten branch-office server defeats it without any warning. We would treat the controller inventory as the real project and the policy as a small final step.

Small organisations with one or two controllers can finish this in an afternoon. For larger estates, we would expect the inventory and the update cycle to take longer than the configuration. What would change our view is evidence that Microsoft’s own enforcement leaves a bypass on an updated controller. Nothing we have read says so.

Put one plain question to your Microsoft contact. Is the feature in preview or generally available for your tenant today? And does your licence cover it?

Evidence trail

Sources and verification

Primary documentation and external technical references used in this article.

  1. 01Microsoft Entra Blog: What's new in Microsoft Entra, December 2026 (Yina Arenas), 3 December 2026techcommunity.microsoft.com
  2. 02Microsoft Learn: Microsoft Entra AD object enforcementlearn.microsoft.com

About this page

Credited to

Dates

Published

Corrections

No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.

Found this useful? Follow KBY for more like it.

Reader Interaction

Comments

Add a thoughtful note on Entra AD Enforcement: Patch Every Writable Domain Controller (KB5126655, KB5126646) First. Comments are checked for spam and held for moderation before appearing.

Loading comments...

More from KBY that goes with this story.

More news

All news

Discover more

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

Get new fixes by email.

For IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up, about twice a week.