TF401256: You do not have Write permissions for query Shared Queries.

Recently, we worked with a customer on an issue, where a Contributor was not able to save to Shared queries They were getting the below error. We checked permissions on Shared Queries, user is part of the Contributors group. Permissions on Shared Queries are set correctly. However, we found the license level of the User…


The test agent being used does not support the feature to execute tests by selecting Test Suite(s)

Scenario: You are trying to execute tests using the “Run Functional Tests” task, in a vNext build. Under Test Selection, you have chosen “Test Plan”, and have provided the plan and suite details, as indicated below.   However, the test execution fails with the below message: “The test agent being used does not support the…


In-place upgrade to TFS 2017 RTW (Release To Web) with Reporting and SharePoint

We wanted to create a stand-alone, in-place upgrade documentation for TFS 2017 per many customer requests, in addition to the upgrade overview here. This document gives detailed step by step procedure for the in-place upgrade from TFS 2015 update 3 to 2017 RTW with reporting and SharePoint. Before you start the upgrade, please check the…


Error: SSL certificate problem: unable to get local issuer certificate

One of the most common issue with TFS/GIT users come across is the issue caused by self-signed certificates or the corporate certificates. Error: SSL certificate problem: unable to get local issuer certificate This Applied to: TFS 2015 update 3 Git 2.10.0 Android studio 2.1.2 Java 1.7.45 We used Android studio and VSTS/TFS plugin to clone…


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…


Upgrade to Team Foundation Server (TFS) 2017.

This article aims to expand on the Upgrade overview and give a step by step walk-through of the upgrade to TFS 2017.There are some minor changes in the upgrade process that attempts to simplifies it. Upgrade Source Minimum Requirement: Your TFS databases must be at least at the TFS 2012 RTM level to jump to…


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…


Running Automated Test on agent machine using vNext Build

We have been getting lot of customer requests for asking the steps to execute automated test on agent machine using vNext build. This blogs will help you configure and execute an automates test on agent machine using vNext build. Create a new Empty vNext build definition and add the following steps. The remainder of the…