If you have some trouble with bower installation and detection on your own agent. A simple workaround is to add bower as a dependency in your project's package.json. The vsts-bower task will then find and use your local version of bower.
If you encounter some trouble with NetworkService account. Add the path from npm prefix -g to the global path and launch the task again.