Problem with azure devops reporting

Hi , I’m having problem with my sonarcube instance. It’s giving me 401 when pipeline attempts to download report to azure devops

Starting: SonarQubePrepare
Task         : Prepare Analysis Configuration
Description  : Prepare SonarQube analysis configuration
Version      : 5.13.0
Author       : sonarsource
Help         : Version: 5.13.0. [More Information](
D:\a\_tasks\SonarQubePrepare_xxxxxx\5.13.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe begin /k:xxxtokenxxx
SonarScanner for MSBuild 5.13
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
14:27:57.337  Updating build integration targets...
14:27:57.9  Fetching analysis configuration settings...
14:28:00.604  Provisioning analyzer assemblies for cs...
14:28:00.604  Installing required Roslyn analyzers...
14:28:00.604  Processing plugin: csharp version
14:28:00.964  Processing plugin: vbnet version
14:28:00.995  Processing plugin: securitycsharpfrontend version
14:28:02.496  Provisioning analyzer assemblies for vbnet...
14:28:02.496  Installing required Roslyn analyzers...
14:28:02.496  Processing plugin: csharp version
14:28:02.496  Processing plugin: vbnet version
14:28:02.496  Downloading cache. Project key: xxxtokenxxx, branch: develop.
14:28:02.683  Downloading from failed. Http status code is NotFound.
14:28:02.699  Cache data is empty. A full analysis will be performed.
14:28:02.714  Pre-processing succeeded.

that link when attempted from browser is giving me 401 error.
The token have all the permissions I could find

Can you help me ?


Welcome to the community!

A 401 code means ‘unauthorized’. Are you sure the token you’re providing for analysis has permissions on the project?


thank you it was my first thought so I went to project settings and checked all checkboxes

Also I noted today this

it leads me to azure devops configuration but check configuration is correct


Since you’ve granted Anyone analysis rights, can you remove your analysis token and try again?