Missing some users when syncing Confluence with Active Directory

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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

  • Confirmed that the user is valid and active in Active Directory.
  • All other users/accounts of that group appear to be present in Confluence.
  • Check the LDAP user filter configured in your Confluence Active directory setup. For example, if it is configured as:
(&(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.

Last modified on Oct 1, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.