Whenever a user is assigned to the Kandji application in Okta, the following error is seen:
Automatic provisioning of user <username> to app Kandji SCIM App failed: Error while creating user <username>: Bad Request. Errors reported by remote server: missing required field
- Provisioning
- Kandji
- User Lifecycle Management
- Okta Classic Engine
- Okta Identity Engine (OIE)
As with most provisioning errors, they are reported by the remote server and include an error message relevant to the scenario.
In this case, the error occurs because the user misses a required value when the application is provisioning.
As per Kandji SCIM Directory Integration, the attributes required for the SCIM integration are:
- User attributes:
userNameactiveemails.value
- Group Attributes:
-
displayName
To fix this error:
- Go to the Kandji application in Okta by searching the top-middle bar or by going under Applications > Applications menu.
- Under the Assignments tab, click the pencil icon for the user experiencing the error (the same steps apply to group attributes).
- Verify that all required attributes are populated.
- Go to Dashboard > Tasks > Search by application > Kandji.
- Select all failed tasks, then click Retry Selected.
- Refresh the page and check if the task has been cleared.
NOTE: If the issue persists, please engage Kandji support.
