Provisioning OX App Suite contexts and users over SOAP or the HTTP gateway: when each interface fits
A platform team creating contexts and users at scale should choose the provisioning interface by workload: the SOAP interface and the JSON provisioning gateway suit scripted, repeatable bulk work, while SCIM fits when an identity provider should own the user lifecycle. OX App Suite v8 is designed to run on Kubernetes and is delivered as Helm charts that reference container images, with Helm 3.17.0 or newer required, so the provisioning tooling you build sits outside the cluster and calls the platform over its management interfaces. Provisioning work is needed at three points: the initial load of contexts and users when a hosting provider, enterprise or sovereign deployment goes live, bulk creation during migrations or onboarding waves, and ongoing changes such as new users, moves between contexts and departures.
Before you commit to an interface, confirm its availability and behavior against the exact v8 release you will run. The requirements and operations documentation describe the platform, but the provisioning surfaces and their method names should be checked in the release notes and interface documentation for your version, since a release in use may differ from the one your team reads about. Ask Open-Xchange and your implementation partner which interfaces are enabled in your packaging, because the license agreement can set custom packaging or separate fees for some features. Also confirm the authentication each interface requires for the provisioning account, how credentials are stored in your deployment, and whether the calls are logged in a form your audit team can review.
The choice usually comes down to who drives changes. If a scheduled job or a migration runner loads a known population and then runs infrequent changes, a scripted client over SOAP or the gateway keeps control in your own pipeline, with idempotent runs and a dry-run mode you test against a lab context before production. If an identity provider already holds joiners, movers and leavers, a single source of truth is safer than two systems writing the same users, so plan for SCIM to own the lifecycle and keep the scripted interfaces for one-time loads and exceptions. Agree in writing which system is authoritative for each attribute, because conflicting writes are the most common source of drift in these setups.
Which provisioning interface suits which team
Operators who create a small set of contexts or a large batch of users at a fixed point, such as a migration wave or a new customer tenant, care most about repeatability and a clear record of what changed. Command-line tools are often the first option to check, because they run where administrators already work. Confirm which provisioning tools ship with your release, which middleware node they must run on, and whether they can reach the platform remotely.
- Tool availability: Confirm which provisioning commands your v8 installation includes and whether they need local shell access to a middleware node.
- Admin rights: Confirm which administrator account the tool uses and whether its rights match your separation of duties.
- Input files: Prepare a reviewed file with names, mail domains and quotas, and test it against a non-production context first.
- Change records: Keep the command, input file and output with the approval ticket, and confirm what the platform logs on its own.
- Rollback: Confirm how a failed batch can be reversed before you run it at scale.
Check the installation notes for your exact release before writing an operator runbook, because the supported tool set can change between versions.
Engineers who call provisioning from an HR export, a ticketing workflow or an internal portal need a stable interface with predictable errors. The choice between the SOAP interface and the JSON provisioning gateway should follow from which one your release exposes, how it authenticates and which admin rights each call requires. Treat these as open questions to answer in a proof of concept, not as assumptions carried over from other platforms.
- Interface and authentication: Confirm which interface is enabled, how clients authenticate to it, and which account and rights each operation needs.
- Idempotency: Design calls to check whether a context or user exists before creating it, and confirm how the interface responds to duplicates.
- Retries and errors: Define retry rules for timeouts and partial failures, and log the identifiers needed to reconcile them.
- Credentials: Store the service credential in your secrets manager, scope it to a dedicated administrator account and plan rotation.
- Network path: Confirm which hosts can reach the endpoint, and restrict access through your ingress and network policies.
Run the integration against a test installation with realistic batch sizes, and ask the vendor to confirm any throughput limits for your version before you rely on them.
When an HR system or identity provider decides who should exist, scripts that create and disable accounts on their own tend to drift from the directory. In that case, a SCIM connector from the identity provider can own joiners, movers and leavers, and the provisioning API becomes a fallback rather than the primary path. This is a separate design from calling the interfaces directly, and the SCIM sibling topic covers its setup in detail. Here, the question is which system owns each lifecycle event.
- One owner: Choose either the identity provider or your own scripts as the system that creates and disables users, and document it.
- Movers: Confirm how a change of department or context is handled, and whether it moves the mailbox or only the access.
- Leavers: Confirm whether deprovisioning disables the account, what happens to mail and files, and how shared accounts are handled.
- Token scope: Confirm the scope and expiry of the provisioning token your connector uses in your release.
- Reconciliation: Schedule regular comparisons between the directory and OX accounts, and name the owner who resolves mismatches.
Confirm with the vendor which lifecycle events the connector supports in your version before you commit to the design.
Comparing SOAP, the JSON gateway, command-line tools and SCIM
This table compares the four ways to create and change OX App Suite contexts and users: the SOAP provisioning interface, the JSON provisioning gateway, command-line tools and SCIM from an identity provider. Read each row against your team's automation skills and who should own the user lifecycle, then use the last column as a checklist before you commit to a route.
| Route | Fit and typical user | Automation and lifecycle owner | Verify before choosing |
|---|---|---|---|
| SOAP provisioning interface | Existing scripts or integrations already built on SOAP calls | Scriptable from a central job; the calling system owns creation and changes | Which operations your release exposes, how authentication works, and how errors and retries are returned |
| JSON provisioning gateway | Internal tools and services written against HTTP that do not want a SOAP client | Suits pipelines and internal portals; the calling system owns the lifecycle | Supported endpoints and authentication for your release, and whether the gateway is enabled in your deployment |
| Command-line tools | Operators running one-off or batch changes from a server with administrative access | Good for runbooks and small batches; needs wrapping before unattended use by several teams | Which tools ship with your release, where they must run, and who is allowed to execute them |
| SCIM from an identity provider | Organizations where the identity provider already holds joiner, mover and leaver records | The identity provider owns the user lifecycle and pushes changes as they happen. Covered in the sibling SCIM provisioning topic | Which SCIM operations and attributes your identity provider sends, and how deprovisioning is handled |
| Hybrid model | Platform staff create contexts while identity sync manages users | Two owners need a clear boundary so that changes made by one system are not overwritten by the other | Which system is the source of truth for each attribute and who may edit it by hand |
How to set up provisioning access safely
This sequence gives you a provisioning interface, a dedicated admin identity with limited rights, and a tested path from one lab context and user to a logged, reviewed batch process in infrastructure you control.
Confirm the v8 release and Helm deployment
Confirm that the OX App Suite version you run is v8 and that it is deployed on Kubernetes from Helm charts, with Helm 3.17.0 or newer as the documented requirement. Check the support commitment for your release so you know its support window before you build automation against it. Your team owns this check, and the output is a written record of the version, chart version and cluster version in the lab and production environments.
Define provisioning admin accounts and rights
Create one or more dedicated administrator accounts used only for provisioning, not personal admin logins. Grant each account the minimum rights its job needs, and record which systems and roles each account can reach. Your identity team and the OX administrators do this together, with the output being an account register that names each account, its owner, its rights and the process that issues its credentials. Keep the credentials in your secrets store, not in scripts or tickets.
Select the provisioning interface
Choose between the SOAP interface, the JSON provisioning gateway and command-line tools based on the operations you need, the languages your automation uses and the auditing your teams can run. Confirm in the Operations Guide and requirements which interfaces your release exposes and how they are protected. If an external identity provider will own joiners, movers and leavers, decide whether SCIM should own the user lifecycle before writing any scripts. The output is a short decision record naming the interface and the operations it covers.
Test one context and one user in the lab
In a lab environment that mirrors production's chart version and middleware settings, create one test context and one test user through the chosen interface. Use clearly named test data, and do not reuse production domains or mailbox names. This step is run by your platform engineers with OX support where needed. It is done when the calls return success responses and the context and user appear in the administration view with the expected settings.
Verify records and logins
Check the created records field by field against your intended values, including the context name, quota settings, the user's email address and the assigned groups. Then sign in as the test user through the web interface and confirm the login works and the account has only the access you granted. Verification is complete when every field matches the design record and the login succeeds with no extra rights, with any gaps logged as defects before scaling.
Remove test data and document the procedure
Delete or disable the lab test context and user using the same interface and admin path, and confirm the removal in the administration view. Write the procedure as a runbook that names the exact calls, inputs and expected responses, and store it under version control. The output is a tested runbook that another operator could follow without guessing the order of operations.
Run batches through a reviewed process
Scale up with batch files that a second person reviews before each run, covering counts, naming rules and the admin account used. Run a small first batch in production, check it against the same field-level checks used in the lab, and then continue in controlled batches. Each run should write a log entry for every change, including the time, the account, the object and the result, and the logs should go to your central logging system with retention set by your policy.
Review logs and rights on a schedule
Set a recurring review of the provisioning logs and the admin account rights, comparing recorded changes with approved batch tickets and removing any access that no longer has an owner. Confirm with your compliance team which evidence they need and how long it must be kept. The step is complete when the first review has been recorded, any mismatches have a tracked resolution, and the owners of each provisioning account have confirmed their access in writing.
How a provisioning request reaches OX App Suite
The illustrative flow starts with an operator script or an identity provider calling either the SOAP interface or the JSON provisioning gateway, whichever the team has chosen. The request enters through the cluster ingress, which is where the admin credentials are presented and where the trust boundary sits. The middleware then writes context and user records to MariaDB and any file storage the account needs. Check that the credentials used at the ingress are scoped to provisioning only, and that every call is logged at the point it enters the cluster.
Illustrative provisioning path from operator tools through ingress to stored data.
Securing admin credentials and provisioning changes
Provisioning calls can create or remove whole contexts, so the credentials behind them carry more risk than daily admin access. The cards below cover how to scope and rotate those credentials, separate provisioning from daily administration, log and review changes, and protect the interfaces that accept them. Check each one against your own deployment before you rely on it.
Scope and rotate provisioning credentials
Treat the account that calls the provisioning interface as its own identity, separate from any human login. Decide who may hold it, where it is stored, and how often it is replaced, then write those rules down before the first script runs. Confirm with Open-Xchange which master or provisioning credentials your release uses, how they are configured in the Kubernetes deployment, and how a rotation is applied without a full outage. A rotation plan should name the secret store, the consumers that must be updated, and the test that proves the old credential no longer works.
Operations GuideSplit provisioning and daily admin roles
The people who approve a new context should not be the same accounts used to reset passwords or change mail settings in daily work. Keep provisioning administrators in a small named group, and give daily support staff only the rights their tickets require. In practice, this means separate accounts, separate sign-in paths where possible, and a documented list of who can call creation and deletion operations. Ask your team to show which role holds each right, because the split only holds if the rights are actually separated.
Log and review every provisioning change
Every context and user change made through the SOAP interface or the HTTP gateway should leave a record that names the calling account, the time, the target and the result. Forward those entries to your central log store and set a review cadence that someone owns. Confirm which events the middleware logs by default, which need extra configuration, and whether the log can be altered by the same account that made the change. Without a reviewable trail, a single unexpected deletion is hard to explain to an auditor or to your incident response team.
Least privilege for scripts
Automation scripts should hold only the operations they perform. A script that adds users to existing contexts does not need the right to create or delete contexts, so give it a separate credential with that narrower scope. Keep credentials out of script files and command history, load them at runtime from a secret store, and make each script fail closed when a call returns an unexpected authorization error. Review the script inventory whenever a job is added, moved or retired, since unused scripts often keep working credentials.
Protect interface endpoints in the cluster
The provisioning endpoints should be reachable only from the hosts that run your provisioning jobs, not from the general user network or the public ingress. Restrict them with network policies, keep them off the public route, and confirm which service exposes them in your Helm values. Check that the ingress configuration does not forward these paths by accident, and test from an unapproved pod that the calls are refused. Your Istio or ingress-nginx setup should be part of this review, since a route added for another purpose can expose the interface.
Record who creates or removes contexts
A context holds the mailboxes, calendars and files of an entire tenant, so creation and removal deserve the strictest record. Keep a ticket or change reference for each context, tie it to the account that executed the call, and store the approval outside the platform. Before a removal runs, confirm that a verified backup exists and that the deletion is authorized by the data owner. Ask Open-Xchange how context deletion works in your release, including whether data is removed immediately or retained for a period you can configure.
When SCIM should own the user lifecycle instead
Scripted SOAP or gateway calls suit bulk loads, one-off corrections and administrator-driven work such as creating a context for a new tenant or moving a batch of mailboxes. They do not suit the ongoing joiners, movers and leavers that a central directory already tracks. When your identity provider is the authoritative source for who works where, SCIM from that identity provider should own the user lifecycle, and the provisioning scripts should step back from routine user changes. The SCIM setup itself is covered in the sibling topic on SCIM provisioning from Entra ID, Okta or authentik.
The main risk is two systems writing the same user. If a script updates a user's department or quota while SCIM also pushes that attribute, the last write wins, and the result depends on timing rather than on your policy. A leaver can be disabled by the directory and then re-enabled by a forgotten cron job, or a mover can be reset to an old context by a stale script. Before enabling SCIM, produce a table that lists each attribute (name, email alias, context, groups, quota, status) and records one owner for each. Keep the scripts for the attributes you have not assigned to SCIM, and mark the rest as read-only for scripts in your runbook.
Confirm three things with Open-Xchange and your identity provider before you cut over: which user and context attributes the SCIM connector can write in your App Suite version, how it handles users that already exist from earlier script runs, and what happens to the SOAP or gateway accounts used by your scripts once SCIM is in place. Then run a pilot group and check that a change made in the directory appears in App Suite, and that a change made by a script to a SCIM-owned attribute is reverted or flagged. Document who may still run manual provisioning, and how that access is logged, so that the audit trail shows a single source for each change.
Limits to confirm in your environment
Provisioning over SOAP or the HTTP gateway depends on the release you deploy, the license agreement you sign and the storage and database layers beneath it. The cards below list the points to confirm with Open-Xchange and test in your own environment before you build a provisioning process on any one interface.
Interface methods per release
The methods available on the SOAP interface and the JSON provisioning gateway are tied to the release you run, not to the product name. Check which context and user operations exist in your target version, including the v8 release you plan to deploy, and whether the method you need is part of the supported interface or only visible in the documentation for another line. Record the release number in your design so that a later upgrade does not silently change which calls your scripts can make. Confirm this with Open-Xchange before you write the first integration.
- Current LTS release
- v8.47
Licensing and separate fees
The Operations Guide states that the right to use certain modules or features may be subject to custom packaging, limitations or separate fees set in the license agreement. Provisioning automation that touches a licensed module, or that assumes a feature is included, can therefore carry cost you did not budget for. Ask for the written list of included and excluded features, and ask whether bulk provisioning, admin APIs or additional middleware roles are covered before you size the project.
Operations GuideTesting against your context model
Contexts, user counts, schemas, groups and resource settings differ between a lab tenant and production. A provisioning run that succeeds with ten test users can fail or behave differently when the context holds thousands of mailboxes, shared accounts or nested groups. Build a test context that mirrors your mail domains, quotas, address book settings and login methods, then run create, change and delete cycles against it. Record the responses and the state left behind so you can compare them after each upgrade.
Rate and batch behavior
Throughput limits, batch sizes, concurrency and the handling of partial failures are not covered by the facts available to this page, so treat them as open questions. Ask Open-Xchange what request rates the middleware tolerates during bulk onboarding, whether any operations are asynchronous, and how a failed item in a batch is reported. Design your job runner to retry idempotently and to read back the state of each object before it reattempts a change.
Dependence on storage and database layers
Provisioning a context or user is not only a directory write. Mail, Drive and PIM attachment storage must sit on a distributed file system such as NFS, S3-compatible object storage or Ceph RadosGW, and the data lives in MariaDB with InnoDB. A context created through the API can fail or stall if the storage backend, quota settings or database cluster are not ready, so check those layers during testing. Confirm which database and storage conditions a provisioning call assumes, and include them in your rollback plan.
Requirements pageQuestions buyers ask before provisioning at scale
How much effort does a provisioning build take?
Effort depends less on the number of API calls than on how many systems the provisioning must touch and how clean the source data is. A build that only creates contexts and users from one authoritative export is far smaller than one that also maps groups, quotas, shared resources, deputies and leavers across several sources. The main drivers are the number of context types you need, how many identity sources feed the process, how much logic lives in the scripts versus the directory, and how well the team can test idempotent reruns. Ask any partner to break the quote into discovery, interface selection, build, test and handover, and to state which parts recur when OX App Suite is upgraded.
Can an internal team build this without a partner?
Often yes, if the team already runs OX App Suite and has engineers comfortable with SOAP, JSON over HTTP and scripting against a provisioning API. The harder part is usually not the first script but the operational discipline around it: retries, error handling, audit trails, reconciliation against the directory and safe handling of admin credentials. Check whether your team can keep a test context in sync with production, maintain the code through release changes, and document the rules so that someone other than the author can run them. If those skills sit in one or two people, a short external review of the design is often a cheaper way to reduce risk than a full build.
What does the provisioning work need from our side?
The work needs an authoritative source of truth for people and their context assignments, written naming rules for contexts, users and mailboxes, and a clear list of which attributes are mandatory. You also need dedicated provisioning admin accounts with only the rights the process requires, a test environment where those accounts can be exercised safely, and a named owner in HR or IT who signs off on leaver and mover rules. Expect to supply sample exports with real edge cases, such as duplicate names, shared mailboxes and external users, because these shape the design more than the happy path does.
How long does testing take and what affects it?
Testing length is set by the number of scenarios you must prove, not by a fixed rule. Plan separate passes for create, update, move and delete, for failure and retry behavior, and for bulk runs at the volume you expect in production. Environment availability is usually the main dependency: you need a non-production OX App Suite instance on the same release line, realistic directory data and time for an agreed user acceptance round. Any change to the release channel or the cluster during the project can reopen test cycles, so agree on a freeze date in the written scope.
Should SCIM own the user lifecycle instead of SOAP or the gateway?
SCIM is usually the better owner of the user lifecycle when your identity provider already drives joiners, movers and leavers and you want changes to flow from one place. Scripts over SOAP or the HTTP gateway suit bulk loads, context creation, and administrative tasks that the identity provider does not model. Many teams use both: the identity provider owns people, and a controlled script handles context-level changes that SCIM does not cover. Confirm in the SCIM setup which resources and operations your identity provider supports before you decide the split.
What risks should we check before provisioning at scale?
The most common risks are duplicated or orphaned accounts after a failed bulk run, leavers who keep access because a deletion step never ran, and admin credentials stored in scripts or shared between teams. Check that every run can be repeated without creating duplicates, that deletions are logged and reviewed, and that provisioning accounts are scoped and rotated. Also confirm the upgrade path, because a script that works on one release can break when the API surface changes. Ask for a written list of these checks as part of the deliverables.
When should we bring in a partner for provisioning?
Bring in a partner when the design involves several identity sources, when provisioning must be audited for compliance, or when your internal team cannot cover build, test and upgrade work alongside its normal duties. A partner is also useful for a fixed-scope review of an existing script before it runs against production. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms in the client's infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. Ask for a written scope that names the interfaces, the sources and the acceptance tests.
How DeployOpen scopes and delivers provisioning work
DeployOpen scopes provisioning work as a fixed-scope engagement with the terms agreed in writing before any work starts. The written scope names the interfaces chosen for the work (the SOAP provisioning interface, the JSON provisioning gateway, the command-line tools, or a combination), the scripts or scheduled jobs to be delivered, the test evidence the client receives, and the handover of those artifacts to the client's operations team. It also states which contexts, user populations and source systems are in scope, so the reader can check that the agreement matches the decision made in the sections above.
Delivery happens in the client's own infrastructure, including their cloud accounts, data centers or air-gapped networks, so the provisioning credentials, scripts and logs stay under the client's control. DeployOpen does not publish a price list. A quote follows from the written scope, so the items to ask for are the interfaces covered, how many environments are tested (for example, a lab and production), whether the test evidence includes rerun results against the client's own contexts, and who maintains the scripts after handover. Confirm with your Open-Xchange account contact which licensed features the planned provisioning depends on, since the Operations Guide notes that some modules may carry separate fees set in the license agreement.
Ongoing work is available as a retainer. Retainers cover ongoing support, upgrades and continuous testing of the provisioning jobs, which matters because the interfaces and release channel change over time and scripts written against one release need checking before each upgrade. Ask for the retainer scope in writing, including who reviews release notes, how failed jobs are escalated and what happens to the scripts when a SCIM connector later takes over the user lifecycle.

