You're not authorized to run analysis

Hi.

I’m having trouble generating the scan from Cicle Ci to SonarCloud.
I am a Sonar administrator and have also authorized my user on the project. Even placing SONAR_TOKEN inside the CI it generates an error saying that I am not allowed to generate scan. See below.

evid2

Hi @UilianM,

Did you check the permissions the user owning the token has on the target project? The user should have “Execute Analysis” permission.

Hi.

See my permission of the project bellow.

See that it stops when it will list the quality profiles. I saw in another topic here a user with the same problem and when he manipulated the quality profiles the problem was solved. Can’t that be a bug?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.