# SonarQube to Azure AD is failing with 401 error in logs

**URL:** <https://community.sonarsource.com/t/sonarqube-to-azure-ad-is-failing-with-401-error-in-logs/56051>\
**Category:** SonarQube Server / Community Build\
**Tags:** authentication\
**Created:** [January 8, 2022, 12:14am UTC](https://community.sonarsource.com/t/sonarqube-to-azure-ad-is-failing-with-401-error-in-logs/56051 "2022-01-08T00:14:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnaveens](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/cnaveens/32/29045_2.png) [@cnaveens](https://community.sonarsource.com/u/cnaveens)\
**Post date:** [January 8, 2022, 12:14am UTC](https://community.sonarsource.com/t/sonarqube-to-azure-ad-is-failing-with-401-error-in-logs/56051/1 "2022-01-08T00:14:56Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
sonar-application-9.2.4.50792.jar
- what are you trying to achieve  
SonarQube authentication with Azure AD
- what have you tried so far to achieve this  
All the details are here.  
[SonarQube to Azure AD is failing with 401 error in logs - Stack Overflow](https://stackoverflow.com/questions/70628485/sonarqube-to-azure-ad-is-failing-with-401-error-in-logs)

---

<div class="post-metadata">

**Author:** ![ganncamp](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/ganncamp/32/1261_2.png) [@ganncamp](https://community.sonarsource.com/u/ganncamp)\
**Post date:** [January 10, 2022, 5:25pm UTC](https://community.sonarsource.com/t/sonarqube-to-azure-ad-is-failing-with-401-error-in-logs/56051/2 "2022-01-10T17:25:57Z")

</div>

Hi,

Welcome to the community!

You’re going to get a better response / responsiveness to your question with all the details available _here_. I urge you to cross-post them.

&nbsp;  
HTH,  
Ann

---

<div class="post-metadata">

**Author:** ![cnaveens](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/cnaveens/32/29045_2.png) [@cnaveens](https://community.sonarsource.com/u/cnaveens)\
**Post date:** [January 11, 2022, 6:25pm UTC](https://community.sonarsource.com/t/sonarqube-to-azure-ad-is-failing-with-401-error-in-logs/56051/3 "2022-01-11T18:25:46Z")

</div>

Got answer in stackoverflow link pasted in my question. Thanks.
