SonarQube – Active Directory Plugin

If you’ve been using SonarQube with TFS on-premises chances are you using the LDAP plugin to integrate with your Active Directory.  We are currently running version 5.4 of SonarQube with v1.5.1 of the LDAP plugin and are migrating to SonarQube 5.6 which brought this to my attention.

In Update Center in SonarQube you will see the following update


LDAP Plugin

I deployed SonarQube 5.6 and went to the Update Center to look for the Active Directory plugin referenced above but instead I saw this


Azure Active Directory (AAD) Authentication Plugin

This had the words Active Directory in the name of the plugin but wasn’t quite what I needed so I went back to the internet and bing’d a few searches out which finally led to this:

I went to the releases page and downloaded the release candidate of the plugin and copied it to my plugins folder.


Next I edited the file and entered the following:

# Active Directory configuration

which replaced the entries I had for the LDAP plugin so I could safely remove these:

# LDAP Configuration

You should now be able to start SonarQube and if you take a look at the logs you should see the plugin load:


If you navigate to the SonarQube homepage


Clicking on Login should immediately log you into SonarQube which you can verify when your logon account is display (as shown below)


Good luck and of course if you have any questions please post them below.  More information about the plugin can be found here in the



About Wes MacDonald

Wes MacDonald is a DevOps Consultant for LIKE 10 INC., a DevOps consulting firm providing premium support, guidance and services for Azure, Microsoft 365 and Azure DevOps.

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: