Okta Profile Mapping Error Occurs Due to Attribute Configuration Conflict
Last Updated:
Overview
An Okta profile mapping error occurs when a configuration sets an attribute as required, user-editable, and sourced by an external application simultaneously. This configuration creates a data-integrity conflict that causes an infinite synchronization loop. Resolve this issue by modifying the attribute settings in the Profile Editor to remove the required flag, change user permissions, or adjust the source priority.
Attribute <attribute name> cannot be required, user-editable, and mastered by an external application at the same time. This combination causes a login loop. To create this mapping, go to the Profile Editor and resolve the attribute first: either remove the Required flag, set User Permission to Hide or Read Only, or change Source Priority to Inherit from Okta.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Profile Editor
- Identity Provider (IdP) Mapping
Cause
Okta enforces a data-integrity rule to prevent an infinite synchronization loop. Okta blocks the configuration of a custom user profile attribute in the Profile Editor mapping when the attribute possesses all three of the following conditions simultaneously:
- Required (the attribute must have a value to save the user profile).
- User-editable (a person can change the attribute directly in Okta).
- Sourced by an external application (the source of truth is an application import or push, such as Active Directory or a Human Resources system).
Solution
How does an administrator resolve the attribute configuration conflict?
Navigate to the Profile Editor and adjust the attribute settings to eliminate the configuration conflict.
- Open the Okta Admin Console.
- Navigate to Directory, and then select Profile Editor.
- Choose the profile containing the affected attribute.
- Locate the attribute and select the Information icon to edit the properties.
- Resolve the conflict by performing one of the following actions:
- Clear the Yes checkbox for the Attribute required setting.
- Change the User permission setting to Hide or Read Only.
- Change the Source priority setting to Inherit from Okta.
- Select Save Attribute.
The new validation feature applies to new mappings in Preview organizations. Okta released a new feature in Preview organizations to protect user profile attribute-level validation. Okta blocks additional mappings that use this specific combination of settings. Existing mappings remain unaffected.
