Manually create Sonarqube user for Active Directory user

  • SonarQube Server Community Edition version 25.3.0.104237
  • SonarQube Scanner 3.1.0.1141
  • SonarQube Server deployed in Docker
  • SonarQube Scanner 3.1.0.1141 in Jenkins in Docker

Currently, I set sonar.authenticator.createUsers=true in sonar.properties. Any Active Directory user login first time to Sonarqube portal, will automatically be created in Sonarqube user list. And I need to assign permission for the user.

  1. When sonar.authenticator.createUsers=false, I tried to create manually a user in Sonarqube portal same name as Active Directory user, but Sonarqube couldn’t recognize it as Active Directory user but a local user. How to make it recognize ?

  2. Would it works if I create a group in Sonarqube user group same name as Active Directory group, any Active Directory inherits the group permissions ?