Unable to mute Sonar Cloud Bot comments on PR even after revoking PAT Token

  • ALM used Azure DevOps
  • CI system used Azure DevOps
  • Languages of the repository is C#

I want to mute Sonar Cloud Bot comments on PR because it is putting comments on code smells on the whole file instead of the code diff. This is causing the bot to be very noisy.
I noticed this issues happens only for MS-Hosted build pipelines, it works fine for self hosted pipelines. This is on Azure DevOps.

I decided to mute the Sonar Cloud Bot as a whole by revoking the PAT token on Sonar Cloud Console. I was expecting this will stop sonar cloud bot as a whole on adding comments, but i see the comments are still coming from sonar cloud bot even after revoking the PAT token.


Welcome to the community!

Are you saying you’re seeing a different behavior based on where your pipeline is hosted? Because PR decoration happens from the SonarCloud server, not from your pipeline.

It’s likely you have a project-level PAT configured.