Invalid Azure URL or Personnel access token


Getting below Error while integrating with Azure DevOps Server 2020

Invalid Azure URL or Personnel access token


web[AX+IJFQuZZm3rj+zAAAX][o.s.a.c.a.AzureDevOpsHttpClient] check pat :  [https://servername/DefaultCollection/_apis/projects?api-version=3.0]
2022.03.14 16:46:20 DEBUG web[][o.a.h.i.n.c.MainClientExec] [exchange: 59] start execution
2022.03.14 16:46:20 DEBUG web[][o.a.h.c.p.RequestAddCookies] CookieSpec selected: default
2022.03.14 16:46:20 DEBUG web[][o.a.h.c.p.RequestAuthCache] Re-using cached 'basic' auth scheme for
2022.03.14 16:46:20 DEBUG web[][o.a.h.c.p.RequestAuthCache] No credentials for preemptive authentication
2022.03.14 16:46:20 DEBUG web[][o.a.h.i.n.c.InternalHttpAsyncClient] [exchange: 59] Request connection for {}->

Configured SonarQube HTTPS configuration by using
Configure SSL for SonarQube on Windows (

Server details:
sonarqube- – Windows Server 22
Azure DevOps Server 2020

can you please help on this?

Thank you


Welcome to the community!

It’s not clear to me why you’ve put a proxy between SonarQube and your own self-hosted(?) ADO Server. But IIS configuration is really out of scope for this community. Maybe you could talk to your network folks?


We are unable to integrate Azure DevOps server 2020(On-Prem) which is on https with sonarqube.
Getting Error Invalid Azure Url or Personal Access Token .

In logs it shows check pat : server url .

is it possible to integrate sonarqube (HTTP) with ADS 2020 On-Prem(HTTPS)?
if possible please let us know how to integrate both.

Thank you

Hi All,

Getting Invalid Azure URL or Personnel access token Error

in DEBUG log

2022.04.19 13:57:55 DEBUG web[AYBC+LZQ+xt7G0zHAAAj][o.s.a.c.a.AzureDevOpsHttpClient] check pat : [server url]

Try to resolve by following below steps, but still facing the same issue

Azure DevOps Server On-Premise URL or PAT fails - SonarQube - Sonar Community (

Can anyone please help me out
Thank you.