Slack Provisioning Error executing createNewUser: Errors reported by the connector: username_not_allowed code 400
Last Updated:
Overview
The following error may appear during Slack Provisioning:
Automatic provisioning of user <user> to app Slack failed: Error while creating user <user>: Errors during execution: Error executing createNewUser: Bad Request. Errors reported by the connector : {"Errors":{"description":"username_not_allowed (user=<user>)","code":400}}. Error Code: null
Applies To
- Slack
- Provisioning
- Error
Cause
As per Provisioning with SCIM in Slack documentation, this error is thrown because the provided userName is reserved.
Solution
As stated in the Okta system log error message, the provided userName is reserved in Slack.
-
Navigate to Dashboard > Tasks.
Any failed assignments should appear under Tasks.
-
After identifying the failed task for the user that should be retried, click Edit Assignment.
-
Change the User Name attribute.
-
Click Save Assignment and Retry.
-
If the issue still persists, please contact Slack support for more details and steps on how to resolve the username_not_allowed error.
