Mapping midPoint roles to Active Directory groups

Plan how midPoint roles drive Active Directory group membership, from application roles and meta-roles to cleaning up groups that already exist.

On this page

How midPoint roles map to Active Directory groups

This section covers how a midPoint role model can take over Active Directory (AD) group membership that is currently assigned by hand or by scripts. The page explains the design, the setup steps and the limits you should confirm before you commit. midPoint detects AD group membership as an association between an account and an entitlement, so the first design question is which AD groups should be treated as entitlements that midPoint manages, and which accounts they should attach to. Each AD group that grants access to an application becomes an entitlement, and each application role in midPoint carries the group membership that the role should provide. Business roles then bundle those application roles for the people who request access.

The pattern fits best when a stable set of AD groups maps cleanly to access levels, when joiners, movers and leavers already originate in an HR or identity source, and when your team can name an owner for every group. It fits less well when groups are used for mail distribution, Group Policy scope or ad hoc sharing, because midPoint will only govern the groups you bring under its control. Meta-roles let you apply shared behaviour, such as the same AD group naming pattern, container or membership rules, to every application role linked to an AD group, which keeps the role model from repeating the same settings in each role. Confirm how your AD schema, OU layout and domain functional level will be handled, since those decide which attributes and object types midPoint can read and write.

Before you build anything, confirm the connector path and the environment with your own team and with Evolveum's documentation. The ConnId-based Active Directory connector is listed in the Evolveum connector catalog, but its version, supported features and the account and group attributes it exposes should be checked against the midPoint release you plan to run, since the connector status and behaviour can differ. Plan a read-only discovery run and a reconciliation review before any group membership is changed, and agree in writing which existing groups midPoint will adopt, which it will leave alone and who signs off on each. The exact configuration depends on your domain layout, service account rights, replication topology and existing group nesting, so treat the steps in this section as a design baseline to test in a non-production domain first.

Which group model fits your AD estate

The simplest model creates one application role for each AD group that midPoint should manage. The role carries a single construction that links the role to one group entitlement, so an administrator can read the role and know exactly which group it grants. This fits a small number of groups, applications with few access levels, or estates where the AD group structure is already clean and stable. The cost grows linearly: every new group needs a new role, a new owner and a new certification scope.

  • Clear traceability: each role maps to one group, which makes access reviews and troubleshooting direct.
  • High role count: an application with twenty groups produces twenty roles that must be named, owned and maintained.
  • Nested groups: membership inherited through nested AD groups is detected through the group association, so confirm whether midPoint sees indirect membership in your configuration before relying on it.
  • Unowned groups: groups that midPoint does not manage can be left out of the role model, but a role that targets a shared group must be designed so midPoint does not remove members it did not grant.
  • Maintenance: renaming or splitting a group means changing a role and its assignments in step.

Before choosing this model, count the groups in scope and confirm with your AD team which groups have ownership outside midPoint.

Setup sequence for AD group roles in midPoint

