TFS 2017 NuGet publisher task fails with 401 – Unauthorized exception

With TFS 2017, we have added the new Package Management feature, which lets you host your NuGet packages in TFS. Here is a walk-through of how you can use team build to restore and publish NuGet packages, by making use of the NuGet Publisher task Recently, I have been working with a customer who was…


XAML build service fails with: “The type initializer for LibGit2Sharp.Core.NativeMethods’ threw an exception”

I recently worked on a case where the TFS XAML build service was failing with the below exception: The type initializer for ‘LibGit2Sharp.Core.NativeMethods’ threw an exception. The setup included a TFS 2015 server and a separate machine running the XAML build service. The issue was noticed when the builds began to get stuck in the…


Test execution failing when a Data-Driven test methods is referring parameter values from a test case WorkItem

Recently we are getting cases, where users get the below error when a data-driven test method is referring parameter values from a test case WorkItem. Test execution failure error: The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see “Troubleshooting Data-Driven…


Building a website with TFS build.

Normally, it is a best practice to not include the bin folder of your solution to source control, in TFS; However, there is an exception to this, when it comes to building websites with team build. Issue When building a website with TFS build (vNext and XAML), and the Bin folder is not added to source…


Code Review default queries not fetching data after upgrading to TFS 2015

We recently noticed that code review default queries are not fetching and displaying the data in team explorer. This behavior is noticed only for the reviewer’s login with the code review default query for the team project, which are upgraded from TFs 2013 version to TFS 2015. We tried a new work item query to…


Release hub showing “Release Management is in trial and available to all basic users.”

Recently, we have seen clients concerned that the licensed TFS version displays the message “Release Management is in trial and available to all basic users.” In the Release hub, (Click image to enlarge, please) This is by design. The reason behind the message displayed is, In the earlier licensing model of RM version, only ‘Advanced…


TF51541: The Node ID is not recognized.

You may notice the following error in the Work Item warehouse Sync and subsequently your full analysis sync and Incremental sync would also be failing. Environment : TFS2015 instances where Update 2 RC is installed Additional finding: You will also notice this error post upgrade from RC to RTM 2015 update 2, in this case…


TFS 2015.2 Configuration – Verification check fails with IIS_IUSRS group requiring ‘log on a batch’ permission.

Recently we have seen a few incidents, where the configuration of TFS 2015.2 fails at readiness check with the message, The readiness check fails due to the reason that the built-in security group IIS_IUSRS does not have the required user right ‘Logon as a batch job’. This requirement check was added to TFS 2015.2 after…


Build association with work Items in vNext

When switching from XAML to vNext, I realized the newer build model doesn’t update Global List. Old XAML builds enabled a work flow where work items were created on build failure and then updated those work items, associated with check-ins on successful builds. I couldn’t find a similar feature happening out of the box on…