"No organization exists" when connecting to SonarQube Cloud from SonarQube Extension

I am seeking guidance to troubleshoot the “No organization exists” error encountered when configuring the SonarQube extension in Visual Studio 2026 to connect to SonarQube Cloud.

I have undertaken the following verification steps:

  • Confirmed that the email address used in Visual Studio 2026 matches the one registered in SonarQube Cloud.
  • Successfully generated an authentication token, which is visible and active in SonarQube Cloud.
  • Verified that the organisation key is correct and matches the one configured in SonarQube Cloud.

During the final step, “Select SonarQube organisations”, I entered the organisation key obtained from SonarQube Cloud; however, I encountered the error message: “No organization exists.”

Additionally, I can confirm that our Azure DevOps environment is correctly integrated with SonarQube, as we are currently able to perform code quality checks without issue.

I would appreciate your assistance in identifying the root cause of this issue and advising on the appropriate resolution.

Thank you.

Hi @jcavant and welcome to the Community! Let’s go over some initial troubleshooting:

  • Which version of the SonarQube for Visual Studio extension are you using?
  • Could you share verbose logs gathered while reproducing the issue?
  • I would also like to rule out this being a VS 2026-specific issue. Could you also try the same setup but with VS 2022?

Hi, many thanks for getting back to me.

I have:

Visual Studio 2022 Professional 17.14.34
SonarQube for Visual Studio (Extension) 10.3.0.16878

Visual Studio 2026 Professional 18.7.0
SonarQube for Visual Studio (Extension) 10.2.3.16878

Here is a snapshot of my Visual Studio 2026 verbose logs:

1390
2026/06/14 22:47:13.299
Warning
VisualStudio
PkgDef encountered data collision in section ‘HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\18.0_6df9388b_Config\ToolsOptionsPages\SonarQube’ for value ‘Package’
c:\users\ikang.chiao\appdata\local\microsoft\visualstudio\18.0_6df9388b\extensions\1cbt03ir.52b\sonarlint.2022.pkgdef

1391
2026/06/14 22:47:13.299
Warning
VisualStudio
PkgDef encountered data collision in section ‘HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\18.0_6df9388b_Config\ToolsOptionsPages\SonarQube’ for value ‘’
c:\users\ikang.chiao\appdata\local\microsoft\visualstudio\18.0_6df9388b\extensions\1cbt03ir.52b\sonarlint.2022.pkgdef

1392
2026/06/14 22:47:13.299
Warning
VisualStudio
PkgDef encountered data collision in section ‘HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\18.0_6df9388b_Config\ToolsOptionsPages\SonarQube’ for value ‘Package’
c:\users\ikang.chiao\appdata\local\microsoft\visualstudio\18.0_6df9388b\extensions\1cbt03ir.52b\sonarlint.2022.pkgdef

1393
2026/06/14 22:47:13.299
Warning
VisualStudio
PkgDef encountered data collision in section ‘HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\18.0_6df9388b_Config\AutomationProperties\SonarQube’ for value ‘’
c:\users\ikang.chiao\appdata\local\microsoft\visualstudio\18.0_6df9388b\extensions\1cbt03ir.52b\sonarlint.2022.pkgdef

1394
2026/06/14 22:47:13.299
Warning
VisualStudio
PkgDef encountered data collision in section ‘HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\18.0_6df9388b_Config\AutomationProperties\SonarQube’ for value ‘Package’
c:\users\ikang.chiao\appdata\local\microsoft\visualstudio\18.0_6df9388b\extensions\1cbt03ir.52b\sonarlint.2022.pkgdef

1395
2026/06/14 22:47:13.299
Information
VisualStudio
Importing pkgdef file
c:\users\ikang.chiao\appdata\local\microsoft\visualstudio\18.0_6df9388b\extensions\1cbt03ir.52b\sonarlint.visualstudio.connectedmode.pkgdef

Are they any of concerns? Connection configurations on both VS2022 and 2026 are not successful.

Look forward to hearing from you.

Due to company policy, I am not able to upload images on the post, here I attach some screenshots.

Hey! Those warnings are unrelated. So you didn’t see any errors in the extension’s logs?

I tried setting the extension to log at verbose level, then I went though the connected mode wizard up to the point where I browse the organizations that my token has access to, and I see in the logs:

[DEBUG] [ThreadId 76] [SLCore] [sonarlint > SonarLint Server RPC request executor] Load user organizations...
[DEBUG] [ThreadId 89] [SLCore] [sonarlint > SonarLint Server RPC request executor] GET 200 https://sonarcloud.io/api/organizations/search.protobuf?member=true&ps=500&p=1 | response time=702ms

Do you see anything equivalent? Can you search your logs for “Load user organizations…”?

Another approach you could try: run the API call yourself, GET https://sonarcloud.io/api/organizations/search.protobuf?member=true&ps=500&p=1 passing your token in an Authorization Bearer header.

Hi

Would you please share the steps to set the extension to log at the verbose level?

Also, with your recommendation, the following is what I see from the API call made via Poatman:

As per the docs I shared previously: Extensions > SonarQube > Options… > General and set your Logging level to Verbose. Then reproduce your issue, and then Extensions > SonarQube > Help > Show Logs.

Hi mate,

Here you go. Appreciate your help.

(attachments)

SonarQube Extension Verbose logs.txt (37.7 KB)

Every request to SonarCloud is running into:

javax.net.ssl.SSLHandshakeException: (certificate_unknown) The certificate chain is not trustedCaused by: java.security.cert.CertificateException: The certificate chain is not trustedPKIX path building failed: ... unable to find valid certification path to requested target

Moreover, the certificate the extension sees for both *.sonarcloud.io and *.sonarsource.com is issued by:

CN=ca.avant.au.goskope.com, O=Avant Mutual Group Limited ...

Which is of course not the certificate that our services use. I am guessing this is coming from your company’s proxy which is inspecting all HTTPS traffic and then re-wrapping it in an internal CA.

The solution is to add this certificate to the IDE extension’s truststore. See the following docs: Advanced configuration | Visual Studio | Sonar Documentation

Hi there,

Having worked with internal infrastructure team, I am able to connect to our DevOps/ Organization in the Visual Studio SonarQube extension. Many thanks for your help and detailed steps.