Missing some users when syncing Confluence with Active Directory

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

Users are synced into Confluence via Active Directory. However, some users seem to be missing or are not synced to Confluence.

Environment

Any Confluence version

Supported Active Directory

Diagnosis

1 (&(objectCategory=Person)(sAMAccountName=*)(|(memberOf=CN=Apps_Confl_Users,OU=ExampleGroups,DC=example,DC=com)(memberOf=CN=Apps_Confl_Admins,OU=ExampleGroups,DC=example,DC=com)(memberOf=CN=Apps_CONFL_SrvcAccounts,OU=ExampleGroups,DC=example,DC=com)))

Confluence will pull in users that are memberOf CN=Apps_Confl_Users,OU=ExampleGroups,DC=example,DC=com OR CN=memberOf=CN=Apps_Confl_Admins,OU=ExampleGroups,DC=example,DC=com OR CN=Apps_CONFL_SrvcAccounts,OU=ExampleGroups,DC=example,DC=com.

So, the user in question needs to be a member of either of the above to be synced into Confluence.

To check this – for the user account in concern, create an LDIF export from the Active Directory. This LDIF file will contain a list of entries the user is a member of. Verify if the concerned user belongs to one of the CNs that's configured in Confluence's Active directory setup.

Cause

The concerned user does not belong to one of the LDAP user object filters configured in Confluence.

Solution

Add the concerned user to one of the groups from the LDAP user filter on the LDAP side. Once this is done, sync the directory in Confluence and confirm if the user can now be seen.

Updated on March 18, 2025

Still need help?

The Atlassian Community is here for you.