PAT Tokens not working at all

The Azure Devops Task ‘Run Code Analysis’ is failing, even with the PAT takens reset in Sonarcloud (both project and Org)

Template for a good bug report, formatted with Markdown:

  • versions used (SonarQube, Scanner, Plugin, and any relevant extension)
  • error observed (wrap logs/code around triple quote ``` for proper formatting)
  • steps to reproduce

! potential workaround - none, production is dead in the water!

P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour

Hello @gwnbusby,

The reason it is failing is that the PAT is either not set or incorrect. I see you already posted that you have problem setting the correct PAT here: PAT token settings always shows Valid - #7 by Marcin_Majewski, I asked some additional questions there to help you out.

Resetting the PAT will not help in this case, as the PAT has to be valid in order to sucesfully execute the analysis.

Best,
Marcin