Extending the midPoint schema with custom attributes

Teams that need identity data midPoint does not hold out of the box can add custom attributes to users, roles and orgs. This page explains how the extension is stored, when GUI panels are enough, and what to decide before the first data load.

On this page

How midPoint schema extension adds custom attributes to users, roles and orgs

A schema extension in midPoint adds attributes that the built-in identity model does not define, such as an employee grade, a cost center code or an application account identifier, so that midPoint can hold, synchronize and search that data alongside users, roles and organizations. In midPoint the extension is stored as a SchemaType object, and Evolveum recommends GUI panels as the way to add and edit the custom attributes. Teams usually need an extension when an HR feed or a target application carries a value that a mapping must read or write, and no existing field fits it. The work sits between three things that must agree: the identity model that defines which objects carry the attribute, the connectors that move the value to and from target systems, and the data already loaded into the repository. Changing the schema after data exists is possible, but it touches stored objects and any mappings or reports that reference the attribute.

Start by listing every attribute the business needs, then record for each one the source system, the object type it belongs to (user, role or org), whether it must be searched or reported on, and which connector will read or write it. Attributes that are only used for display can often live in a panel without search support, while attributes used in searches, correlation or policy rules need deliberate planning. Confirm with your Evolveum documentation and your own test environment how the GUI panel approach handles your chosen object types and data types before committing to a naming scheme, because names are difficult to change once objects and mappings refer to them.

Plan the extension before the first data load. Decide on namespace, naming and data types, agree which team owns the attribute definitions, and test a sample import against a non-production instance. Ask your implementation partner or Evolveum to confirm which schema changes are safe on an instance that already holds identities, and which would require a reload or a repository change. The effort rises with the number of object types affected, the number of connectors that need the new attribute, and the amount of existing data that must be backfilled.

Which midPoint schema extension method fits each attribute

This table compares the three ways to handle a new data need in midPoint: GUI schema panels, XSD-based definitions and no extension at all. Read each row as a decision question, then check who maintains the choice and what it means for upgrades and version control. The main takeaway is that most attributes should be handled by an existing field or template first, and only attributes that administrators must edit should move to a GUI-defined extension.

OptionWhen it fitsWho maintains itUpgrade and version control impact
GUI schema panelsAdministrators need to add and edit attributes in the midPoint interface without code changesIdentity administrators, with changes stored as configuration objectsRecommended path per Evolveum; confirm the stored schema object is included in your configuration export and review process
XSD-based definitionsYour team needs full control over the schema structure and types beyond what the GUI supportsPlatform or engineering team that owns schema files and release cyclesSchema files live in your source control; each midPoint upgrade must be re-tested against your custom definitions
No extensionAn existing attribute, a mapping or an object template can already hold or derive the valueWhoever owns the current attribute and its mappingsNothing new to migrate or test; lowest upgrade risk, so check this option before creating any schema change
Data source is an HR or target systemThe value arrives from a source system and only needs to be carried through a mappingIntegration team maintaining connectors and mappingsMapping changes need regression testing; schema extension may still be needed if midPoint must store the value
Attribute must be searched or reportedTeams will filter users, roles or orgs by the new value in queries or reportsIdentity administrators with input from reporting ownersConfirm indexing requirements for the chosen storage and plan them before data load
Values are computed from other dataThe attribute is derived, such as a generated username or a default department codeIdentity architects who own object template logicObject template changes are configuration; confirm how they are versioned and promoted between environments

How a custom attribute moves from definition to connector

The path starts with the SchemaType object, which stores the extension definition, and the GUI panels that add and edit the attribute. Once saved, the attribute appears on user, role or org objects in the repository. Mappings then read or write it, and the connector carries it to the target system. The diagram is a simplified view. Review the schema definition and the mappings together before the first data load, because changing the schema later affects stored objects and every connector that reads them.

Simplified view of where a custom attribute is defined, stored, mapped and sent.

Setting up a midPoint schema extension in the order that avoids rework

