Handling leavers in OX App Suite with soft-deleted users

Soft-deleted is the state between disabled and deleted in OX App Suite. This page explains what it blocks, what it keeps, how the retention period fits your leaver policy and what to confirm before you rely on it.

On this page

How soft-deleted users in OX App Suite handle leavers

When an employee leaves, the mailbox, calendar, contacts and shared files must be handled in a way that keeps business data available and closes the account. The soft-deleted state in OX App Suite is the step between disabled and fully deleted, and it gives administrators a recoverable holding position while the leaver process runs. Teams want this step because a hard delete is hard to reverse, while a plain disable can leave data and sharing relationships in an unclear state. The soft-deleted state touches several parts of the process at once: whether the user can still sign in, whether the account stays visible in the address book, how shares and files the leaver created or received are treated, how long the account is kept before removal, and whether SCIM deactivation from your identity provider is reflected correctly in OX.

Before you rely on this state, confirm the exact behavior for your running release in the App Suite 8 Operations Guide. Check which login paths are blocked for a soft-deleted user, including OIDC or SAML sign-in and any app passwords or access tokens, since a gap there leaves the account open. Confirm whether the user disappears from global and context address books, whether shared folders and invitations keep working for recipients, and what the configured retention period is and where it is set. Also confirm how a SCIM deactivation maps onto the soft-deleted state and whether restoring the account returns shares intact. Write these answers down per release, because the handling can change between versions and the support lifecycle of the release you run determines when you must re-verify.

Treat the holding period as a documented control, not a convenience. Decide who may move an account into and out of the soft-deleted state, who approves permanent deletion, and what evidence your HR and security teams need at each step. Test the full path in a non-production context with a dummy leaver before the first live case: confirm the login block, the address book result, a restore that keeps a shared folder intact and the retention expiry. If you plan to move a leaver's data to a successor, do that separately with the user copy process rather than relying on the holding state to carry data across.

How a leaver moves through account states

The path starts with an active account and moves through disabled, then soft-deleted, and finally deleted once the retention period ends. Each hand-off can be triggered by an HR or directory event, an administrator action, or a SCIM deactivation request from your identity provider. The points to check in the product documentation are which states block login, which hide the user from the address book, whether shares survive the soft-deleted state, and what ends the retention clock. Treat the labels on this path as items to confirm, not fixed rules.

Account states and the triggers that move a leaver between them, to confirm in the product documentation.

Soft-deleted users versus disabled and deleted accounts

This table compares the disabled, soft-deleted and deleted states of a leaver account across login, address book visibility, recoverability, shares, retention and decision ownership. Cells marked to confirm describe behavior you must check in the OX App Suite release you run before you write a leaver procedure. The main takeaway is that the soft-deleted state only helps if your team has verified what it does to shares and retention.

StateDisabledSoft-deletedDeleted
LoginSign-in blocked. Confirm how existing sessions and tokens end.To confirm: sign-in is blocked and how active sessions are ended.Sign-in ends permanently once the account is removed.
Address book visibilityTo confirm: whether the account stays listed in the global address book.Intended to be hidden from the address book. Confirm in your release.Removed from lookups after removal. Confirm how clients refresh.
RecoverabilityRestorable by re-enabling. Confirm mailbox and settings are untouched.Restore is the purpose of this state. Confirm the exact steps and who can run them.Recovery depends on backups kept outside the account. Plan restore from backup.
SharesTo confirm: whether files shared by the user keep working for recipients.To confirm: whether shares survive intact so restored access works unchanged.Shares the user granted are expected to end. Confirm and record affected files.
Data retentionKept until someone acts. Set a review date for each account.Held for your configured retention period. Confirm the setting and what purges data.Removed at deletion, subject to backups. Confirm backup retention with your team.
Who decidesLine manager or service owner, usually as a temporary measure.HR and IT administrators jointly, under a documented hold policy.Data owner and compliance lead, with written approval recorded.
Best fitTemporary suspension, such as leave or an internal review.Leaver with a hold period for handover or legal hold.Final removal after the hold period ends and records are exported.

What a soft-deleted account keeps and loses

A soft-deleted account is neither active nor gone, and each part of it behaves differently. The cards cover what the leaver can no longer reach, what colleagues still see, and what stays recoverable until the retention period ends. Run each check in a test context before you depend on the state for an actual leaver.

Blocked logins

