Get an error like "The token you provided doesn't have sufficient rights to check license."

I got the below error when I execute the Scanner.

17:59:26.939 The token you provided doesn’t have sufficient rights to check license.
17:59:26.939 Pre-processing failed. Exit code: 1

This is in my Local Windows PC for the .Net 4.8 project.
I use the

sonar-scanner-msbuild-5.8.0.52797-net46

scanner version

SonarScanner.MSBuild.exe begin /k:“Platform—Sonarqube” /d:sonar.host.url=“http://localhost:9000” /d:sonar.login=“sqp_63edf690a62ae2a85310a1b6470b15b60ea11bb0”

I have run the sonarcube and it says the status is Operational as well. Someone pls help me to resolve this.

Hello @Eranga_Ananda

To double check: have you verified that the token has been created inside your SonarQube account?

Could you please run the analysis in verbose mode? (append /d:sonar.verbose=true to the Begin step) and share the logs?

A post was split to a new topic: The token you provided doesn’t have sufficient rights to check license