# Sign-on URL's value when configure Azure AD SSO for SonarQube

**URL:** <https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193>\
**Category:** SonarQube Server / Community Build\
**Tags:** saml, sonarqube\
**Created:** [December 1, 2020, 12:44am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193 "2020-12-01T00:44:40Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangbunf](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/dangbunf/32/10859_2.png) [@dangbunf](https://community.sonarsource.com/u/dangbunf)\
**Post date:** [December 1, 2020, 12:44am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/1 "2020-12-01T00:44:40Z")

</div>

We are integrating Azure AD SSO with SonarQube.  
（SonarQube Version： Developer Edition Version 7.9.2 (build 30863)）

When configuring Azure AD SSO, Sign-on URL is needed but we can’t find any information about it after we look through the SonarQube official document and Community.

The official document of Azure AD is mentioned that we should set below values for Sign-on URL, but we get “This page cannot be opened, the server with this page is not responding” error while set “[https://servicescode-dev.westus.cloudapp.azure.com](https://servicescode-dev.westus.cloudapp.azure.com)” for our dev environment.

The official document of Azure AD：  
“[チュートリアル: Microsoft Entra SSO と SonarQube の統合 | Microsoft Learn](https://docs.microsoft.com/ja-jp/azure/active-directory/saas-apps/sonarqube-tutorial)”

> In the Sign-on URL text box, type a URL:  
> For Production Environment  
> [https://servicessonar.corp.microsoft.com/](https://servicessonar.corp.microsoft.com/)  
> For Dev Environment  
> [https://servicescode-dev.westus.cloudapp.azure.com](https://servicescode-dev.westus.cloudapp.azure.com)

It’s appreciated if you can give me any suggestions or ideas.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 1, 2020, 9:55am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/2 "2020-12-01T09:55:03Z")

</div>

Hey there.

Their documentation isn’t particularly clear that you should be using your own SonarQube server URL here. You should substitute your own SonarQube URL + `/oauth2/callback/saml`

For example: [https://mysonarserver/oauth2/callback/saml](https://mysonarserver/oauth2/callback/saml)

---

<div class="post-metadata">

**Author:** ![dangbunf](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/dangbunf/32/10859_2.png) [@dangbunf](https://community.sonarsource.com/u/dangbunf)\
**Post date:** [December 2, 2020, 3:25am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/3 "2020-12-02T03:25:10Z")

</div>

Hi Colin,

Thank you very much.

We set our SonarQube URL + `/oauth2/callback/saml` for the Sign-on URL and we get another error.

> You’re not authorized to access this page. Please contact the administrator.

Is there any ideas?

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 2, 2020, 9:06am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/4 "2020-12-02T09:06:24Z")

</div>

I’d start looking in your _web.log_ (potentially with log level increased to _DEBUG_ in the global **Administration \> System \> Log level** ) for further details.

---

<div class="post-metadata">

**Author:** ![dangbunf](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/dangbunf/32/10859_2.png) [@dangbunf](https://community.sonarsource.com/u/dangbunf)\
**Post date:** [December 2, 2020, 9:34am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/5 "2020-12-02T09:34:06Z")

</div>

Here is our web log.  
[sonarqube\_web.log](https://community.sonarsource.com/uploads/short-url/wAikPo1l4mS08jRAfKLI4P5ymg.log) (133.0 KB)

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 2, 2020, 10:26am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/6 "2020-12-02T10:26:54Z")

</div>

It looks like a SAML response isn’t being returned,`Caused by: com.onelogin.saml2.exception.Error: SAML Response not found, Only supported HTTP_POST Binding`.

This is a pretty generic error that usually implies some configuration issue on the IDP (Identity Provider, here Azure AD SSO) side.

- Can you share screenshots of your configuration in Azure AD SSO?
- Have you added users to the application you’ve created in Azure AD SSO (specifically the user you’re trying to login with?)

---

<div class="post-metadata">

**Author:** ![dangbunf](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/dangbunf/32/10859_2.png) [@dangbunf](https://community.sonarsource.com/u/dangbunf)\
**Post date:** [December 3, 2020, 3:07am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/7 "2020-12-03T03:07:41Z")

</div>

Here is our configuration.

 ![SonarQube_AAD_SSO_Configuration](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/2/d/2de7118d759c7809cfc31125d85d5c65be380126.gif)

> Have you added users to the application you’ve created in Azure AD SSO

yes.

---

<div class="post-metadata">

**Author:** ![dangbunf](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/dangbunf/32/10859_2.png) [@dangbunf](https://community.sonarsource.com/u/dangbunf)\
**Post date:** [December 10, 2020, 2:52am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/8 "2020-12-10T02:52:53Z")

</div>

Hi, Colin  
Is there any update for this?

---

<div class="post-metadata">

**Author:** ![khopithan](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/khopithan/32/18465_2.png) [@khopithan](https://community.sonarsource.com/u/khopithan)\
**Post date:** [February 8, 2021, 6:27am UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/9 "2021-02-08T06:27:13Z")

</div>

Hi @dangbunf ,

Can you show your SSO configuration in SonarQube ? And plz share the document which you referred ? Thanks.

Regards,  
Khopi

---

<div class="post-metadata">

**Author:** ![marvf\_it](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@marvf\_it](https://community.sonarsource.com/u/marvf_it)\
**Post date:** [June 21, 2022, 3:06pm UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/10 "2022-06-21T15:06:33Z")

</div>

hi, this is a pretty old one I see, but I am having the same issue.

 ![sonarqube](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/0/9/09534c20ae018eb90d84f93067e00c833cc1ff02.jpeg)

 ![image](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/6/f/6f95b3b91c01747724f59c98b6b9dc464576385d.png)

Please advice as i want to activate SAML for SonarQube in Azure AD.

Everything has been setup in the sonarqube admin level.

If I do a test I get this:  
You’re not authorized to access this page. Please contact the administrator.

 ![sonarqube2](https://europe1.discourse-cdn.com/sonarsource/uploads/sonarcommunity/original/3X/8/d/8def347ccebf4167635f5acd6230b6d2038c90fc.jpeg)

---

<div class="post-metadata">

**Author:** ![Nikola\_Dacic](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/nikola_dacic/32/37398_2.png) [@Nikola\_Dacic](https://community.sonarsource.com/u/Nikola_Dacic)\
**Post date:** [September 21, 2022, 1:50pm UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/11 "2022-09-21T13:50:00Z")

</div>

Hey team,

Did anyone manage to resolve this?  
We are facing the exact same issue.

Regards,

Nikola

---

<div class="post-metadata">

**Author:** ![Himanshu\_Agrawal](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/himanshu_agrawal/32/42725_2.png) [@Himanshu\_Agrawal](https://community.sonarsource.com/u/Himanshu_Agrawal)\
**Post date:** [October 14, 2022, 12:05pm UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/12 "2022-10-14T12:05:13Z")

</div>

Hi @Nikola_Dacic ,

Do you have progress on this? If you are still looking for this, you can give a try to [miniOrange SAML SSO plugin for SonarQube](https://prod-marketing-site.s3.amazonaws.com/plugins/Sonarqube/sonarqube-saml-plugin-1.1.3.jar). You can refer to this document [mO SonarQube SSO 3](https://www.miniorange.com/sonarqube-single-sign-on-(sso)) to get started.

For further details, reach out to [miniOrange HelpDesk](https://miniorange.atlassian.net/servicedesk/customer/portal/2/group/6), or drop an email on: [support-atlassian@miniorange.atlassian.net](mailto:support-atlassian@miniorange.atlassian.net) . We’ll be happy to help.

Thanks,  
Himanshu

---

<div class="post-metadata">

**Author:** ![ChristoferDantas](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/christoferdantas/32/18889_2.png) [@ChristoferDantas](https://community.sonarsource.com/u/ChristoferDantas)\
**Post date:** [January 17, 2024, 6:57pm UTC](https://community.sonarsource.com/t/sign-on-urls-value-when-configure-azure-ad-sso-for-sonarqube/35193/13 "2024-01-17T18:57:45Z")

</div>

About the Sign On Url configuration, I managed to integrate successfully the SonarQube with my Azure AD, setting the value as “https://YOUR\_SONAR\_HOST/sessions/new”.
