Sonarqube integration with TFS 2017

  • Sonarqube, sonar-scanner-msbuild-, Sonar plugin in TFS
  • trying to create a task in TFS Build. Throwing error - No agent found in pool Default which satisfies the specified demands: msbuild visualstudio vstest java Agent.Version -gtVersion 2.119.1
  • I installed Java in the build agent server. restarted the service also. Verfiied in the agent capabilities. All these specified demands are there.

please suggest to resolve this issue.