Slack provisioning flow fails with the following error visible in the Okta dashboard:
Error executing pushUserProfile: Bad Request. Errors reported by the connector : {"Errors":{"description":"Invalid managerId (user=xxxxx)","code":400}}. Error Code: null
In Directory > Profile Editor > Slack User > Mappings, the managerId attribute has the Okta User to Slack mapping as shown below:
- Slack
- Provisioning
This error is received because the user.manager in Okta User Profile is not their manager's valid Slack id, primary email, or userName attribute.
-
Slack is expecting a valid manager ID value from Okta.
-
The Manager attribute is referred to as enterprise.manager.managerId, similar to the Manager attribute (managerId) mapped in Okta. Refer to Provisioning with SCIM.
-
As per Slack API doc Provisioning with SCIM, the value for the managerId sub-attribute can be their valid Slack ID, primary email, or userName attribute.
-
Check if the Okta User Profile user.manager attribute has their manager's valid Slack ID, primary email, or userName that Slack expects.
- Once confirmed, attempt the user provisioning again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
- After locating the failed task for the user that should be retried, click on Retry Selected.
