How to fail pipeline when SonarCloudAnalyze has an error on Azure DevOps

Does this mean that this has been fixed in the last year and this answer is no longer valid: Ensure 0 issues across all code - #9 by ganncamp ?