Is Valid License Error


I hope I’ve got the right forum for this post.

Not often, but sometimes. When attempting to scan with SonarQube, we get the error message

“The token you provided doesn’t have sufficient rights to check license.”

The token being used is working fine on other Azure DevOps Build pipelines, just not after being used on a specific one.

We’re using the v7.9.5 community edition, and when running the “is_valid_license” api call, we’re getting the following error;

{“errors”:[{“msg”:“Unknown url : /api/editions/is_valid_license”}]}

I’ve tried restarting the SonarQube service, VSTS service, removing and re-adding the service connection, as well as creating a brand new token to be used but nothing has resolved this.

Are you able to help at all?



Closing this topic as a duplicate of