<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Slack Provisioning Error executing createNewUser: Errors reported by the connector: username_not_allowed code 400
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
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.

SCIM attribute 

Solution

As stated in the Okta system log error message, the provided userName is reserved in Slack.

 

  1. Navigate to Dashboard > Tasks
    Any failed assignments should appear under Tasks.

 Tasks 

  1. After identifying the failed task for the user that should be retried, click Edit Assignment

  2. Change the User Name attribute.

  3. Click Save Assignment and Retry.

  4. If the issue still persists, please contact Slack support for more details and steps on how to resolve the username_not_allowed error.

 

Related References

Loading
Slack Provisioning Error executing createNewUser: Errors reported by the connector: username_not_allowed code 400