Org2Org Error "Invalid Value for initialStatus field (code notOneOf)"
Okta Classic Engine
Okta Identity Engine
Okta Integration Network
Overview

This article explains an error that occurs when new or existing users are assigned to the Org2Org app:

 

<UserName> is an Invalid Value for initialStatus field (code notOneOf)

User was assigned to this application before Provisioning was enabled and not provisioned in the downstream application. Click Provision User.


Error Message  

Applies To
  • Org2Org
  • InitialStatus
  • Provisioning
Cause

The error may be caused by an incorrect mapping applied to the initialStatus attribute.

Solution

Remove the incorrect mapping applied in the Org2Org mapping:

  1. Go to Directory > Profile Editor.
  2. Select the Org2Org app and click Mappings.
  3. Click Okta User to Org2Org.
  4. Search for initialStatus and select Do not map.
    Mapping Options  
  5. Click Save Mappings.
  6. Select Apply updates.
  7. Go to Applications > Applications > select the Org2Org app.
  8. Select the Assignments tab.
  9. Click Assign and then select Assign to People or Assign to Groups
  10. Locate the user or group that should have the app assigned and click Assign.
  11. Select an option for the Initial status (that is, active_with_pass, pending_with_pass, active_without_pass, pending_without_pass). This attribute determines the status of the user in the connected org when they are created, linked, or reactivated. 
  12. Click Save and Go Back, and then click Done.


Related References

Recommended content

No recommended content found...