Setup in Microsoft Entra ID
This page explains how to register SonarQube in Microsoft Entra ID. This is the first step of SAML authentication setup with Microsoft Entra ID.
This page explains how to register SonarQube in Microsoft Entra ID. This is the first step of SAML authentication setup with Microsoft Entra ID. For an overview of the complete setup, see Introduction.
Step 1: Create the SonarQube SAML application in MS Entra ID
1. In Microsoft Entra ID, go to Manage > Enterprise applications > All applications.
2. Select New application and then Create your own application.

3. Fill in the name and select the Integrate any other application you don’t find in the gallery option.

4. Select Create.
Step 2: Configure the SonarQube application in MS Entra ID
1. Go to Single sign-on > SAML. The Set up Single Sign-On with SAML page opens

2. In the Basic SAML Configuration section of the page, select Edit, fill in the Identifier and the Reply URL fields as described below, and save.
3. In the Attributes & Claims section of the page, select Edit and configure the attributes used by SonarQube as described below. To add an attribute, select Add new claim.
4. If you use the group synchronization feature (If a matching group is found in SonarQube, the Entra ID user account’s memberships in that group are synchronized in SonarQube.), add a group attribute as described below. Alternatively, you may use SCIM user and group provisioning, see With Microsoft Entra ID.
5. In the SAML Certificates section of the page, download Certificate (Base64). (You will have to copy-paste the downloaded certificate into SonarQube during the Setup in SonarQube.)

6. Assign users and groups as follows:
Go to Manage > Users and groups.
Select Add user/group to assign users or groups to the application.
Related pages
Last updated
Was this helpful?