Using the SonarScanner.MSBuild.exe getting 'the token you provided doesn't have sufficient rights

Using SonarQube developer edition and the SonarSCanner.MSBuild.exe.

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi,

Welcome to the community!

This thread might help:

 
Ann

Hi Ann,
The posts on this topic refer to integration with azure devops. I’m simply doing this locally from the command line. I’ve issued the token from sonarqube. Any help would be appreciated.

Bob

Hi Bob,

In a vanilla analysis context, I believe the message is just a vanilla permissions error. You should make sure you’re providing an analysis token that has permissions to analyze the project.

 
HTH,
Ann