Sonarqube ADFS (Active Directory Federation Service) SSO integration

Unable to upload xml file in the sonarqube application for ADFS SSO integration
Attached is the connection failed error
SAML configuration is failing, below is the error

Hey there.

As noted in the template post, what version of SonarQube are you using?

Thankyou for the response

  • Community Edition
  • Version 9.9 (build 65466)
  • LGPL v3

Please do let me know, if you need further more information for this issue


When do you face the issue? Is it when you try to login, or when you test the SAML configuration from the SonarQube UI (within the global administration)?

its when i test the SAML configuration
there is an button called “test configuration”


What URL have you used for sonar.auth.saml.loginUrl?

I noticed you mentioned this:

SonarQube doesn’t support importing an XML file with the SAML information – you have to set each setting individually (though that information may be found in the XML file available to you).

you still there ?

Is that a SonarQube URL? It should be a URL from your identity provider.

This documentation might help you: How to setup Azure AD

Hi @Colin
i tried with the documentation and ended up with the below error

Well, it seems closer.

What do the server logs say when you try to login?

it never reported in logs related to Active Directory
this is the page we get when i hit test configuration in the authentication

Which logs did you look in? web.log?