PR Decoration and Comments Not Showing in Azure DevOps Despite Correct Setup

Hi SonarCloud Community,

I am experiencing an issue where pull request (PR) decoration and comments are not appearing in Azure DevOps, even though the setup appears to be correct. Here are the details:

  • The Azure DevOps repository is linked to the SonarCloud project.
  • The project has PR decoration enabled with Azure DevOps as the provider.
  • A Personal Access Token (PAT) with the required scopes (Code and Pull Requests) is configured and used in the pipeline.
  • PR triggers are correctly defined in our YAML pipeline (pr.branches.include).
  • The sonar.projectKey, sonar.organization, and sonar.login are properly set via sonar-project.propertiesor extraProperties.
  • The PR analysis runs successfully, and results show up in SonarCloud — but the decoration is not posted back to the Azure DevOps PR.

Can you please help investigate why PR decoration is not working?