User Creation is not possible via Confluence

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When Confluence is Connected to any External Directory with Read/Write access, in this case, User creation is not possible via Confluence and get the below error message:

1 2 3 2021-02-03 15:31:20,436 ERROR [http-nio-11006-exec-3] [confluence.user.actions.CreateUserAction] execute Failed to create user: testtesttest -- referer: https://<Confluence-Domain>/admin/users/createuser.action | url: /admin/users/docreateuser.action | traceId: 92d008111b43a2f4 | userName: TestUser | action: docreateuser com.atlassian.core.exception.InfrastructureException: com.atlassian.user.impl.EntityValidationException: com.atlassian.crowd.exception.InvalidUserException: type or value cannot be empty, type: value:testtesttest

Cause

This issue error comes when User Name RDN Attribute is missing in the User directory Configuration.

The RDN (relative distinguished name) to use when loading the username. The DN for each LDAP entry is composed of two parts: the RDN and the location within the LDAP directory where the record resides. The RDN is the portion of your DN that is not related to the directory tree structure. Example:

  • cn

Solution

Just configure the User Name RDN Attribute based on the User Name Attribute in User Directory Configuration. Generally, User Name Attribute has the value CN and the type of this value should be the according to that and that comes from the User Name RDN Attribute.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.