# How to integrate Active Directory with SonarQube

**URL:** <https://community.sonarsource.com/t/how-to-integrate-active-directory-with-sonarqube/79499>\
**Category:** SonarQube Server / Community Build\
**Created:** [December 29, 2022, 12:05pm UTC](https://community.sonarsource.com/t/how-to-integrate-active-directory-with-sonarqube/79499 "2022-12-29T12:05:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkat\_one](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/venkat_one/32/37265_2.png) [@venkat\_one](https://community.sonarsource.com/u/venkat_one)\
**Post date:** [December 29, 2022, 12:05pm UTC](https://community.sonarsource.com/t/how-to-integrate-active-directory-with-sonarqube/79499/1 "2022-12-29T12:05:48Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
Am using 8.9 LTS community edition.
- what are you trying to achieve  
Am trying to integrate Active Directory with SonarQube
- what have you tried so far to achieve this

I have provided below active directory details… but sonarqube Web is not launching and getting an error.

```auto
# Enable the LDAP feature

sonar.security.realm=ActiveDirectory

# Set to true when connecting to a LDAP server using a case-insensitive setup.

 sonar.authenticator.downcase=true

# URL of the LDAP server. Note that if you are using ldaps, then you should install the server certificate into the Java truststore.

ldap.url=Active Directory Server URL

# Bind DN is the username of an LDAP user to connect (or bind) with. Leave this blank for anonymous access to the LDAP directory (optional)

ldap.bindDn=cn=sonar,ou=users,o=mycompany

# Bind Password is the password of the user to connect with. Leave this blank for anonymous access to the LDAP directory (optional)

ldap.bindPassword=xxxxxxx

# Possible values: simple | CRAM-MD5 | DIGEST-MD5 | GSSAPI See http://java.sun.com/products/jndi/tutorial/ldap/security/auth.html (default: simple)

 ldap.authentication=simple

```

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 2, 2023, 7:36pm UTC](https://community.sonarsource.com/t/how-to-integrate-active-directory-with-sonarqube/79499/2 "2023-01-02T19:36:16Z")

</div>

Hi,

> [@venkat\_one](#):
>
> sonarqube Web is not launching and getting an error.

What’s the error?

&nbsp;  
Ann
