TFS 2017 Update 1, Nuget Restore task always fails trying to find packages even though they exist on the feed.

We have come across a couple of cases where the Nuget Restore task in TFS 2017 Update 1 would fail when used with the internal Packages feed. The task would fail along the lines of, 2017-04-18T01:40:36.7838703Z Feeds used: 2017-04-18T01:40:36.7838703Z   C:\Users\bldacc\AppData\Local\NuGet\Cache 2017-04-18T01:40:36.7838703Z   C:\Users\bldacc\.nuget\packages\ 2017-04-18T01:40:36.7838703Z   https://server.com/Collection/_packaging/../../nuget/v3/index.json 2017-04-18T01:40:36.7838703Z 2017-04-18T01:40:36.9860291Z Restoring NuGet package MyPack.Framework.11.0.1. 2017-04-18T01:40:37.1287365Z WARNING: Unable to find version…


Use TFS API to add or update ACEs in the ACL for the provided token

I worked on an interesting issue recently, Issue: TFS Service account lost admin rights on a collection. One of the Symptom: Facing access denied issue while trying to upload TFS process template by logging in to machine using TFS service account. The User account is part of Team project collection administrators group and Manage process…