API Provisioning (SCIM) and SAML Just-In-Time Provisioning (JIT) can coexist in an Org2Org setup, but it is generally not recommended. Employing both methods concurrently may lead to conflicts regarding user profile data control, resulting in the following error:
Automatic profile push of user <username> to app Okta Org2Org failed: Error while trying to push profile update for <username>: Operation failed because user profile is mastered under another system.
- Org2Org
- SCIM Provisioning
- Just-in-Time (JIT) Provisioning
This issue commonly arises when both Just In Time (JIT) provisioning with the update users option and SCIM Provisioning is enabled for the Org2Org application.
The error is primarily due to conflicting provisioning methods:
- JIT Provisioning with Update Users Option
- SCIM Provisioning
The problem unfolds as follows:
- The user is initially provisioned via SCIM Provisioning.
- Subsequently, the user directly accesses the Org2org application using SAML authentication.
- At this point, the IDP masters the user's profile, and the profile master can only control the user's data.
- Any attempts by the SCIM connector to push updates for this user will fail with the error message: Operation failed because user profile is mastered under another system.
To resolve this issue, admins can take the following steps:
- Disable the Update Attributes Option
- Disconnect from Profile Master
- Set Attribute Inheritance
