<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 Failed with Username Taken Error
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

Slack Provisioning failed with Error: 

Error while trying to push profile update for <user>: Errors during execution: Error executing pushUserProfile: Conflict. Errors reported by the connector : {"Errors":{"description":"username_taken (user=<user>)","code":409}}. Error Code: null
 

Error Message

Applies To
  • Provisioning
  • Slack
Cause

When provisioning a new user via SCIM, usernames must be unique and distinct from channel names. This has also been observed to occur due to group names.

This error is thrown because the username is already taken, either by an active or deactivated user or a channel name in Slack. Please check Slack SCIM API Errors for more details.

about username_token

Solution

Follow the steps or video below to resolve this issue.


 

  1. Check if the username has already been taken by an active or deactivated user in Slack. The username must be unique and distinct from channel names.
  2. Try changing the username in Okta and then retry the task.
  3. If the issue persists, please contact Slack support for more details and steps on how to resolve this username_taken error.

 

To address an issue where the external ID of the user in Slack does not match the external ID value stored in Okta, please do the following:

    1. Temporarily disable the Deactivate Users feature in the Slack application's provisioning settings.

    2. Remove the user from the Slack application assignment.

    3. Assign the user to Slack using an individual assignment.

    4. After the profile syncs and the external ID is corrected, convert the assignment back to a group assignment.

    5. Re-enable the Deactivate Users feature.

     

    Related References

    Loading
    Slack Provisioning Failed with Username Taken Error