I am trying to integrate Azure Active Directory (AAD) with SonarQube Community Edition using the Azure AD Authentication Plug-in for SonarQube (version 1.3.2), but I am encountering an authentication error. Below are the details:
- Sorry, but we’re having trouble with signing you in.
- AADSTS700016: Application with identifier ‘c5ca2dc5-3e2c-484e-80d9-d763dd537c4b’ was not found in the directory ‘Sclera’. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.
Setup Details:
- SonarQube Version: Community Edition
- Azure AD Authentication Plug-in Version: 1.3.2
- SonarQube Authentication Setup:
-
- Active Directory integration using the Azure AD Plugin.
-
- Configured Azure AD tenant and app as per the plugin documentation.
-
- Azure AD App Identifier:
'c5ca2dc5-3e2c-484e-80d9-d763dd537c4b'
- Reference Document: GitHub - hkamel/sonar-auth-aad: Azure Active Directory Authentication for SonarQube
Steps Taken:
- Created an app registration in Azure AD.
- Configured the app identifier in the SonarQube Azure plugin.
- Followed the steps in the Azure AD Authentication Plug-in Documentation.
- Attempted to sign in with Azure AD, but received the error message listed above.
Questions/Help Needed:
- Is this error caused by incorrect tenant configuration, or does it relate to permissions not granted by the Azure AD administrator?
- How can I verify that the application is correctly registered in Azure AD?
- Are there any additional settings in SonarQube or Azure AD that I need to configure to resolve this?
Additional Information:
- I am the administrator of the SonarQube instance.
- I have not yet received admin approval for this application in Azure AD.