This sequence takes an organization from an unconfigured midPoint to one where application roles drive Active Directory group membership, with each step ending in a check the team can review. It is designed to be run in a non-production environment first, then repeated against production under change control.

  1. Confirm the AD connector version and support status

    The identity or platform engineer checks which ConnId-based Active Directory connector ships with the midPoint release you plan to run, and records its support status in the Evolveum connector catalog. Confirm that the connector supports your domain functional level, the LDAPS settings your domain controllers require, and the service account permissions needed to create and modify groups. Done means a written note names the connector version, its support status, and the service account with its required rights, approved by the security team.

  2. Define the AD resource and schema handling

    Create the AD resource in midPoint with the connection details, base contexts for users and groups, and the schema handling that decides which object classes and attributes midPoint manages. Limit the group object class to the attributes you intend to govern, and confirm which OU holds groups that midPoint may create or change. Run a test connection and a schema fetch in the non-production environment. Done means the connection test succeeds, the group object class appears in the schema, and the team has written down which groups midPoint is allowed to touch.

  3. Import existing AD group entitlements

    Run an import or reconciliation task that reads the existing AD groups into midPoint as entitlement objects and associates them with the accounts that are members. This lets midPoint detect current membership without changing it. Review the imported groups with the application owners to separate groups that will become managed roles from groups that stay manual or are out of scope. Done means every in-scope group is present as an entitlement, and the list of unmanaged groups is agreed and recorded.

  4. Define application roles per group

    For each managed AD group, create an application role that includes the group as an entitlement assignment, using the role wizard or the role object editor. Name roles consistently and assign an owner to each one so later governance has an accountable person. Keep one application role per group unless the owner agrees to a different grouping. Done means each in-scope group has exactly one application role, every role has an owner, and a preview of a test user's assignment shows the expected group membership change.

  5. Add a meta-role for shared AD group behaviour

    Create a meta-role that holds the behaviour common to all AD group application roles, such as the shared resource reference, naming rules, and any approval or certification settings your policy requires. Link the application roles to this meta-role instead of repeating the settings on each one. Verify the change by previewing an application role and checking that the inherited settings appear. Done means a change to the meta-role shows up in the preview of every linked application role and nothing else.

  6. Test assignments in a non-production environment

    Assign and unassign test identities with a small set of application roles in the non-production environment, using test accounts in a separate AD test OU. Confirm that group membership changes on the AD side match the preview for each assignment, and that removing a role removes only the group it governs. Test a user who holds several overlapping roles to check that shared groups are not removed prematurely. Done means each test case has a recorded preview, a matching AD result, and a documented exception list if any behaviour differs.

  7. Run a reconciliation and review the results

    After testing, run a reconciliation on the AD resource in the non-production environment and review the results before enabling enforcement in production. Check for accounts whose AD group membership differs from what midPoint expects, and decide with the application owners whether to correct, accept, or exclude each difference. Repeat the same steps in production under your change process, starting with a preview run. Done means the reconciliation reports no unexplained differences for the in-scope groups and the production run is approved by the owners.

How a midPoint role reaches an AD group

The flow starts with an HR record or an approved access request that creates or assigns a business role. The business role induces an application role, which induces an AD group entitlement, and the midPoint AD connector writes the membership into the domain. The trust boundary sits between midPoint and the domain controllers, so check that the connector account has only the rights it needs there. Reconciliation reads group membership back and compares it with the role model, and the drift it reports is what you review.

Path from an HR or request assignment through roles and the AD connector to group membership.

Cleaning up existing AD group membership without locking people out

Before midPoint enforces anything, classify every existing group as managed or unmanaged. An Active Directory estate that has grown over years usually holds groups that were granted by hand, groups nested inside other groups, and groups that a helpdesk or application team still relies on but nobody documented. If midPoint treats one of these as managed and then removes the memberships it cannot account for, users lose access to systems they need on the first run. The classification should record, for each group, whether midPoint will own its membership, whether it will only read it, or whether it stays out of scope. Nested groups need the same treatment, because a membership that looks redundant in one group may be the only path to a resource through another. Confirm in a test domain how your chosen connector reports nested membership and whether it reads or ignores indirect membership before you rely on either behaviour.

Run the first reconciliation in preview mode and widen the scope in stages. midPoint can show the changes it would make before it applies them, so the first pass should be a review of the proposed additions and removals rather than a live run. Start with a small set of groups tied to a low-risk application, then extend the scope group by group as the results match what the owners expect. Keep the resource's safety thresholds and any manual resource settings in place during the early stages so that an unexpectedly large removal set is held for review instead of applied. Confirm the exact preview behaviour, the reconciliation options and how removals are recorded in the version you deploy, using the midPoint releases page to match your target release to its support window.

Agree with application owners before any membership is removed. The directory shows who is in a group, but not why, and the owner of the application behind a group is the only person who can say whether a member is a service account, a batch job, a contractor or a user who still needs access. Send each owner the list of memberships midPoint would remove, along with the role that would replace them, and record their sign-off before the group moves to enforcement. Where an owner cannot confirm a membership, leave the group unmanaged and document the open question rather than removing the access. Keep the rollback plan for each stage written down, including how a removed membership would be restored from the preview output or a directory backup, and test that restore in the test domain.

Security and operational risks in AD group provisioning

Driving Active Directory group membership from midPoint gives one identity system write access to groups that control access across the domain. The cards below cover the exposures that matter most, from privileged groups and service account rights to drift, reconciliation and rollback.

Privileged group exposure