A soft-deleted account should no longer sign in through any path the admin controls, including the web client, mobile devices and any single sign-on flow that passes through OX App Suite. Confirm this with the identity provider as well, because a session or token issued before the change can outlive the account state if your setup does not revoke it. Test a sign-in from a fresh browser and from a device that already holds a session, and record what happens to each.

OIDC docs

Hiding from the address book

The soft-deleted user should disappear from global and shared address book lookups, so colleagues cannot select the account when they address mail or invite it to an appointment. Check whether the entry is hidden everywhere or only in some lookup views, and whether an external sync client keeps a cached copy until its next refresh. Search for the leaver's name from three user accounts in the test context and note which lists still return it.

The retention clock

The soft-deleted state is where the retention period starts, so the date on which the account can be permanently removed determines how long its mail, files and calendar data stay recoverable. Ask Open-Xchange which timer applies in your release, what triggers it, and whether a single account can be held longer for legal or HR reasons. Write the exact retention end date into the leaver's change record before anyone relies on restoring the account.

Restoring shares intact

Restoring a leaver is only useful if the folders, files and calendars they shared before the change still work afterwards. Test that a share granted to a colleague survives a soft delete and a restore, and that the recipient does not see a broken link or a duplicated item. Restore the test account and open each shared item from the recipient side, then compare permission levels against the original grant.

Mail and calendar data

Mailboxes, calendar entries and contacts usually stay in storage while the account is soft-deleted, but the IMAP and Sieve services behind OX App Suite may treat the mailbox differently from the directory state. Confirm whether incoming mail is still delivered, bounced or forwarded, and whether mail rules and auto-replies still run. Send a test message to the soft-deleted address and check where it lands and what the sender receives.

What others see in shares

Colleagues who had a shared calendar or folder from the leaver may see an error or an empty entry instead of the content they expect. Decide before the change who takes over ownership of shared items and whether those shares should move to someone else. Check what a recipient sees when they open a shared item, and whether appointments the leaver created still appear in the recipient's own calendar. Ask a recipient to open and edit a shared item from their own login during the test.

How the retention period shapes your leaver policy

The length of the retention period in the soft-deleted state is a policy decision, not a default to accept at go-live. Set the period in writing before the first leaver is processed, because it determines how long a departed employee's mailbox, calendar, contacts and shared files remain recoverable, and every other leaver step depends on that window. HR owns the offboarding timeline, legal or compliance owns any hold obligations (litigation holds, regulatory record-keeping, or investigations that must pause deletion), and IT owns the configuration and the evidence that it was applied. These three functions need to agree on one number and one exception process.

Before go-live, ask the vendor or your Open-Xchange contact to confirm in writing where the retention period is configured, which configuration key or admin setting controls it, what the value is in your target release, and whether that value is the default or was changed. Ask what happens when the period ends: whether the account moves to deleted automatically, whether a scheduled job runs and where its logs appear, whether files and attachments are removed at the same time, and whether any step can be reversed. Do not rely on a release note paraphrase for these answers. Confirm them against the documentation for your exact version, and record the answers in the leaver policy.

Plan for the cases where the standard period does not fit. A hold that starts after an account is disabled must be able to extend or pause the timer, and someone must be authorized to place and lift it. Shares that other people depend on need a handover decision made before the retention window closes, so that restoring a user later does not discover that a shared folder was reassigned or removed. Test the full path once in a non-production context: disable, wait through the configured period in a compressed or staged way if your environment allows it, restore, and confirm that shares and mail arrived intact.

Setting up soft-deleted users in OX App Suite

