Sonarqube integration with TFS 2017

  • Sonarqube 8.4.1.35646, sonar-scanner-msbuild-4.6.2.2108-net46, 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.