Groups such as Domain Admins and other tier-0 groups should stay outside general role provisioning. A single role that carries one of these groups can grant domain-wide rights to every holder, and a mistake in a mapping or inducement can add members at scale. Before go-live, list every AD group that midPoint can write to, mark privileged groups as excluded or manual, and confirm that no meta-role or inducement reaches them.

Service account permissions on the domain

The midPoint connector authenticates to AD with a service account whose rights define the worst outcome of a compromise or misconfiguration. Grant it permission to read and modify membership of the specific OUs and groups in scope, not domain-wide administrative rights. Ask the directory team to confirm the delegated rights in writing, and keep the account's password and any certificate under the same controls as other privileged credentials.

Change auditing in AD and midPoint

Membership changes need a trail on both sides. Enable directory auditing for group membership changes on the domain controllers, and make sure midPoint's own audit records show which role, assignment or approval caused each change. Check that the two logs can be matched by account, group and timestamp, so an auditor can trace a grant from request to directory event.

Drift from manual AD changes

Administrators who add users to groups directly in AD create state that midPoint does not know about. Depending on the configured sync policy, midPoint may remove those members on its next run or never see them. Decide which changes are allowed outside midPoint, record them as an exception process, and test how a manual addition is handled before enabling enforcement on production groups.

Reconciliation schedule and safety limits

Reconciliation corrects drift, but a run that reads incomplete data can remove many memberships at once. Set a reconciliation schedule that fits your change windows, and configure safety thresholds on the resource so a run stops when the number of proposed changes is unexpectedly large. Confirm the schedule and thresholds with the people who own the AD groups before the first full run.

Rollback plan for group changes

Provisioning mistakes are easier to reverse when the previous membership is known. Export current membership of every in-scope group before the first sync, and keep the role and mapping configuration under version control so the previous state can be reapplied. Rehearse a rollback on a test domain, and agree who can authorize it and how long it takes to restore group membership.

Questions buyers ask about AD group role mapping

What drives the cost and effort of mapping midPoint roles to AD groups?

The main driver is how many roles, applications and existing groups are in scope, and how much of the current group structure has to be cleaned up before midPoint takes over membership. Cost comes from three places: the design work on the role model and meta-roles, the connector and mapping configuration, and the testing needed to prove that group membership changes produce the right access. Each cost is one-time for the initial build, while support subscriptions and later role changes recur. Ask any provider for a written scope that lists the number of application roles, the AD domains involved, the groups to be reviewed for cleanup, and the test cases used to sign off. DeployOpen does not publish prices, so a quote follows from that written scope.

How long does mapping roles to AD groups usually take?

Duration depends mainly on group count and cleanup. A small set of application roles with clean, well-named groups moves quickly, while a domain with years of nested groups, duplicate memberships and unclear ownership needs an inventory and review phase before any automation is switched on. Meta-roles that apply the same AD group rules across many application roles shorten the build, but they still need to be tested against real group objects. Planning also depends on change windows and the people who must approve group changes. No fixed duration applies to every environment, so ask for a timeline tied to the agreed group count and cleanup scope rather than a generic estimate.

What does the work need from our team?

The work needs three groups of people. Domain administrators approve the service account, the permissions midPoint needs on the target OUs, and any change to group scope or nesting. Application owners confirm which groups grant which access and who should be able to request them. HR data owners confirm the attributes midPoint uses to decide who holds which role, such as department, job code or manager. Plan for these people to be available during the inventory, the design review and the cutover test. If any of them cannot commit time, the schedule will move, and the cleanup decisions will fall back to the project team.

Can our internal identity team do this without a partner?

Yes, an internal team with midPoint, ConnId and Active Directory experience can build this work alone, and some organizations prefer that for control and knowledge retention. The gaps usually appear in the role model design, the cleanup of existing groups, and the verification steps that show removed access is actually gone. Ask internally whether the team has run a midPoint connector against a production-like domain, has tested reconciliation and deprovisioning, and can own the design decisions after go-live. If those skills are thin, a fixed-scope engagement can cover the build and hand over documentation, or a retainer can cover ongoing work.

How does Windows Server licensing relate to our AD domain?