This sequence moves a custom attribute from a list of business requirements to a tested, change-controlled schema extension, so each decision is made once and the data load does not force a rebuild. It is written for the team that will own the extension after the project ends.

  1. Inventory attributes and their authoritative sources

    List every attribute the business wants in midPoint, the system that owns the value (for example, HR, the directory or a ticketing system), its data type, whether it is single or multivalued, and whether midPoint will read it, write it or both. Ask the owners to confirm allowed values and formats in writing. The step is done when each attribute has one named source of truth and no attribute is listed without an owner. Attributes without a source usually belong in a later phase, not in the first extension.

  2. Decide which object type each attribute belongs to

    For each attribute, decide whether it describes a user, a role, an organization or another object type. Attributes that are shared across object types should be modeled once and used consistently, because a value stored on the wrong object type is hard to move later without a migration. Record the decision in a short table that the identity and security owners approve. The step is done when every attribute maps to exactly one object type and that table is stored with the project documentation.

  3. Create the schema extension through the GUI panel path

    Use the GUI panel path that Evolveum recommends for adding and editing custom attributes, rather than hand-writing XSD first, so that the extension is stored as a SchemaType object in the repository and is visible in the administration interface. Name the extension and its items with a stable naming convention, since renaming items after data is loaded creates work. Confirm the exact steps against the current Evolveum documentation for your release. The step is done when the extension object exists, each item has the data type you recorded, and an administrator can see the new items listed.

  4. Add the panel to the relevant forms

    Add the new attributes to the user, role or organization forms where administrators will view and edit them, and set the visibility and editability for each attribute according to the owner decisions from the inventory. Keep the form change small and specific to the object type. The step is done when an administrator with the intended role can open a test object, see the attribute in the correct panel, enter a value, save the object and reopen it with the value still present.

  5. Verify search, indexing and a test mapping

    Before any production load, confirm that the attribute can be used in a search filter and that it returns the expected objects. Decide with your DBA whether the attribute needs an index for the query patterns your operations team will use, because indexing choices are easier to make before the table holds production volumes. Then run a test inbound or outbound mapping against a sample object to confirm the value flows where you expect. The step is done when a search on the attribute returns the test objects and the mapping produces the expected output for at least one normal case and one empty-value case.

  6. Test the full extension on a non-production environment

    Repeat the extension, form and search checks on a non-production environment that runs the same midPoint version and repository configuration as production. Load a representative sample from each source system, including records with missing or unusual values, and confirm that synchronization, reconciliation and reporting behave as the owners expect. Record any change needed to names, types or form layout. The step is done when the sample load completes without manual data fixes and the owners have signed off the results.

  7. Move the configuration through your change process

    Promote the approved extension and form configuration to production through your normal change process, with the same review, approval and rollback steps you use for other midPoint configuration. If your team keeps configuration as files, check the exported objects into version control and confirm that the production import reproduces the tested state. Schedule the production data load only after the extension is in place. The step is done when the change record links the approved test evidence and a production check confirms the attribute saves and is searchable.

Security and operational risks of custom attributes in midPoint

Custom attributes change what administrators can see and edit, what leaves midPoint through connectors, and what the audit trail must explain. The cards below cover the decisions to settle before a schema extension reaches production, and each one is a control you can test. For the wider hardening checklist, see the midPoint security hardening topic.

Who can edit extension attributes

Every extension attribute is visible and editable wherever an administrator role grants access to the object type that carries it. Review the authorization rules that cover users, roles and orgs, and decide which roles may change identity-relevant extensions such as cost center or data classification. Test with a non-administrator account that holds the intended role, because a broad role can edit an attribute that a narrower role was meant to protect.

Schema extension docs

Protecting sensitive values in views

An extension attribute does not inherit the sensitivity of the data it holds. A free-text field for a government identifier, a medical flag or a risk rating will appear in search results, reports, exports and GUI panels unless you restrict it. Classify each attribute before creating it, mark those that need protection, and check which list views, custom forms and report columns display them to which roles.

Reviewing and tracking schema changes

Adding or renaming an extension changes the contract that integrations, mappings and reports depend on, so the change needs the same review as a code change. Record who proposed the attribute, which objects and mappings use it, and who approved it. Keep a dated record of each schema revision so that auditors can match a stored value to the schema that defined it.

Keeping extensions in step with configuration files

If you manage midPoint objects as files in Git, the schema extension, its panels and the objects that reference its attributes must move together. A schema committed without its matching panels, or panels deployed to an environment that lacks the schema, fail in ways that are hard to trace. Confirm the deployment order in your pipeline and test it against a copy of production before each release.

Handling new attributes in connector mappings

A new extension attribute reaches a target system only when a mapping sends it there, and an existing mapping does not start sending it by default. Decide for each connector whether the attribute is outbound, inbound or not synchronized at all. Check the target system's own schema before mapping, because a value that the target does not accept can cause failed provisioning rather than a visible error in midPoint.

Evolveum connectors docs

Logging and audit coverage for changes

Confirm that changes to extension values and to the schema itself appear in the audit records your compliance team relies on. Test a change to a sensitive attribute end to end, then search the audit log and the application log for the old and new values. Decide whether logs may contain the attribute's value at all, since verbose logging can copy a sensitive field into files that have wider access than the repository.

