I have configured a build server for TFS 2017 and vNext build for my web application. This was working fine until yesterday. Suddenly I started getting the message "Waiting for an available agent" when I try to queue the build. Even if I hit cancel, the build is stuck with the status 'cancelling'.
- Agent pool is green. All demands match with the build expectation.
- Have restarted the Agent service on the build server.
- Also tried restarting the "Visual studio backgroud agent job service" as suggested in this question
- Agent doesn't have any log file after build stopped working.
Has anyone faced / solved similar issue?