SonarQube yaml file does not find agent

Currently, I have on-prem Azure Devops. We setup SonarQube version

We updated existing yaml files with SonarQube tasks, but then build is never started and we have following result:

If we remove SonarQube tasks, then build pipeline is working and all tasks are being executed.

Do you have any ideas why yaml file with SonarQube tasks is saying that agents are not available?

Issue is related to

  • task: SonarQubeAnalyze@4

If I have prep task, then build will run, but if I have Analyze task then build will not even start to run