<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

Okta Slack Provisioning Error invalid_display_name When Users Change Display Name

Okta Integration Network
Okta Classic Engine
Okta Identity Engine

Overview

A Slack provisioning error occurs in Okta when a user changes their display name in Slack, causing a mismatch with the Okta application profile. Resolving this issue requires disabling the display name update setting in the Slack application provisioning integration. The Slack application integration has the Provisioning Application Programming Interface (API) enabled, but the displayName attribute lacks the Okta User to Slack mapping, as shown in the following image.

 

Okta User to Slack mapping

Slack allows users to change their display name, as shown in the following image.


Slack display name setting

 

When a Slack user's display name does not match the display name in the Okta Slack application, it prevents user profile push updates, and Okta generates the following error.


Error Message

 

Errors during execution: Error executing pushUserProfile: Bad Request. Errors reported by the connector : {"Errors":{"description":"invalid_display_name (user=<user>)","code":400}}. Error Code: null

 

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Slack
  • Provisioning

Cause

The error occurs because the provided display name is not allowed. The display name in Slack does not match the display name in the Okta Slack application.
invalid_display_name
Refer to the Provisioning with SCIM documentation for more details.

Solution

How is the Slack invalid display name provisioning error resolved?

Disable the display name update setting in the Slack application provisioning integration and retry the user provisioning.

 

NOTE: Okta does not support partial profile push. Okta pushes the application user's full profile during a profile update, including attributes set to Apply mapping on user create only and Do Not map. Refer to About profile push for more details.

 

  1. Go to the Okta Admin Console and navigate to Applications > Applications > Slack > Provisioning > Integration.
  2. Select Edit.
  3. Clear the Allow display name update checkbox to prevent Okta from sending display name updates to Slack in the System for Cross-domain Identity Management (SCIM) payload.
    Allow display name update
  4. Retry the user provisioning.

Related References

Loading
Okta Slack Provisioning Error invalid_display_name When Users Change Display Name | Okta Support