Mapping midPoint roles to AD groups does not itself change Windows Server licensing, but the domain controllers and any Windows servers that host the directory must be licensed. Microsoft's Windows Server 2025 pricing page states that Standard and Datacenter editions are licensed per core, with a minimum of 16 cores per server and 8 per processor, and that each user or device accessing the server needs a Windows Server Client Access License. The same page lists a suggested price of 1,176 US dollars for Standard and 6,771 US dollars for Datacenter for 16 core licenses, and notes that prices vary by region. Windows Server 2025 became available on November 1, 2024, with mainstream support ending November 14, 2029. Windows Server 2022 mainstream support ends on October 14, 2026, so check whether any domain controller in the plan is approaching end of support before the project starts.

What do support subscriptions cover compared with implementation work?

Implementation work builds and tests the midPoint configuration for your domain: the role model, connector setup, mappings, group cleanup and cutover. Evolveum's Product Support subscriptions cover resolving product bugs, offered on an 8x5 next-business-day or 24x7 SLA, while Platform Subscriptions add feature development and roadmap influence. Evolveum's support page lists no prices, so confirm current terms directly with Evolveum. A support subscription does not design your role model, clean your AD groups or test your access changes, so those items need to be in the implementation scope. Ask any partner which items after go-live are covered by a retainer and which fall under the vendor subscription.

What goes wrong most often when midPoint takes over AD group membership?

The most common problems are groups that are used for more than one purpose, nested groups that grant access indirectly, and manual memberships that midPoint removes during its first reconciliation. Any of these can cause a lockout or an unexpected loss of access on the first run. Protect against this by inventorying group use, running reconciliation in report or simulation mode first, and agreeing a rollback plan with the domain administrators. Confirm with your own team how the directory and connector are configured before the first live run, because the details depend on your domain design.

Where to read the official midPoint and AD documentation

Start with the Evolveum current midPoint features page before you design the mapping. It is the place to confirm what the current release does with AD group membership. The page describes that midPoint detects AD group membership as an association between an account and an entitlement, and that a meta-role can specify common behaviour for all application roles linked to Active Directory groups. Read those two points closely, because they decide whether you model one application role per group with shared behaviour in a meta-role, or handle group membership some other way. Check the page against the midPoint version you plan to run, since feature details can change between releases. The release dates in the supported-version table are covered elsewhere on this page, so confirm the version in your own environment rather than relying on the feature page alone.

Next, read Microsoft's Active Directory Domain Services overview so the directory side of the design is clear. It explains that AD DS stores users, computers and other objects, replicates directory data to every domain controller in a domain, and provides a schema, a global catalog and a query and index mechanism. Those properties matter for group design: group objects replicate through the domain, nested group membership affects token size and lookup behaviour, and the schema defines which attributes midPoint can read and write. Confirm with your AD team which domains, forests and naming conventions the connector will reach, because a role model that works in one domain may need adjusting in a multi-domain forest.

Finally, read Microsoft's comparison of Active Directory and Microsoft Entra ID in the Active Directory versus Entra ID comparison. It sets out how on-premises applications authenticate against AD, including LDAP and Windows-integrated authentication, and notes that existing organizations use Microsoft Entra Connect to sync identities to Entra ID. That matters if some of your groups feed cloud applications through sync, since a group you provision from midPoint may reach Entra ID by a different path than a group created directly in AD. Ask your directory team which groups are synchronized and which are not before you decide where midPoint's entitlement mapping stops.

How DeployOpen scopes and delivers AD group role mapping

DeployOpen treats AD group role mapping as a fixed-scope piece of identity governance work inside your own Active Directory and midPoint environment. We agree the role-to-group model, the cleanup rules and the verification evidence in writing before any group membership changes.

How we scope

  • Inventory the AD groups, OUs and nested memberships that midPoint would take over or leave alone.
  • Agree which application roles map to which AD groups and which groups stay manually managed.
  • Define the cleanup rules for existing groups, including how orphaned memberships are reviewed before removal.

How we build

  • Configure the AD connector and entitlement associations so midPoint detects group membership on accounts.
  • Use a meta-role to apply shared behaviour to every application role linked to an AD group.
  • Test in a non-production domain first, with dry-run previews of membership changes before enforcement.

How we hand over

  • Deliver the role model, mapping tables, connector configuration and cleanup runbook as written documentation.
  • Walk your identity and Windows administration teams through how a role change reaches an AD group.
  • Record the verification results so your reviewers can trace each group back to a midPoint role.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan midPoint upgrades with the AD mapping in scope, so group sync is retested on each release.
  • Confirm with your team which support subscription and Active Directory versions apply to your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.