This sequence turns the soft-deleted state into a tested leaver control: a confirmed release, a written retention policy, verified login blocking, address book hiding, intact shares after restore, and a runbook your team can repeat. Each step ends with evidence you can file for audit and review.

  1. Confirm the release and its documentation

    Identify the OX App Suite v8 release your environment runs and check that the matching requirements and operations documentation covers the soft-deleted user behavior you plan to use. Confirm the release's support status against the Open-Xchange support commitment, since a standard release is supported for a limited window and an LTS release has its own end point. Check the current LTS and newest listed release before you commit to a configuration. Done when the release number, its support end date as stated by Open-Xchange, and the documentation version you followed are written down in the test plan. Record these as evidence: the release identifier, the documentation URL or version, and a screenshot or export of the support page you checked.

  2. Define the leaver policy and retention owner

    Agree with HR, legal and the mailbox owner group what happens to a leaver's account, who decides when the soft-deleted period ends, and who may request a restore. Name one accountable retention owner and a backup. Write down which data classes are covered (mail, calendar, contacts, Drive files, shares) and whether any legal hold overrides the normal period. Retention length must come from your own policy and regulatory obligations, not from this page. Done when the policy is signed by the owners and states the trigger, the retention owner, the restore approval path and the final deletion approver. Record as evidence: the signed policy, the approval list and the date of sign-off.

  3. Configure the soft-deleted state and retention in a test environment

    In a non-production OX App Suite instance, configure the soft-deleted state and its retention period using the settings documented for your release. Confirm the exact configuration keys and admin tooling in the operations guide, because names and defaults differ between releases and should not be copied from memory. Apply the retention value from your written policy. Restart or reload only as the documentation requires and record each change. Done when the test tenant reports the user in the soft-deleted state after you disable a test account, and the retention value matches the policy. Record as evidence: the configuration diff, the admin command output or screenshot, and the change log entry with the reviewer name.

  4. Confirm login blocking with a test account

    Create a test user with a mailbox, a calendar entry and at least one file in Drive, then move it into the soft-deleted state. Attempt a login through every access path in use: the web interface, mobile sync, and any single sign-on route you run through OpenID Connect or SAML. Each attempt must fail and the failure must not expose account details beyond what your policy allows. If the identity provider keeps the account active, confirm where the block is enforced and whether existing sessions end. Done when every tested path is refused for the soft-deleted account. Record as evidence: the test matrix with each path, the time of the attempt, the result and any session behavior you observed.

  5. Confirm address book hiding for other users

    From a second test account in the same context, search the global address book and any shared directories for the soft-deleted user's name and email address. Confirm the leaver no longer appears in autocomplete or the address book search results, and that existing messages from that person still display their name in the mail client. Repeat the check from a second context if you use more than one. Done when the leaver is hidden for ordinary users and remains visible only where your policy allows, such as to administrators. Record as evidence: the search queries used, the accounts that performed them, and screenshots showing the leaver absent from results.

  6. Confirm shares remain intact after restore

    Before restoring, list the test user's shared Drive folders, shared calendars and shared address books, and note who has access through each. Restore the account from the soft-deleted state according to the documented procedure. Then check that each share still exists, that recipients keep the same permission level, and that files and calendar items are present and unchanged. Verify that a recipient can open a shared file without requesting access again. Done when every share from the baseline list returns with the same permissions. Record as evidence: the before and after share inventory, the recipient test results and the restore record with the operator name.

  7. Confirm SCIM deactivation matches the soft-deleted state

    If your identity provider sends provisioning requests with SCIM, deactivate the test user in the identity provider and confirm the request reaches OX App Suite and produces the intended soft-deleted state rather than a hard deletion. Repeat the check for reactivation. Confirm which attributes the provider sends and what happens if a later update arrives out of order. Check the provisioning logs on both sides. Done when a deactivation in the identity provider leads to the soft-deleted state in OX App Suite and reactivation restores login. Record as evidence: the provisioning event IDs, the log excerpts from both systems, and the test date.

  8. Document the runbook and schedule the review

    Write the runbook using the results from the earlier steps. Include the leaver trigger, the exact configuration references, the retention value and its owner, the restore procedure, the final deletion procedure and the evidence each step produces. Add a review date owned by the retention owner and a rule that any release upgrade repeats steps two through seven in test before production. Store the runbook and evidence in a location your compliance team can access. Done when the runbook has been reviewed by the operations lead and the retention owner, and a dry run by someone who did not write it succeeds. Record as evidence: the approved runbook version, the reviewer sign-offs and the dry-run record.

SCIM deactivation or manual admin action: choose by who triggers the leaver

In this model, the authoritative source of employment status (an HR system or identity provider) sends a deactivation request to OX App Suite over SCIM when someone leaves. The soft-deleted state then blocks sign-in and hides the account from the address book without an administrator touching the account. This keeps timing tied to the source record and removes manual steps from the leaver process, but it only works if the release you run supports the SCIM operations you need and the sync is monitored.

  • Trigger: A status change in the source system, which the provisioning connector turns into a SCIM request.
  • Audit trail: The source system logs the decision and the connector logs each request, so the two logs must be correlated by user identifier.
  • Failure mode: If the sync fails silently, the leaver keeps working access until someone notices, so alerting on failed requests is essential.
  • Mapping risk: A wrong or missing identifier can deactivate the wrong account or none at all, so test with a non-production user first.
  • Recovery: Re-running a failed request must be idempotent, and restoring a wrongly deactivated user must be tested as well.

