Colin
(Colin)
March 26, 2025, 9:16am
2
Hey there.
Wan Hor Kin:
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 ?
You’ll need to use the API to migrate users from the local identity provider to LDAP.
Introduction
SonarQube allows delegating authentication to several Identity Providers (LDAP, SAML, GitHub, GitLab, etc.). However, after some time, a SonarQube administrator may need to change the Identity Provider that their users authenticate with.
In particular, there are many organizations making the switch from LDAP Authentication to SAML Authentication for their applications. This guide aims to make it clear how to migrate those users from one Identity Provider to another, focusing on the…
Wan Hor Kin:
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 ?
If group mapping is working well, this is our recommended approach instead of pre-provisioning users and assigning permissions before their first login. AD Groups tend to last longer at companies than many employees!