Recently, I had the same problem: installed VS2017, configured build agent, visualstudio and msbuild features.
Try installing VS2015 next to VS2017. Reconfigure the build agent after this (in my case, I completely deleted all the old _diag, _work and settings.json data). This fixed the problem for me, now missing features were discovered.
source share