The token you provided doesn't have sufficient rights to check license

I’m having an issue with the prepare analysis step in Azure DevOps where it fails with the message “The token you provided doesn’t have sufficient rights to check license.”
I have tried recreating the token and reinstalling the sonarqube extension.

I’m running sonarqube community edition version 7.9.5
and azure devops extension version 4.17
Azure DevOps 2019

Any ideas what I could try to fix the issue?

Anyone?

The problem was an existing problem that the service connection was made in while sonarqube was still requesting a separate password. Deleting the service connection and creating a new one fixed the issue.

For more information about this issue, I found this one: Azure DevOps Scanner The token you provided doesn't have sufficient rights to check license - #12 by mickaelcaro

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.