Skip to content
System hardening
ASD ISMISM-1950

ASD ISM 1950 Disable soft matching after synchronisation

What it says

Soft matching between Microsoft AD DS and Microsoft Entra ID is disabled following initial synchronisation activities.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Once initial synchronisation activities are finished, disable soft matching between Microsoft AD DS and Entra ID, so accounts no longer link because their sign-in names or email addresses match.

Soft matching between Microsoft AD DS, the on-premises directory, and Microsoft Entra ID, the cloud directory, must be disabled once initial synchronisation activities are finished. Soft matching links an AD DS user, when it is first synchronised, to an existing Entra ID account with the same userPrincipalName (sign-in name) or primary email address, after which AD DS manages that account. It helps while existing cloud accounts are first linked to their AD DS users, and must be off after that.

Why it matters

While soft matching is on, anyone who can create an AD DS user in synchronisation scope can copy a cloud-only account's sign-in name or email address onto it, and synchronisation then hands that account to AD DS control. Disabling it closes that route.

How to implement

  1. Read the tenant's soft match setting.

    In the Entra ID tenant's on-premises directory synchronisation features, find BlockSoftMatchEnabled. False means soft matching is on. The setting belongs to the tenant rather than an Entra Connect server, so it applies to every object synchronised into that tenant.

  2. Finish initial synchronisation activities first.

    If the first synchronisation from AD DS is still under way, finish linking existing cloud accounts to their AD DS users and clear the synchronisation errors that show accounts still waiting to match. If initial synchronisation was completed long ago, go straight to the next step.

  3. Turn on the soft match block.

    Set BlockSoftMatchEnabled to true, read it back to confirm, and record the date and who made the change. Where a provider administers the tenant, have it make the change and send you the value it reads back.

  4. Create synchronised users in AD DS first.

    With soft matching off, a new AD DS user no longer links to a cloud account with the same sign-in name. For anyone who needs a synchronised account, create it in AD DS and let it synchronise, rather than creating it in Entra ID first.

Keep it running

Read the setting back after any project that links more accounts, such as adding an AD DS forest or merging tenants, because soft matching may be switched back on for it. Look into any cloud-only account that becomes synchronised without an approved change.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    The tenant's on-premises directory synchronisation settings, read live during the audit, and the records of when synchronisation from AD DS began.

    Look at

    The value of BlockSoftMatchEnabled, and whether initial synchronisation activities are finished.

    Good evidence

    BlockSoftMatchEnabled is true. A false value passes only where synchronisation records show initial synchronisation activities, such as the tenant's first synchronisation from AD DS or the first synchronisation of a newly added AD DS forest, are still being completed.

  2. Check 2 of 2What an auditor asks for

    Ask for

    A test run under change control: a new AD DS user created outside synchronisation scope with the sign-in name and primary email address of an ordinary cloud-only test account with no administrative role, then moved into scope.

    Look at

    Whether the cloud-only test account is still managed in Entra ID after the next synchronisation cycle.

    Good evidence

    The cloud-only test account is not linked to the AD DS user and stays managed in Entra ID, which shows soft matching is disabled in practice and not only in the setting.

Mappings

Closest match in ISO/IEC 27001: A.5.16, Identity management, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.5.16Identity managementPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.