<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
Egnyte SCIM 2.0 Provisioning Error "constraint violations: '{invalid.user.name}': [userName: Invalid user name]"
Okta Integration Network
Overview

Egnyte SCIM 2.0 provisioning flow fails with the following error visible in the Okta dashboard:

Automatic provisioning of user <username> to app Egnyte SCIM 2.0 failed: Error while creating user <username>: . Errors reported by remote server: constraint violations: ConstraintViolationImpl{interpolatedMessage='Invalid user name', propertyPath=userName, rootBeanClass=class PublicUserRepresentation, messageTemplate='{invalid.user.name}'}: [userName: Invalid user name]
 

Error Message

 

 
Applies To
  • Egnyte SCIM 2.0
  • Provisioning
  • Error
Cause

The issue is described in the vendor's documentation: Egnyte: Configuration Guide.

  • UserName: Invalid user name returned by the Egnyte API endpoint because Egnyte does not support email-based usernames.
Solution
  1. Go to Okta Admin Console and navigate to Applications > Applications > Egnyte SCIM 2.0 > Sign On > Settings section > click Edit.
  2. In the Credential Details section, update the Application Username Format to either the Okta username prefix or the Email prefix.
Credential Details
NOTE: In rare cases, the email or username may contain signs that are not supported by the Egnyte username pattern and need to be changed manually during user assignment in Okta.
  1. Afterward, attempt the user provisioning again. 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 on Retry Selected.

  2. If the issue persists, please contact Egnyte support for more details and steps to resolve this error.

 

Related References

Loading
Egnyte SCIM 2.0 Provisioning Error "constraint violations: '{invalid.user.name}': [userName: Invalid user name]"