File exclusion working in sonarqube but not working in sonar cloud

  • ALM used - Azure DevOps
  • CI system used - Azure DevOps
  • Scanner command used when applicable (private details masked)
  • Languages of the repository - C#, cshtml, js, css
  • Error observed (wrap logs/code around with triple quotes ``` for proper formatting)

I have sonarqube in local environment. and I have setup several exclusion rules like following

and they are working

But when I apply the same rules in sonarcloud it not working

rules in sonar cloud

I have ran the analysis several times after adding rules.

I have the same issue in ADO.
Following…

I have the same issue coming from 7.5 where its working but doesn’t work the same way on SonarCloud.io. I’ve tried a lot of things but no solution yet.