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
- Slack
- Provisioning
- Error
As per Provisioning with SCIM in Slack documentation, this error is thrown because the provided userName is reserved.
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.