Planning extensions before the first data load

Settle the extension design before the first bulk load or source synchronization runs. Changing an attribute after data exists means deciding how every existing object gets updated, which objects receive a value, which are left empty, and whether a later correction is applied by a mapping, a one-time task or a manual edit. The same change also reaches everything that reads the attribute: searches saved by administrators, certification campaigns, reports, and any downstream system that consumes midPoint data. Renaming or retyping an attribute after that point is rarely a configuration tweak; it is a data migration with its own testing and rollback plan.

Answer five questions first and write the answers down. Naming should follow one convention across users, roles and orgs, because the name becomes a permanent part of the schema. Data type should match the values the source actually holds, not the type that is easiest to fill in. Single or multi-valued determines how inbound mappings combine source values and how the attribute appears in forms. Source of truth names the one system allowed to write the value, so that midPoint and the source do not overwrite each other. Indexing for search should be limited to attributes that operators will filter on at scale, since each indexed attribute adds cost to the repository.

Confirm indexing behavior and performance limits against the midPoint release you run and your repository sizing before you commit to an indexed design. Check how the release in use handles indexed extension attributes, which search filters benefit from them, and what the database effort is on the repository size you expect after the first load. Use the midPoint system requirements as the starting point for sizing, then test the schema on a copy of realistic source data. Record the result so the schema decision can be reviewed when a later upgrade changes the extension handling.

Who owns each part of a schema extension

Identity architects decide what the extension models and why. They own the attribute inventory, the naming and data types, the mapping between authoritative sources such as HR and the midPoint user object, and whether an attribute belongs on users, roles or organizations at all. Their decisions are the hardest to reverse, because attributes that already hold data in a repository are expensive to rename or remove once other processes depend on them.

  • Attribute inventory: list each proposed attribute, its source of truth, its owner and the processes that read it.
  • Object placement: decide whether an attribute belongs on users, roles or organizations, and record the reason.
  • Data types and cardinality: settle single or multi-valued fields and the allowed values before any data loads.
  • Indexing decisions: identify which attributes will be used in searches, reports or access rules, since those need indexing planned at design time.
  • Change log: keep a dated record of each schema change and the approval behind it.

Before a change, confirm the authoritative source for each attribute, the expected volume of data and which downstream systems will consume it in your own environment.

Limits to confirm before you extend the schema

Schema extensions look simple in a test tenant and become expensive when they meet a different release, repository, connector or change process. The cards below list the six limits to settle before any custom attribute reaches production, and each one names what to ask the vendor or check in a test environment.

Extension behavior in your release

Confirm how custom attributes behave in the midPoint release you will run. Version 4.8 is a long-term support release with support until 17 October 2028, 4.10 is a feature release supported until 26 November 2027, and 4.11 is planned for 21 October 2026. Ask whether extension handling, GUI panel behavior and XSD-based definitions differ between the release you choose and the one you plan to move to, and reproduce your exact attribute types in a test environment running that release.

midPoint releases

Indexing support in your repository

Whether a given indexing option is available depends on the repository database you run. Confirm the index type you need is supported on your PostgreSQL version and midPoint release before you rely on it for search. Test search on a realistic data volume, because an attribute that is fast in a small test set can still slow lookups, reports and certification campaigns in production. Also check how an index is created on an existing database, since that can lock tables during the change.

System requirements

Connector handling of extended attributes

An extension in midPoint does not automatically appear in every target system. Each connector maps attributes differently, so a custom attribute only reaches a target if the connector schema and mappings both carry it. For LDAP, Active Directory, Microsoft Entra ID, SCIM2 or database connectors, ask the connector documentation how unknown or multivalued attributes are handled, and test a create, update and delete cycle against a non-production target before you promise the attribute to the business.

Identity connectors

Upgrade effects on existing extensions

Extensions you define today must survive every upgrade between the supported releases. Plan the upgrade path in advance: confirm with Evolveum whether schema changes, renamed attributes or changed types need a migration step, and rehearse the upgrade on a copy of production data. Record which extension definitions are custom, because they are the first items to re-check after each release and the most likely source of a failed upgrade.

Release history

Support scope for custom definitions

Evolveum's support subscriptions cover resolving product bugs, while platform subscriptions add feature development and roadmap influence. Ask in writing which of your extension definitions and GUI panels the support scope covers, and which remain your responsibility. A definition that works only through a workaround may fall outside a bug fix, so separate what is supported product behavior from what your team has built on top of it.

Support subscriptions

Reviewed change process for schema

