How midPoint managing group membership with entitlements works for your directories
Most directories carry groups that nobody owns. Active Directory groups accumulate over years of projects, reorganizations and one-off requests, and many of them grant access to file shares, applications or privileged tools without a named owner or a documented reason. When an auditor asks who belongs to a group and why, the answer often lives in someone's memory rather than in a system. midPoint manages this by treating group membership as governed access, which is the problem the group synchronization methodology addresses. That methodology extends the First Steps approach, and it starts from a practical fact: existing groups usually have no authoritative source of truth, so midPoint cannot simply overwrite them on the first run without risking outages for the people who depend on them.
In midPoint, resource groups and privileges are represented as entitlements. A group on a directory or application becomes an entitlement object, and a user's membership is detected as an entitlement association on that user's account. This lets midPoint report current memberships, assign groups through roles and remove them when access is no longer justified, all through the same model used for other access. Teams usually need this when group sprawl makes the directory hard to reason about, when joiners, movers and leavers must change directory groups and not only accounts, or when audit questions about group ownership cannot be answered from current records. Before the first synchronization, confirm which connector reads each group type, whether nested groups are visible to it, and who will sign off on the ownership mapping for groups that have no owner today.
Keep one boundary clear: midPoint is an identity management system, not an access management or single sign-on server. Evolveum states that it does not implement the server side of OAuth2, OpenID Connect or SAML. Group membership managed by midPoint therefore shapes what a directory or application grants, but it does not decide how users sign in. Authentication for applications stays with your identity provider or directory, so plan group changes together with the sign-in path that consumes them.
Group management options and when each fits
This table compares three ways to bring directory and application groups under midPoint: importing existing groups as entitlements, managing membership through application roles, and full authoritative control. Read each row to match the option to how much your organization trusts the current group data and how much change the target system owner will accept. The main takeaway is that the less authority midPoint takes at the start, the lower the risk of unplanned removals, and the more deliberate the later move to full control must be.
| Option | When it fits | Main risk | Confirm with the target system owner |
|---|---|---|---|
| Import groups as entitlements, membership unchanged at first | Existing groups have no clear source of truth and the first goal is visibility into who holds what | Membership drifts from what midPoint shows if manual changes continue outside it | Who edits group membership today, and through which tools or scripts |
| Application roles mapped to groups | Access is best described as a bundle of application permissions that several groups together provide | Role design errors grant or remove groups across many people at once | Which groups carry which application permissions, and whether any group grants admin rights |
| Fully authoritative group control | A group is created and removed only through midPoint, with no legitimate manual edits afterward | Groups used by other systems, services or mail flows may be removed when membership is not in midPoint | Every consumer of each group, including mail, file share, and service account dependencies |
| Hybrid: authoritative for new groups, import-only for legacy groups | Some groups are new and clearly owned, while older groups still need investigation | Teams may assume a legacy group is governed when it is only observed | Which groups are formally in scope, and a named owner for each one |
| Membership changes through tickets while midPoint records them | Target systems have no connector or the owner requires a manual approval step | Records drift if tickets are closed without the change being applied | Who applies the change, and how completion is confirmed back to midPoint |
Setup sequence for group synchronization in midPoint
This sequence brings existing directory and application groups under midPoint control without overwriting memberships that no one has verified. It ends with entitlement-based provisioning that has been tested and simulated before it touches production groups.
Inventory groups and assign owners
Export the groups and memberships from each directory and application in scope, including group names, scopes, member counts and any nested groups. Ask the business owner or application owner of each group to confirm who is accountable for it and what it grants access to. Groups without a named owner go onto a separate list for later review. The step is done when every in-scope group has an owner or sits on the unowned list, and the inventory is stored where the security and identity teams can review it.
Follow the group synchronization methodology
Read Evolveum's group synchronization methodology, which extends the First Steps method with entitlements such as groups. Agree with the identity team and the directory owners which First Steps phases apply to groups and which need adjustment. Record the decisions in the project plan, including who approves each phase. The step is done when the team has a written plan that names the methodology phases it will follow and the approvers for each.
Import groups and memberships read-only
Configure the resource in midPoint to import groups and their memberships without any provisioning enabled, so midPoint reads the current state and changes nothing on the target. Run the import in a test environment first, then against a copy or the production resource if the test data is not representative. Compare the imported object counts and sample memberships with the inventory from the first step. The step is done when the counts and sample memberships match the source of truth the owners confirmed.
Classify groups without a source of truth
Sort each imported group into a category: managed by midPoint, managed by an owner outside midPoint, or no source of truth. Groups with no source of truth cannot simply be overwritten, because midPoint would remove members that someone added by hand. Keep those groups read-only or mark them for a decision, and record the decision and the owner who made it. The step is done when every group has exactly one classification and the classification list has been reviewed by the owners.
Define entitlement objects and associations
Model the groups that midPoint will govern as entitlement objects and define the associations that link accounts to them. Entitlements represent resource groups and privileges, and membership is detected as an entitlement association. Check that a test account added to a group in the target shows up as an association in midPoint, and that removing it is reflected too. The step is done when the association for a test account is correct in both directions and the entitlement definitions match the classification list.
Map application roles to groups
Define which midPoint roles grant which groups, and which application roles sit on top of those groups. Keep the mapping traceable: each application role should name the groups it includes and the owner who approved it. Review the mapping with the application owners before it is linked to any user assignments. The step is done when a sample user receives the expected groups through the role, and the owners have signed off on the mapping document.
Enable provisioning in a test environment
Turn on provisioning for the governed groups in a test environment that mirrors the production directory and application settings. Run a simulation of the planned changes before executing them, and confirm that the simulation lists only the membership changes you expect. Execute the change against the test resource, then check group membership in the target against the simulation output. The step is done when the simulated and actual changes match and no unclassified group was modified.
Verify with simulation before production
Repeat the simulation against the production resource with provisioning still limited to the governed groups, and confirm the expected change set with the owners before any production change runs. Keep the read-only import running so drift between midPoint and the target is visible. Record the review result and the rollback approach for each group. The step is done when the owners have approved the simulated change set and the team can show the reconciliation results that justify enabling production provisioning.
Mapping application roles to directory groups
An application role in midPoint can map onto one or more groups on Active Directory or on a connected application, so people receive access through the role they hold without anyone redesigning the application's own permission model. The role itself is the governed object: midPoint assigns it to users, and the role's inducements or entitlement associations carry the group memberships to the target system. Start by listing, for each application, which groups already grant access, which groups grant privileges, and who maintains them today. Groups that already exist on a directory often have no source of truth, so midPoint should not overwrite them on first contact. Confirm the group synchronization approach in the Evolveum group synchronization methodology before you decide which groups midPoint will own.
Group design also decides how users authenticate, which is a question to answer before the mapping is built. Most on-premises applications authenticate against Active Directory through LDAP, Windows-integrated authentication (NTLM and Kerberos) or header-based authentication, so a group that controls access to them is also part of the sign-in path. SaaS applications generally need a federation system such as AD FS in front of Active Directory, so a group that works for a Windows-integrated application may not give a SaaS application the claims it expects. Ask each application owner which authentication method the application uses and whether it reads group names, group identifiers or both, and test the mapping against that method rather than assuming the directory group is enough.
The harder cases are nested groups, groups shared by several applications and groups that also grant privileges. A nested group can add members through a parent that midPoint does not show as a direct assignment, so the effective membership of a role may differ from what the role definition suggests. A group used by two applications means that removing a role from one application can remove access from the other, so map shared groups to a single owner and record the dependency. A privileged group, such as one that also grants administrative rights, should be governed through a separate role with its own approvals, not bundled into a standard application role. Plan a test in a non-production directory for each of these cases before the mapping goes live.
How group membership flows from roles to target systems
The flow starts in the HR or identity source, which feeds midPoint's role and assignment logic. midPoint represents each group as an entitlement and records membership as an entitlement association, then pushes the change through a ConnId connector to Active Directory or an application. The trust boundary sits between midPoint and the target systems. Imported group state flows back to midPoint, where reconciliation compares it with the intended state. Check that every group midPoint manages has a documented owner and source of truth before the first write.
Group membership moves from roles through entitlements and connectors, then back for reconciliation.
Security and operational risks of managing groups
Group membership looks like a small change, but a single group can grant access to a file share, an application or a directory-wide permission. The cards below cover the risks that appear when midPoint starts assigning and removing entitlements, and the checks to make before those changes reach production.
Over-privileged groups from broad roles
An application role mapped to a directory group grants that group's rights to every identity that holds the role. If a role is assigned through a broad inducement or an automatic assignment rule, many more people than intended can inherit the group. Review each role-to-group mapping and confirm which identities reach it through which path before enabling the mapping. Illustrative example: a role meant for one team that is also induced by a department-wide rule would add the whole department to an administrative group.
Service account rights on the connector
The connector authenticates to the directory with a service account, and that account's permissions set the limit of what midPoint can change. An account with rights over every group can add members to privileged groups even when midPoint policy would forbid it. Confirm the service account's delegated rights, restrict it to the containers and group types in scope, and record who can change its credentials. Limits in midPoint policy do not replace limits in the directory.
Accidental overwrite of ownerless groups
Many groups on directories were created by hand and have no owner or documented purpose. Because they have no source of truth, a synchronization that treats the midPoint view as complete can remove members that were added outside midPoint. Evolveum's group synchronization methodology notes that such groups cannot simply be overwritten. Inventory them first, mark which ones are managed, and keep unmanaged groups out of the mapping scope until an owner confirms them.
Drift after manual directory changes
Administrators who add a user to a group directly in the directory create a difference that midPoint does not know about. Until reconciliation runs, the repository and the directory disagree, and access reviews based on midPoint data show the wrong picture. Decide in advance whether manual changes are corrected or imported, set the reconciliation schedule, and make sure administrators know which change path is expected for each group type.
Evidence of who changed membership
Auditors and incident responders need to know who requested a group change, who approved it, and which process applied it. A membership change made by a synchronization task carries the task's identity rather than a named person, so the trail can be incomplete. Confirm that midPoint audit records capture the request, the approval and the resulting entitlement association, and that the directory's own logs record the account making each write.
Separation of duties for group owners
A person who owns a group and also approves requests for it can grant themselves access. The same risk appears when the administrator who builds role mappings is also the one who approves the resulting memberships. Define owner, requester and approver as different roles for sensitive groups, and check that approval routing excludes the requester. Conflicting combinations should be reviewed in the access certification process before audit.
Questions teams ask before managing group membership with midPoint
What cost and effort drive a group synchronization project?
Effort is driven mostly by how many groups exist, how many applications and directories hold them, and how much of their membership is undocumented. Costs fall into three parts: internal staff time for group owners and change approvers, the fee for any implementation partner against a written scope, and the midPoint subscription if you choose one. The licence itself is open source, so there is no per-user or per-group software fee. Ask a partner to price discovery, mapping, testing and cutover as separate line items, and to state which parts recur, such as ongoing support or reconciliation reviews.
How long does group synchronization take with midPoint?
Duration depends on scope, not on a fixed template. The main variables are the number of groups, the number of target applications, how many groups have clear owners, and whether membership rules exist in writing. Projects usually move faster when one or two directories are in scope and slower when application roles must be redesigned. Ask for a timeline that breaks the work into discovery, first-pass import, owner review, test runs and staged cutover, and confirm which of those steps depend on your people rather than the implementation team.
What does the client team need to provide for this work?
The project needs named group owners who can confirm what each group grants, a change window for each directory or application, and a test directory that mirrors production group structure closely enough to prove behavior. Owners must be available for review because midPoint should not overwrite existing memberships without a decision on who is the source of truth. Confirm with your directory and application teams how they receive changes, whether service accounts and LDAP or Active Directory permissions are ready, and who approves production runs.
Can an internal identity team manage group synchronization on its own?
An experienced internal team can do it, provided it has time, access to every target system and people who understand the applications. The methodology starts with existing groups that often have no source of truth, so the hard work is governance and discovery rather than configuration. Most teams underestimate the owner interviews and test cycles. Before deciding, check whether your team has midPoint operating experience, a lab directory for testing, and capacity to run reconciliation after go-live.
How does midPoint licensing work for this project?
midPoint is open source and Evolveum states that every line of its code is published under open source licenses, with no enterprise edition. The repository is licensed under EUPL-1.2 with Apache 2.0 as a secondary license. Evolveum offers Product Support subscriptions for product bugs with an 8x5 next-business-day or 24x7 SLA, and Platform Subscriptions that add feature development and roadmap influence. Evolveum's support page lists no prices, so request a quote from Evolveum for the subscription level you need and budget separately for implementation services.
What happens to groups that nobody owns?
Ownerless groups should be classified before any membership change. Typical options are to keep the group unmanaged and out of midPoint scope, to import it as read-only for reporting, or to assign an owner through a documented decision by the application or IT leadership. Groups with no owner and no clear purpose are candidates for review and removal, but only after membership is recorded and business impact is checked. Never let automated sync overwrite these groups on the first run. Ask your partner for the classification method and the approval record for each decision.
Should we keep existing group memberships during the first sync?
Yes, in most cases the first run should import and report memberships rather than change them. Existing directory groups often hold access that no one has documented, so removing or rewriting them can break production applications. Run midPoint in simulation or import mode, compare its calculated memberships with what users actually hold, and resolve differences with owners. Only then enable write operations, starting with a small group set and a threshold policy that stops runaway changes.
How DeployOpen scopes and delivers group membership work
DeployOpen is a Chainscore Labs company that plans, implements, integrates and hardens self-hosted open-source platforms inside the client's own infrastructure, including midPoint deployments that manage group membership on directories and applications. For this topic, scoping starts with an inventory of every group source and target: which directories hold the groups, which applications take their access from them, which groups already have members and owners, and which of those groups have no clear source of truth. That inventory decides how much of the Evolveum group synchronization methodology applies, since existing groups on directories often cannot simply be overwritten. Most engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope.
The written scope for group membership work typically names the entitlement objects and associations to be modeled, the application roles that map to groups, the connectors in use and the synchronization runs that will populate them. It should also state what is out of scope, such as groups that stay manually administered, and who signs off on the first reconciliation. Ask for each deliverable to be described in terms your team can test, and confirm with your directory and application owners which group attributes and memberships are authoritative before the scope is signed. DeployOpen does not publish a price list, so cost depends on that written scope. Ongoing support, upgrades and continuous testing after go-live are available as retainers, which keep group mappings maintained as your directories and applications change.

