Getting error for sonarcloud task in ADO with java 17

Hey there.

Could you try this solution, setting the SONAR_SCANNER_OPTS environment variable in your pipeline?