Schema changes affect every object type and every connector, so they should pass the same review as other configuration. Confirm that your change process can export extension definitions as files, store them in version control, review them and promote them through environments in the same order as role and mapping changes. If your team uses midPoint Studio or manual uploads, decide who may create a SchemaType object in production and how a rollback would work, because some schema changes cannot simply be deleted once data uses them.

Custom schema extension docs

Questions buyers ask about midPoint schema extension effort and ownership

Is adding custom attributes to midPoint a configuration task or a code change?

For most custom attributes it is a configuration task. midPoint stores the schema extension as a SchemaType object, and the recommended way to add and edit custom attributes is through GUI panels, so the work is done inside the product rather than in a code branch. An XSD-based approach is a different route with different upkeep, and it should be chosen deliberately. Confirm with your team which approach your midPoint version and deployment process support before you start, because the choice affects how the extension is versioned, moved between environments and reviewed.

What drives the effort of a midPoint schema extension?

Effort rises with four factors. The first is the number of attributes and how many object types they touch (users, roles, orgs). The second is the number of connected sources that must receive, transform or return those attributes, since each connector mapping needs its own review. The third is the volume of existing data that must be loaded or backfilled, and whether indexing is needed for search at that volume. The fourth is review: attributes that feed access decisions, certifications or audit evidence usually need more documented testing and sign-off than display-only fields.

What does the work need from our team?

Your team usually supplies three things: a named owner for the attribute list and its business meaning, access to the source systems and their data owners so attribute values can be confirmed, and a test environment that mirrors production configuration. Your identity and security reviewers also need time to approve the attribute definitions and any indexing decisions. Without these inputs, the schema tends to be redesigned late, after data has already been loaded, which is the most expensive point to change it.

Can an internal team extend the midPoint schema on its own?

An internal team with midPoint experience can often make a small, well-documented extension alone, especially for a handful of display or reference attributes. The risk grows when the extension feeds mappings, role assignment conditions or certification campaigns, because a mistake can grant or remove access across many accounts. Ask whether your team has tested schema changes against a copy of production data and whether it can explain how the change moves between environments. If not, a scoped review or partner-led build can cover those gaps while your team keeps ownership.

How is cost structured in a fixed-scope quote for a schema extension?

Most DeployOpen engagements are fixed-scope, so the quote follows from a written scope that lists the attributes, the object types affected, the connected sources, the data to be migrated, the testing approach and the deliverables. One-time costs cover design, build, testing and handover. Ongoing costs appear only if you add a retainer for changes, upgrades or continuous testing. DeployOpen does not publish a price list. Ask for the quote to show each scope item separately so you can see what changes if the attribute count or source count moves.

What should we confirm about midPoint versions before planning an extension?

Confirm the midPoint version you run and its support end date, because extension behavior and the upgrade path are tied to the release. The release page lists midPoint 4.8 as a long-term support release supported until 17 October 2028, midPoint 4.10 as a feature release supported until 26 November 2027, and midPoint 4.9 with support ending 18 October 2026. Plan the extension so it survives the upgrades you expect within your support window, and check the midPoint releases page for the current status before committing a schedule.

Does a schema extension need a separate compliance or security review?

It depends on what the attribute controls. Attributes used only to display information rarely need more than standard change control. Attributes that drive access, approvals, certification scope or segregation of duties should go through your identity governance review, and their definitions should be recorded as evidence for auditors. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications, so confirm with your auditor which records they will expect to see.

How DeployOpen scopes and delivers midPoint schema extensions

DeployOpen treats a midPoint schema extension as a design decision that affects every later mapping, role and report, so we settle the attribute model before any data is loaded. We scope the extension in writing, build it in your environment, and hand over the objects, panels and runbook your team needs to maintain it.

How we scope

  • We inventory the custom attributes you need on users, roles and orgs, with the source system and owner for each.
  • We decide which attributes need search indexing and which can stay informational before any load starts.
  • Engagements are fixed-scope, so the written scope names the extensions, panels and test cases we will deliver.

How we build

  • We define the extension as a SchemaType object and add the attributes through GUI panels, the approach Evolveum recommends.
  • We test that mappings, object templates and searches read and write the new attributes in a non-production midPoint.
  • We check the extension in the target midPoint version and environment before promoting it to production.

How we hand over

  • You receive the schema extension objects, panel definitions and a record of each attribute's purpose, type and owner.
  • We document the change procedure so your team knows the order of steps for adding or renaming an attribute later.
  • We walk your administrators through the extension and the test results so they can review and maintain it.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers once the extension is in production.
  • We can re-check extensions when you plan a midPoint upgrade, since the release path must step through supported versions.
  • Confirm with us which support tier and response terms apply to your environment before the written scope is signed.

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.