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]
- Egnyte SCIM 2.0
- Provisioning
- Error
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.
- Go to Okta Admin Console and navigate to Applications > Applications > Egnyte SCIM 2.0 > Sign On > Settings section > click Edit.
- In the Credential Details section, update the Application Username Format to either the Okta username prefix or the Email prefix.
- Afterward, attempt the user provisioning again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
-
After identifying the failed task for the user that should be retried, click on Retry Selected.
-
If the issue persists, please contact Egnyte support for more details and steps to resolve this error.
