Versions: SonarQube: 22.214.171.124863, SonarQube Azure Devops Extension: 4.11.0
Service connection success message: “Connected to service using credentials”
I get the following error asking for creds, indicating that the token is not working:
Error: Error during SonarScanner execution
Error: Not authorized. Please check the properties sonar.login and sonar.password.
I add sonar.login, sonar.password, and it asks for sonar.projectKey.
I add sonar.projectKey and analysis runs successfully, but I get an error.
Could not fetch metrics
API GET ‘/apimetrics/search’ failed, status code was: 401
In SonarQube, I look at the token information and it indicates that the token has never been used.
Looked under “Variables” Tab… only default settings there.
There are no sonar project property files in the project.
I’ve tried deleting and re-creating the service connection.
Thank you for your help! I greatly appreciate it!