Before you rely on this model, confirm with Open-Xchange which SCIM operations and attributes your release supports for deactivation and restoration, and how the soft-deleted state is represented to the connector.

Security risks in leaver handling

A leaver account can stay exposed in four places: the login path, the data it has shared, the retention window and the provisioning feed from the identity system. Each card names the control to set and the evidence a security team or auditor should ask for, so the soft-deleted state is verified rather than assumed.

Login survives through tokens or sessions

A soft-deleted user can be blocked at the directory, but an existing session cookie, access token or refresh token may still be valid until it expires. Check that the disabled state takes effect for active sessions and that tokens issued through the OpenID Connect login path are revoked or expire quickly. Test with a real leaver account in a staging context: sign in, disable the user, then confirm the old session is rejected. Evidence to request: the test record with timestamps and the identity provider's session and token settings.

OIDC login docs

Shares still expose leaver data

Files, folders and calendars shared by a leaver may remain reachable through links or grants even after the account is soft-deleted. Inventory the leaver's shares before the state change, decide which ones move to a successor, and confirm that restored shares keep their permissions intact. Review public links separately, since they often outlive the account. Evidence to request: a share inventory for each leaver and a before and after listing showing where each share now points.

Retention outlives the policy

Soft-deleted data is kept for a retention period, and that period can run longer than the written leaver policy allows. Confirm the retention value in your deployment, record who approved it, and set a dated purge or review task for each leaver. Retention must also cover backups, which may hold copies after the live data is removed. Evidence to request: the configured retention setting, the approved policy text and the purge log showing when data was removed.

Failed SCIM deactivation goes unnoticed

When deactivation is driven by SCIM from the HR or identity system, a failed request can leave the account active with no alert. Monitor provisioning results, alert on any failed or retried deactivation, and reconcile the directory against the HR leaver list on a fixed schedule. Treat a leaver still active after the agreed window as an incident. Evidence to request: provisioning error logs, the reconciliation report and the alert rule that fires on a failed request.

Admin actions leave no audit record

Changes to a user's state, shares and retention are made by administrators, and each change needs a traceable record of who made it and when. Confirm that the middleware writes these actions to logs that are shipped off the cluster, and that the log retention is longer than the investigation window. Restrict who holds the administrative role. Evidence to request: a sample log entry for a state change, the log shipping configuration and the list of accounts with administrative rights.

What to confirm before you rely on the soft-deleted state

Before your leaver process depends on the soft-deleted state, confirm how it behaves in the exact OX App Suite release you run. The soft-deleted state sits between disabled and deleted, so the behavior you rely on (blocked logins, hidden address book entries, shares that stay intact) must be verified in your own version rather than assumed from this guide. Check the release against the Open-Xchange Support Commitment, since standard releases are supported for a limited window and the release you plan to run may already be near end of support. Ask Open-Xchange support or your account contact to confirm the state transitions for your release, in writing.

Confirm whether the retention period is configurable, which configuration files or admin tools control it, and what the default is. Ask who sets the value (your operations team, a support ticket, or a managed service agreement) and what happens to data when the period ends. Also confirm how restore works for a soft-deleted user: whether shared folders, Drive files, and calendar invitations sent by or to that user are reattached unchanged, and what happens to invitations and shares created while the account was in the soft-deleted state. Test these cases with a dummy user in a non-production context before you write them into an offboarding runbook.

Confirm whether SCIM deactivation in your identity setup maps to the soft-deleted state or to a plain disabled state, and whether the mapping differs for Keycloak, SAML-backed logins, or LDAP address books. A deprovisioning call that disables an account in the identity provider may not produce the same result inside OX App Suite. Finally, confirm any license or module terms that apply to the features you depend on, since the Operations Guide notes that some modules may be subject to custom packaging, limitations, or separate fees set in the license agreement. Record each answer, the release it applies to, and the date you verified it.

Questions about soft-deleted leavers in OX App Suite

What does it cost to set up soft-deleted leaver handling in OX App Suite?

