`ERROR Project not found.` Unexpected errors affecting organization

Hello team!

We are having a Sonar issue that impacts multiple pipelines & development process in our organization, with a lot of

ERROR Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator to check the permissions of the user the token belongs to

errors being thrown even tho the projects used in pipelines are existing in our Sonar organization.

We had the Azure DevOps Service Connections (SCs) updated with a new Sonar token, but this wasn’t enough. For the Service Connection creator, we added the Execute Analysis permission on the Sonar Project, and only after that did it start working. It’s worth mentioning that this did not happen for one or two projects that we might have had misconfigured, but the issue had a significant impact that affected multiple projects (having different SC owners) unexpectedly, starting about 1 day ago.

We are curious to understand what caused these issues, or if any regression/change existed on your side on how the Sonar analysis is done and pushed into SonarCloud.
Thanks!

  • ALM used - GitHub
  • CI system used - Azure DevOps, GitHub Actions

Unfortunately, I still have to be a bit vague. However, you’re not the only user who ran into an issue!

I hope we can share more soon.

Thanks!
Please let us know if you have any updates on this.

To close the loop here: