
WorkatoT.10813 (Customer) asked a question.
This happened when someone incorrectly changed a user's username in Okta which caused a duplicate user in Slack to be created. They've been using their "old" slack account for a while, so it's not something we want to decommission in favor of the matching Slack user which we deactivated.
So, how do we make the Okta user's app assignment for Slack have the correct externalID? Do we have to remove the app assignment and import the user from Slack, as their email should match?
More details: The Slack account is SSO binded, somehow, and the email address is correct (is the Okta email).
Task error details:
An error occurred while provisioning Slack
Automatic profile push of user First Last to app Slack failed: Error while trying to push profile update for flast@company.com: Errors during execution: Error executing pushUserProfile: Conflict. Errors reported by the connector : {"Errors":{"description":"bad_email_address (user=<assignedExternalID>, reason=email_taken, email=flast%company.com, existing_user=<correctExternalID>)","code":409}}. Error Code: null

Hi @WorkatoT.10813 (Customer) , Thank you for reaching out to the Okta Community!
That sounds like the right approach, but before you start, make sure that the "Deactivate User" feature under Provisioning is DISABLED and that you don't have automatic user confirmation/activation enabled under the import settings. It's important to avoid any unwanted account overrides or deactivations.
You might also want to consider doing this off-hours, to avoid any potential downtime.
Hope it helps!