How midPoint deprovisioning and account deactivation work for leavers
When a leaver's access must end on a known date, the question an auditor will ask is simple: what removed the access, and when? In midPoint, the answer comes from projection consistency. An account on a connected system is only kept if an assignment in midPoint justifies it. When the assignment is removed, or the person's lifecycle changes so that the assignment no longer applies, midPoint deprovisions the account by either deleting it or deactivating it, as the resource configuration directs. Teams need this capability when they have more than a handful of target systems, when leavers are numerous enough that manual removal misses cases, or when an audit requires a dated record of removal rather than a ticket someone closed by hand.
The activation schema supports validity time constraints, so an assignment or account can carry a valid-from and valid-to date. This lets you schedule an end date in advance, for example for a contractor whose term is fixed, and lets midPoint remove access on that date without a manual step. Confirm in your own environment how validity dates are set on your assignments and whether your target connectors honor the deactivation state they receive. Verify this on a test resource before you rely on it, because the behavior of the far end of the connector decides whether an account is actually disabled.
Projection consistency does not decide on its own that a person has left. It acts on the assignments it is given, so it depends on HR data quality: a late termination record, a missing end date or a wrong employment status produces late or wrong deprovisioning. It also depends on connector behavior, including whether a target system supports disabling, how it treats group memberships and whether deletion is reversible. Plan to test each resource's deactivation and deletion path, to decide which accounts must be archived instead of deleted, and to confirm with your auditors which timestamps and logs they will accept as evidence. The Evolveum current features page is the reference for the capabilities described here.
How a leaver's HR change reaches target accounts
The flow starts when HR records an end date for a worker and midPoint picks up that change through its HR source. midPoint then removes the assignments that justified the worker's access, and projection evaluation decides, per resource, whether each account is deactivated or deleted. Each resource's behavior is set in its own configuration, so check that every target system is configured for the outcome you expect. The audit record of each step is the evidence you will later need to show that access was removed on time.
Leaver change path from HR source through projection to target accounts and audit.
Deactivation, deletion, validity dates and archiving compared
This table compares the four ways midPoint can remove or disable a leaver's access: deactivation, deletion, validity-based disabling and archiving. Read each row as a trade-off between reversibility, impact on the target system and the audit trail you keep. The main takeaway is that projection policy, not the leaver process alone, decides which option runs for each account.
| Option | Reversibility and target impact | Audit trade-off and when it fits |
|---|---|---|
| Deactivation (disable account) | Account stays on the target system and can be re-enabled. Group memberships and mail data usually remain in place. | Keeps the account for evidence and rehire. Fits directories and applications where disabling blocks sign-in without losing mailboxes or records. |
| Deletion (remove account) | Account and its target-side data are removed. Recovery depends on the target system's own backup or retention. | Leaves less standing access but weakens the trail in midPoint unless history is kept. Fits systems with no sign-in risk and clear data retention rules. |
| Validity-based disabling | midPoint sets validity dates on the identity or assignment so access ends on a set date, then the target account is disabled. | Lets you schedule end dates for contractors or fixed-term staff ahead of time. Confirm how your midPoint version applies expired validity to each resource. |
| Archiving the identity | The midPoint user record is retained as a historical object while live access is removed. The record is not an active person. | Preserves who had which access and when, which supports access reviews. Fits leavers whose records must be kept for investigations or retention rules. |
| Projection policy selection | Projection policy decides whether an unassigned account is deleted, disabled or kept. Set it per resource and check it in simulation before enforcement. | Makes the outcome repeatable across joiners and leavers. Confirm the policy on each resource, since a wrong setting can delete accounts that should only be disabled. |
| Fit by target system | Directories and sign-on systems usually suit disabling. Applications with personal data may need deletion or anonymization under their own retention rules. | Ask each system owner which option their support process expects, and record the answer in the design before rollout. |
How to set up leaver deprovisioning in midPoint
This sequence turns an HR end date into a controlled removal of access in midPoint, with each resource's projection behavior set deliberately and every change confirmed on the target system and in the audit trail. It produces a leaver process you can demonstrate to auditors and repeat safely when HR data changes.
Confirm the HR end-date attribute and its source
Identify which HR attribute carries the employment end date, which system owns it, and how often midPoint receives it through import or live synchronization. Agree with HR who is accountable for entering the date and what happens when a date is corrected or removed. Done when you can name the source system, the attribute, the synchronization schedule, and the person who owns data quality for that field, and when a test record with a known end date reaches midPoint with the value intact.
Define the leaver lifecycle state
Decide which lifecycle state midPoint assigns when an identity reaches or passes its end date, and which states come before it (for example, active, on leave, and leaver). Write down what each state means for access, who may move a user between states, and whether a leaver can be reinstated. The check is a short table your team signs off, with each state mapped to the policy that will enforce it. Verify by setting a test user to the leaver state in a non-production environment and confirming the state label appears on the user object in the interface.
Set projection policy per resource
For each target resource, set the projection policy that governs how midPoint treats accounts that have no assignment justifying them. Choose whether those accounts should be deleted or deactivated, and record the reason per system, since applications differ in how they handle disabled accounts and archived records. Confirm the policy on the resource definition and check that the choice matches your retention rules and the system owner's expectations. Done when every in-scope resource has a documented policy and an owner has accepted it in writing.
Configure validity dates and deactivation behavior
Set validity time constraints on the assignments and activation settings that should end at the leaver date, so access stops on the date the record says it should. Define how midPoint deactivates the identity and its accounts, and which attributes change, such as administrative status or validity flags. Test the setting with a leaver whose end date is in the past and one whose date is in the future to confirm access ends only when it should. Done when both test cases produce the expected activation status on the midPoint user and on the connected account.
Test the change with simulation on a non-production resource
Run the leaver logic against a non-production copy or test resource first, using simulation so that you can see planned changes before any target system is modified. Review each projected change, including deactivations, deletions, and any account that midPoint would remove unexpectedly. Confirm that the results match the approved lifecycle and projection decisions. Done when the simulation report contains only the changes you expect, and any surprise has been traced to a rule and corrected.
Verify target account state
Check the target system directly rather than relying on midPoint's view. For each test leaver, confirm the account is disabled or removed as designed, group memberships and entitlements are handled as agreed, and the account cannot sign in. Record the evidence with timestamps. Done when the target system shows the expected state for every test case, including a leaver whose end date was corrected after the first run.
Verify audit entries and retention of evidence
Confirm that midPoint records each leaver change in its audit log with the actor or task, the time, and the resulting state, and that the audit data is retained according to your policy. Export a sample of these entries and check that a reviewer could reconstruct when access was removed and why. Confirm with your compliance lead which records must be kept and where they are stored, and which items you should confirm with your auditor. Done when a reviewer can trace one leaver from the HR change to the target system change using only the midPoint audit trail and the connected system's records.
Why projection policy decides whether a leaver's account is actually removed
Under projection consistency, an account survives only while something in midPoint justifies it. The topic's researched facts state that midPoint enforces projection consistency, so an account with no assignment justifying it is deprovisioned by deletion or deactivation. That means a leaver's removal depends less on the HR record itself and more on whether the assignments that produced the account are removed, end-dated or left in place. Before go-live, confirm for each resource in the target environment which projection behavior applies (deletion, deactivation or retention) and whether the resource's projection policy is set to enforce consistency at all. Those settings are the first thing to check when a leaver's account is still active after the HR end date.
Removing an assignment and changing a person's lifecycle state are different events, and midPoint treats them differently. Removing an assignment triggers recalculation of the projections that depended on it. A lifecycle change, such as moving the user to a disabled or archived state, affects the user object and may or may not propagate to every projection, depending on the mappings and the resource configuration. Confirm with a test identity whether a lifecycle transition on the user removes access on each target system, or whether the access only disappears when the assignments are removed. Keeping both paths in the leaver design avoids a gap where one signal is missing.
Validity time constraints on assignments and the activation schema interact with the source end date, and they are not the same control. An assignment with a validity end date stops justifying the account on that date even if the HR feed has not yet been processed, and the activation schema can carry validity fields that govern when the user and projection are active. If the HR end date is delayed or wrong, the validity dates may fire earlier or later than expected. Decide which system sets the end date, test a past-dated and a future-dated leaver in a non-production environment, and record which validity date the projection actually follows.
Security and operational risks in leaver automation
Leaver automation removes access at scale, so a single bad input or misconfigured task can remove the wrong access or leave live accounts behind. The cards below pair each main risk with the control that limits it and the check to run before a leaver rule reaches production.
Wrongful deletion from a bad HR feed
If the HR extract drops records or marks active staff as leavers, a leaver rule can disable or delete accounts for people who still work there. Use projection-driven deactivation first so accounts are disabled, not removed, and keep deletion for a later, reviewed step. Set a threshold on each synchronization task so a sudden spike in leavers stops the run before target systems change. Check the feed's record counts against the previous run before each cycle.
Simulate leaver changes before enforcement
Before a leaver rule goes live, run it in simulation mode against a copy of the expected population and review every account it would change. Compare the list with HR's leaver report for the same period. Simulation shows which assignments would be removed and which projections would be deactivated, which catches mapping mistakes that a rule review on paper misses. Repeat the simulation after each change to the object template or the validity settings.
Orphaned accounts on unconnected systems
Applications without a ConnId connector cannot receive deactivation from midPoint, so a leaver's account on those systems stays active. List every target system that holds identities and mark which ones midPoint reaches through a connector, a manual resource or nothing at all. For the gap, assign an owner to each system and a manual deprovisioning step with evidence. Run reconciliation against connected systems to find accounts that no active identity owns.
Shared and service accounts
Shared mailboxes, team logins and service accounts have no single person whose HR status should end their access, so a standard leaver rule can miss them or break them. Give each one a named owner and a documented lifecycle, and exclude them from the employee leaver rule explicitly. Review ownership when an owner leaves, because the account then needs a new owner or a planned retirement. Confirm with each system owner how credentials are rotated after an owner change.
Privileged access to the midPoint instance
Anyone who can edit leaver rules, run tasks or change the repository can alter access for the whole organization. Limit administrator roles to the people who operate the rules, require separate accounts for administration, and log every change to rules and tasks. Review the administrator population on a schedule and remove access for people who change roles. Confirm the authorization model and MFA options against the current midPoint security hardening guidance before go-live.
Reconciliation to prove removal happened
Live synchronization can miss events, so a leaver can keep access even when the rule ran correctly on its own trigger. Schedule reconciliation tasks that compare the identity store with each connected system, and treat any account that remains active for an inactive identity as a finding. Keep the reconciliation reports as evidence that removals happened on time. Agree the reconciliation frequency with the owners of the systems it reads, because each run adds load to both sides.
Questions buyers ask about leaver deprovisioning in midPoint
What drives the cost of setting up leaver deprovisioning in midPoint?
The main cost drivers are the number of target systems that must lose access when someone leaves, how much of each system is covered by a connector, the quality of HR data, and the testing and audit evidence you need. Each target system adds mapping, connector configuration, and a test cycle for disable and delete behavior. Connector coverage matters because a supported connector such as LDAP, Active Directory or Microsoft Entra ID (Graph API) is less work than a community or experimental connector or a custom script. Poor HR data, such as missing termination dates or inconsistent employee identifiers, adds analysis and cleanup before any automation can be trusted. Ask any partner to split the quote into one-time build work and recurring support, and to itemize each target system separately.
How long does a midPoint leaver deprovisioning rollout take?
Duration depends mainly on scope: how many systems are in the first iteration, whether HR termination data is already reliable, and how many approvals and test cycles your change process requires. A rollout that starts with one authoritative HR source and a small set of directory and application targets is usually planned as an iteration, with further systems added after each one is verified. Ask for a timeline tied to named milestones in the written scope, including the test environment readiness date, the date system owners sign off on disable behavior, and the date production switch-over is planned. midPoint release planning also affects the schedule, so confirm which release line your organization will run before the plan is fixed.
What does our team need to provide for a deprovisioning project?
The work depends on four inputs from your side. First, read access to the HR feed or export that records terminations, along with a clear definition of which field marks a leaver and when the change takes effect. Second, a named owner for each target system who can confirm how accounts should be disabled, archived or deleted, and who can approve the rules. Third, test environments or sandboxes for each target system, so that deactivation can be proven without touching live accounts. Fourth, a decision maker who signs off on retention periods and on what evidence of removal must be kept. Missing any of these usually extends the timeline more than the technical build.
Can an internal identity team deploy leaver deprovisioning without outside help?
Yes, an internal team with Java, PostgreSQL and directory administration skills can build it, and Evolveum publishes midPoint as open source with no enterprise edition, so the software itself carries no license fee. The harder part is the operating knowledge: connector configuration for each target system, the distinction between deactivation and deletion in each system, safe handling of validity dates, and testing that proves access was removed on time. Many teams bring in a partner for the first iteration and then take over operations. Evolveum also sells support subscriptions and professional services, and DeployOpen can provide the implementation work in your own infrastructure. Compare the cost of building that skill internally with a quoted scope.
Which midPoint release should we plan leaver automation on?
Choose the release line from the support dates, not only from the newest feature list. According to the midPoint releases page, midPoint 4.8 (Curie) is a long-term support release supported until 17 October 2028, midPoint 4.10 (Braille) is a feature release supported until 26 November 2027, and midPoint 4.9 support ends 18 October 2026. midPoint 4.11 (Čapek) is planned as a feature release for 21 October 2026. Confirm the support status with Evolveum before you commit, because feature releases have shorter support windows and will need upgrades. Also check the Java version each release requires, since midPoint recommends Java 25 for 4.11 and later and Java 21 for 4.10 and older.
How do we prove to auditors that leavers lost access on time?
You need recorded evidence for each leaver: the time the HR change was received, the time midPoint processed it, what it changed on each target system, and whether the change completed. midPoint enforces projection consistency, so an account with no assignment that justifies it is deprovisioned by deletion or deactivation, and its activation schema supports validity time constraints. Those features give you a consistent mechanism, but auditors will look for the evidence trail, the documented rules, and periodic checks that accounts were not missed. Ask a partner which logs, reports and reconciliation results will be produced, and confirm with your auditor which control evidence they expect. DeployOpen prepares the systems, controls and evidence for compliance assessments, but independent auditors issue any audit opinion.
What are the main risks of automated account deactivation for leavers?
The main risks are disabling the wrong account, deleting data that must be retained, and leaving access in systems midPoint cannot reach. Wrong matches usually come from weak correlation between HR records and accounts, so shared or service accounts need explicit handling. Deletion is hard to reverse, so many organizations deactivate first, archive identity data for a defined period, and delete later under a documented rule. Systems without a connector need a manual or ticketed step, which must be tracked to completion. Ask for a written list of each target system with its disable method, its retention rule and its fallback process before any production change is made.
How should we test leaver deprovisioning before it goes live?
Test each target system separately in a non-production environment, using a sample of leaver records that covers normal exits, early terminations, rehires and accounts with multiple affiliations. Verify that deactivation removes sign-in and group membership, that validity dates take effect at the planned time, and that archived identities keep only the data your retention rule allows. Run reconciliation after the test to confirm that no active account remains without a justifying assignment. Record results with timestamps so they can serve as change evidence. Ask any partner to describe its test plan, the environments required from your side, and the criteria for moving each system to production.
Proving access was removed on time to an auditor
An auditor reviewing leaver controls will usually ask for four things: the date the person's employment ended in the HR system, proof that midPoint acted on that date, the state of each target account after the run, and a list of the people whose access was not removed on time and why. Treat the HR end date as the starting point of the evidence chain, because every later record is only meaningful if it can be traced back to the authoritative source event. Confirm which HR attribute drives the validity end date in your design, how the leaver event reaches midPoint, and whether the timestamp in HR is the effective date or the date the record was entered.
The midPoint audit trail shows what changed and when. Ask your team to confirm that audit logging captures assignment removals, activation changes and the projection decisions that followed, and that the audit database is retained for the period your policy requires. The projection state on each user shows whether an account is still linked to an assignment, and the validity fields on assignments and the activation schema show when access was scheduled to end. Test this with a non-production leaver before you rely on it: an auditor will compare the audit entries with the target system, and any gap between the two will need an explanation.
Target-system state is the evidence that access was actually removed. Export the account status from each connected system after a leaver run, including disabled flags, group memberships and any entitlements that were not revoked, and keep that export with the midPoint records for the same run. Reports on exceptions close the loop: accounts that failed to deprovision, leavers without an end date, and accounts with no owner should appear in a standing report that someone reviews and signs off. DeployOpen can design these controls and assemble the evidence, but the assessment itself is issued by an independent auditor or certification body, so agree the evidence format with your auditor before the build starts.
How DeployOpen scopes and delivers midPoint leaver automation
DeployOpen plans, implements, hardens, documents and supports midPoint inside your own infrastructure, including the leaver path from HR termination to account deactivation and archiving. Engagements start with a written scope that defines which systems, validity rules and evidence are in and out, so your identity and security teams know exactly what they receive.
How we scope
- Inventory the HR source fields that signal a leaver, including termination dates, status changes and rehire cases.
- Map every target system that holds accounts for leavers and record whether each uses disable, delete or retain.
- Agree in writing which validity dates, projection policies and archiving rules apply to each leaver category.
- Define the evidence your auditors need, such as timestamps of deactivation and the reasons recorded for each removal.
How we build
- Configure midPoint so that accounts lacking a justifying assignment are removed or deactivated under your projection policy.
- Set validity time constraints on assignments and accounts so access ends on the agreed date without manual steps.
- Test leaver scenarios in a non-production environment, including delayed HR updates, rehires and accounts with multiple owners.
- Document each rule, its owner and its test cases so changes to leaver handling go through review.
How we hand over
- Deliver the configuration, connector settings and runbooks as written artifacts inside your environment.
- Provide a findings and test report that shows which leaver cases passed, failed or need your decision.
- Walk your operations and identity teams through monitoring of leaver tasks and how to respond to a stopped run.
- Confirm the access evidence produced for leavers matches what your compliance team asked for in the scope.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, midPoint upgrades and continuous testing of leaver flows are available as a retainer.
- Retainer scope covers reviewing changes to HR feeds, connectors and projection rules before they reach production.
- Confirm with DeployOpen the exact response, upgrade and testing commitments in your written agreement.

