[2025.1 / ADO 7.1.1] Error fetching component measures during Publish

Hi @nbl

We finally were able to reproduce your issue.

The problem is related to the token types.
You are using the Global/Project Analysis Token types that give the Sonar Scanner the permission to push analysis reports to the SonarQube Server.
Unfortunately, these tokens are not allowed to fetch the measures displayed in the AzureDevops widget by the SonarQubePublish@7 task.

We are going to discuss this issue but in the meantime, you should be able workaround it by using a User Token type for your AzureDevops Connection.

You can follow this ticket if you want:

1 Like