Failed to request and parse '': The remote server returned an error: (401) Unauthorized

Version : 8.3
Error : Failed to request and parse ‘’: The remote server returned an error: (401) Unauthorized.
Steps to reproduce : Implemented SAML authentication and we are initiating SonarQube from TFS 2019 using the Market place extension.

I an getting the following error

19:50:53.016 Failed to request and parse ‘http://10.0.24.51:9000/api/settings/values?component=ProjectName’: The remote server returned an error: (401) Unauthorized.

19:50:53.018 Could not authorize while connecting to the SonarQube server. Check your credentials and try again.

19:50:53.02 Pre-processing failed. Exit code: 1

The process ‘C:\At_work_tasks\SonarQubePrepare_15b84ca1-b62f-4a2a-a403-89b77a063157\4.11.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe’ failed with exit code 1

I have even provided the following properties in
sonar.login=domainname\login
sonar.password=*******

Hi @darshanku12,

In order for me to understand your issue : the error you’ve reported happen during the execution of the msbuild scanner, am I correct ?

If yes, then you need to specify a user token to the msbuild scanner, and you should not try to use your SAML credentials.

Regards,
Julien Lancelot