Understanding Build and Release Pipelines – Visual Studio Team Services/Team Foundation Server.

This article is provided in a FAQ format, based on our experience with customers to explain the concept of Pipelines. Hope it helps! Why are Pipelines necessary? To run concurrent builds and/or deploy concurrent releases. The number of pipelines is the maximum number of concurrent builds you can run and/or releases you can deploy at…


Unconfigure Team Foundation Server

Applies to: TFS 2013 and above Sometimes, we’d like to refresh the TFS Application Tier setup to defaults in case there’s an unintended change in services/IIS settings and we want to set it back to defaults. We give an option to Remove Application Tier/Features without having to uninstall the complete application. To “Unconfigure TFS”, please go to…


Test TFS Upgrades: Pre-Production and Production Upgrade to Team Foundation Server (TFS) 2017.2

We received a lot of queries asking to clarify Pre-Production and Production upgrade to TFS 2017 Update 2. This article explains step by step process to upgrade your current TFS (Minimum TFS 2012 RTM) to TFS 2017 update 2 in two stages, Pre-Production Test and use the same machine for a Production Upgrade. Let’s first…


Disabling Get Sources step in vNext build

Applies to/Tested on: TFS 2017/VSTS One of my customer wanted to disable the Get Sources operation in vNext build, which will happen by default with the execution of the build. Following are some of the reasons where you might not want Get Sources operation be enabled. You are already doing a Get sources from TFS using a…


Error while detaching the Collection database : TF246017: Team Foundation Server could not connect to the database.

Environment: TFS 2017 Last weekend while I was with a customer I observed the below error message, it’s interesting to know that this error happened while we were detaching the database to take back up and we could never attach it back again. TF246017: Team Foundation Server could not connect to the database. Verify that…


Connecting to TFS 2017 using VS 2008/MSSCCI Provider for 2013.

As many organizations are upgrading to TFS 2017, there is a growing concern for version controlling old legacy projects on VS 2005/2008, and some confusion on steps to connect to Version Control of TFS 2017 using older Visual Studio (2005/2008) using the MSSCCI provider. This article aims to give steps to connect to TFS 2015/2017 using…


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…