The token you provided doesn’t have sufficient rights to check license : error

hello , please help

i have error
" The token you provided doesn’t have sufficient rights to check license."

  • i delete existing token
  • next i create new project
  • and i configure all project again
  • i generate new token
    but a i have same error.

please if have any idees, help

mention:
i use free community version and .net project is local

Welcome :slight_smile:

the scanner < version 5.13 doesn’t know of sonar.token you have to use the former
sonar.login instead, see

  • /d:sonar.token=<token>
    • [recommended] Requires version 5.13+. Use sonar.login for earlier versions.
    • Specifies the authentication token used to authenticate with SonarQube. If this argument is added to the Begin step, it must also be added to the End step.

or update to a more recent scanner version.

Gilbert

1 Like