Cost depends mostly on how many identity sources feed the leaver process, how much custom SCIM work is needed, and how far the retention and legal requirements reach. A single directory with a standard deprovisioning event is a much smaller job than several HR systems, contractor lists and external address books that each signal a leaver differently. Plan for a one-time design and build cost, then a smaller recurring cost for changes to retention rules, connector updates and periodic testing. Ask any provider for a written scope that lists each identity source, each state transition (disabled, soft-deleted, deleted), the retention rule owner and the test cases, because a quote is only comparable when those items are named.

How long does leaver setup and testing usually take?

Duration follows the work involved rather than a fixed number. The main drivers are the number of identity sources, whether SCIM deactivation must be built or only configured, how many retention policies your legal or HR teams must confirm, and how much testing you require before go-live. Setup is usually the shorter part. Testing takes longer when restore scenarios, shared files and external sharing links must come back intact, and when each identity source needs its own test accounts. Confirm the timeline with your own environment in mind, and ask for the testing scope to be listed as separate phases in the plan.

What must our internal team provide before the work starts?

Your team provides the inputs that only your organization owns. These usually include:

  • HR events that signal joiners, movers and leavers, with a clear definition of the leaver date
  • A named policy owner who decides how long soft-deleted accounts are kept and when they become deleted
  • Test accounts in each identity source, including one leaver with shared folders and external shares
  • Administrator access to the OX App Suite admin console and to the identity provider used for SCIM or SSO

Without these, the build will rest on assumptions that are hard to change later. Agree on who signs off each input at the start.

Can our internal team handle soft-deleted leavers without an outside partner?

Often yes, if your team already runs the identity provider, understands OX App Suite administration and has time to test. The work is mostly configuration and verification rather than new software. The risk lies in edge cases: restoring a leaver whose files are shared, confirming that a soft-deleted user disappears from the address book without breaking other contexts, and keeping SCIM deactivation consistent with the directory. If those skills or test hours are missing, an outside team can design the states, build the connectors and run the test plan. Decide early whether you want knowledge transfer, so your staff can maintain the setup afterwards.

What does a fixed-scope quote for leaver handling cover?

A fixed-scope quote covers the work written into the agreed scope before anything starts. For soft-deleted leavers, that normally means the state model, the list of identity sources and events, the SCIM deactivation design, the retention rule as documented by your policy owner, test cases for login blocking, address book visibility, retention expiry and restoring shares, and the handover documents. It should also name what is excluded, such as changes to HR systems or work on other identity providers. Ask for deliverables and acceptance criteria in writing. DeployOpen plans and implements fixed-scope engagements, and the quote follows from that written scope rather than a published price list.

Does restoring a leaver require an outside partner?

No. Restoring a soft-deleted user is an administrative action that your own administrators can perform while the account remains in the retention period. What needs preparation is the process around it: a documented request path, a rule for who may approve a restore, and a check that shared folders and external links come back as expected. Test that flow once before you rely on it. An outside partner is useful when the restore process was never tested, when the account has already moved past the retention window, or when the team needs help writing the runbook.

How DeployOpen scopes and supports leaver handling

DeployOpen plans, implements, documents and supports self-hosted OX App Suite inside your own infrastructure, so leaver handling is set up as part of the platform rather than as an afterthought. The work covers the soft-deleted state, login blocking, address book visibility, the retention period and SCIM deactivation, all agreed in writing before build starts.

How we scope

  • The written scope lists which leaver states your organization uses, and which of them map to disabled, soft-deleted and deleted accounts.
  • Scope records how your identity provider's deactivation signals reach OX App Suite and which accounts they affect.
  • Scope names the retention period owner, the restore approval path and the systems that must stay in step with each leaver decision.

How we build

  • We configure the soft-deleted state, blocked logins and address book hiding on your OX App Suite environment in a non-production setup first.
  • We test that restored users keep their shares intact, and that shares to leavers behave as the written scope describes.
  • We set up SCIM deactivation against your identity provider and confirm the sync results match the leaver process in the scope.

How we hand over

  • You receive a runbook covering each leaver state, the steps for moving a user into and out of it, and the checks that confirm each step.
  • Documentation records the retention settings, who can restore accounts, and where audit evidence of leaver actions is kept.
  • A handover session walks your administrators through the runbook and the test cases used to verify the configuration.

How we support

  • Engagements are fixed-scope, so changes to leaver rules are handled through a written change to the agreed scope.
  • Ongoing support, upgrades and retesting after OX App Suite release updates are available as a retainer.
  • Before you rely on the setup for a compliance review, confirm with your auditor which evidence they expect, and we prepare that evidence from the configured system.

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.