<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Microsoft Team Foundation Server Support</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/tfssetup/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/tfssetup/feed.xml</link>
    <description>The Microsoft TFS Support Team&amp;#039;s Blog</description>
    <lastBuildDate>Thu, 23 Aug 2018 19:50:28 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Understanding Build and Release Pipelines - Visual Studio Team Services/Team Foundation Server.</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/understanding-build-and-release-pipelines-visual-studio-team-servicesteam-foundation-server</link>
      <pubDate>Tue, 14 Nov 2017 20:37:43 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4885</guid>
      <description><![CDATA[This article is provided in a FAQ format, based on our experience with customers to explain the...]]></description>
      <content:encoded><![CDATA[This article is provided in a FAQ format, based on our experience with customers to explain the concept of Pipelines. Hope it helps!

<strong>Why are Pipelines necessary?</strong>
<ul>
 	<li>To run concurrent builds and/or deploy concurrent releases.</li>
 	<li>The number of pipelines is the <strong>maximum number of concurrent builds you can run </strong>and/or <strong>releases you can deploy at any point in time</strong>.</li>
</ul>
<strong>Types of Pipeline:</strong>
<ul>
 	<li><strong>Private pipelines</strong>
<ul>
 	<li>VSTS - <strong>run multiple builds </strong>and/or <strong>deploy multiple releases </strong></li>
 	<li>TFS 2017 - <strong>deploy multiple releases </strong></li>
 	<li>With Private Pipelines, you install agent software supplied by Microsoft on machines that you run and manage.</li>
</ul>
</li>
 	<li><strong>Hosted pipelines</strong>
<ul>
 	<li>Only for VSTS - <strong>run multiple builds </strong>and/or <strong>deploy multiple releases </strong>simultaneously using a pool of agents managed by Microsoft.</li>
 	<li>Microsoft is responsible for patching and updating these machines so you don’t need to worry about this.</li>
</ul>
</li>
</ul>
<strong>Private pipelines:</strong>
<ul>
 	<li>There is <strong>one Private Pipeline included </strong>with each Team Services account</li>
 	<li>Plus <strong>one additional Private Pipeline </strong>for each active <strong>Visual Studio Enterprise subscriber </strong>who is a member of your account.</li>
 	<li><strong>With TFS</strong>, you only need pipelines for deploying releases; <strong>no pipelines are required for builds </strong>since unlimited concurrent builds are included with the TFS server license.</li>
 	<li>For Release in TFS 2017: One Private Pipeline is included with TFS 2017, plus one additional Private Pipeline for each active Visual Studio Enterprise subscriber within your organization.</li>
 	<li>Do I need concurrent pipelines in TFS 2015 or TFS 2013? Short answer: <strong>NO</strong>.</li>
</ul>
<strong>Hosted pipelines:</strong>
<ul>
 	<li>With your VSTS account, you start with <strong>240 minutes </strong>on one Hosted Pipeline for free, with a <strong>maximum single job </strong>duration of <strong>30 minutes</strong>.</li>
 	<li><strong>With the first purchase of a hosted pipeline</strong>, the 240 minute limit on total build and release time as well as the 30 minute limit on a single job are <strong>waived</strong>. It increases the maximum duration of a single job to 6 hours.</li>
 	<li><strong>Each additional purchase </strong>of a hosted pipeline <strong>adds another hosted agent </strong>for running your builds and releases.</li>
</ul>
<strong>Resource limits:</strong>

To view the number of pipelines purchased, open the <strong>Build and Release</strong> section of the <strong>Settings</strong> page, and select <strong>Resource limits</strong>.

<em>VSTS:</em>

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/112.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/11/112.jpg" alt="" class="aligncenter size-full wp-image-4895" width="1216" height="590" /></a><em>TFS 2017:</em>

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/25.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/11/25.jpg" alt="" class="aligncenter size-full wp-image-4896" width="1366" height="438" /></a><strong>What if a user doesn’t want to Purchase extra Hosted pipeline, but the free 240 minutes are over?</strong>

Open Azure portal then navigate to -&gt; Team Services accounts -&gt; Select the VSTS account -&gt; Build and Deployment service

Change the minutes to PAID and set the limit.

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/34.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/11/34.jpg" alt="" class="size-full wp-image-4897 alignleft" width="601" height="575" /></a>

&nbsp;

Build per minute pricing is…

*First 240 minutes per month free

*$.05/minute for the next 20 hours/month

*$.01/minute for usage above 20 hours/month

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

<strong>Is sharing of pipeline (Private and hosted) is possible?</strong>
<ul>
 	<li>You <strong>cannot</strong> use <strong>private pipeline for hosted agent</strong>.</li>
 	<li>You <strong>can</strong> use <strong>hosted pipeline for private agent</strong>.
<ul>
 	<li>However…</li>
</ul>
</li>
</ul>
Hosted pipeline can only reach out to machines that are publicly addressable.

They cannot talk to machines that are not addressable from the Internet.

They cannot establish a ExpressRoute connection to your machines either.

So, if your on-premise machine is behind your firewall and cannot be reached publicly, then you need a private pipeline.

&nbsp;

<strong>How a pipeline is consumed:</strong>

Consider a VSTS account that has only one pipeline.

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/43.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/11/43.jpg" alt="" class="aligncenter size-full wp-image-4905" width="624" height="315" /></a>
<ol>
 	<li>FabrikamFiber CI <strong>Build 102 </strong>(master branch) <strong>is first to be started</strong>.</li>
 	<li>Deployment of FabrikamFiber <strong>Release 11 is triggered </strong>by completion of FabrikamFiber CI Build 102.</li>
 	<li>FabrikamFiber CI <strong>Build 101 </strong>(feature branch) is triggered. The build can't start yet because <strong>Release 11's deployment is active. So the build stays queued.</strong></li>
 	<li><strong>Release 11 waits for approvals</strong>. Fabrikam <strong>CI Build 101 starts </strong>because a release waiting for approvals does not consume a pipeline.</li>
 	<li><strong>Release 11 is approved</strong>. It resumes only after Fabrikam CI Build 101 is completed.</li>
</ol>
A release requires a pipeline only when it is being actively deployed to an environment. <strong>Waiting for an approval or a manual intervention does not consume a pipeline.</strong>

<strong>Concurrent processing within a single build or release:</strong>
<ul>
 	<li>Concurrent processing within a single build or release does not require additional concurrent pipelines. So long as you have enough agents, you can:
<ul>
 	<li>In a build process, <strong>run multiple build configurations </strong>at the same time.</li>
 	<li>In a release process, <strong>deploy to multiple environments </strong>at the same time.</li>
</ul>
</li>
</ul>
<strong>Example:</strong>

Suppose your VSTS account has <strong>three concurrent pipelines</strong>. You can have <strong>more than three Private agents</strong> running at the same time to perform parallel operations within builds and releases.

<a href="https://msdnshared.blob.core.windows.net/media/2017/11/53.jpg"><img src="https://msdnshared.blob.core.windows.net/media/2017/11/53.jpg" alt="" class="aligncenter size-full wp-image-4906" width="762" height="489" /></a>

<strong>Sharing of pipelines across projects in a collection:</strong>
<ul>
 	<li><strong>Pipelines are purchased at the account level</strong>, and they are <strong>shared amongst all projects</strong> in an account.</li>
 	<li>Cannot partition or dedicate certain pipelines to a specific project or agent pool.</li>
 	<li><strong>For Example:</strong>
<ul>
 	<li>You purchase two pipelines in your account.</li>
 	<li>You queue two builds in the first project, and both the pipelines are consumed.</li>
 	<li>You queue a build in the second project. That build will not start until one of the builds in your first project is completed.</li>
</ul>
</li>
</ul>
<strong>References:</strong>
<ul>
 	<li><a href="https://docs.microsoft.com/en-us/vsts/build-release/concepts/licensing/concurrent-pipelines-ts">https://docs.microsoft.com/en-us/vsts/build-release/concepts/licensing/concurrent-pipelines-ts</a></li>
 	<li><a href="https://marketplace.visualstudio.com/items?itemName=ms.build-release-hosted-pipelines">https://marketplace.visualstudio.com/items?itemName=ms.build-release-hosted-pipelines</a></li>
 	<li><a href="https://marketplace.visualstudio.com/items?itemName=ms.build-release-private-pipelines">https://marketplace.visualstudio.com/items?itemName=ms.build-release-private-pipelines</a></li>
 	<li><a href="https://docs.microsoft.com/en-us/vsts/build-release/concepts/licensing/concurrent-pipelines-tfs">https://docs.microsoft.com/en-us/vsts/build-release/concepts/licensing/concurrent-pipelines-tfs</a></li>
</ul>
<strong>Content: Kirthish Kotekar Tharanatha
Reviewer: Deepak Mittal</strong>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2018 RC2 is now available for download!</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/tfs-2018-rc2-is-now-available-for-download</link>
      <pubDate>Mon, 25 Sep 2017 20:34:11 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4865</guid>
      <description><![CDATA[TFS 2018 RC2 is now available for download. For download links and more information, check out the...]]></description>
      <content:encoded><![CDATA[<span>TFS 2018 RC2 is now available for download. For download links and more information, check out the post from Brian Harry at </span><a href="https://blogs.msdn.microsoft.com/bharry/2017/09/25/tfs-2018-rc2-is-available/">TFS 2018 RC2 Availability</a>]]></content:encoded>
    </item>
    <item>
      <title>Unconfigure Team Foundation Server</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/unconfigure-team-foundation-server</link>
      <pubDate>Mon, 25 Sep 2017 20:24:56 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4795</guid>
      <description><![CDATA[Applies to: TFS 2013 and above

Sometimes, we'd like to refresh the TFS Application Tier setup to...]]></description>
      <content:encoded><![CDATA[<span style="text-decoration: underline"><em>Applies to: TFS 2013 and above</em></span>

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 the Team Foundation Administration Console on the Application Tier machine. Click on the server name and click on "Remove Feature"

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/158.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/158.png" alt="" width="1179" height="819" class="aligncenter size-full wp-image-4805" /></a>

By Removing the feature, we will be removing
<ul>
 	<li>The Application Tier configuration from the server (but we don't remove the binaries)</li>
 	<li>Connection with Data tier (but the databases won’t be deleted)</li>
 	<li>TFS Website.</li>
 	<li>TFS Application Pools</li>
 	<li>TFS Services (The Visual Studio Team Foundation Server Job Agent)</li>
</ul>
You can do the same from command prompt, execute <strong>TfsConfig setup /uninstall:ApplicationTier</strong> command to unconfigure TFS Application Tier. (You can also use various switches to remove other features SharePointExtensions, TeamBuild and VersionControlProxy) from server machine. More details <a href="https://docs.microsoft.com/en-us/vsts/tfs-server/command-line/tfsconfig-cmd#setup">here</a>

<strong>Content: Shruti Sharanappa
Review: Manigandan Balachandran</strong>]]></content:encoded>
    </item>
    <item>
      <title>Test TFS Upgrades: Pre-Production and Production Upgrade to Team Foundation Server (TFS) 2017.2</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/test-tfs-upgrades-pre-production-and-production-upgrade-to-team-foundation-server-tfs-2017-2</link>
      <pubDate>Mon, 25 Sep 2017 20:12:02 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4605</guid>
      <description><![CDATA[We received a lot of queries asking to clarify Pre-Production and Production upgrade to TFS 2017...]]></description>
      <content:encoded><![CDATA[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 understand the types of upgrade,

<strong>Pre-Production Upgrade</strong> (Use this to <em>test </em>your upgrade. This process test upgrades the databases. You can use this to simultaneously test your TFS 2017 on another hardware while continue to use your existing older TFS up)
<em><u>Note: This must be done on a copy of TFS databases on a separate server. It upgrades the databases to 2017 version. The intent is to test upgrade on a different server.  Also, this upgrade takes care of <strong>tfsconfig remapdbs</strong>, <strong>tfsconfig changeserverid</strong> and <strong>tfsconfig prepareclone </strong>which changes the GUIDs of the databases and avoid cross talk because there can’t be 2 instances of TFS/Collection with the same GUID. More information </u></em><a href="https://blogs.msdn.microsoft.com/buckh/2006/10/17/creating-a-new-server-from-an-old-one-beware-of-the-instanceid/">here.</a>

<em><u>Pre-production upgrade is mainly recommended because if we discover any glitches we can work through them so that we don’t encounter them in production upgrade. Once we have completed pre-production upgrade we can test the features and if everything looks good we can proceed for production upgrade. </u></em>
<strong>Production Upgrade</strong> (Once you are ready for upgrade, restore the databases again and use this mode) We have a new step-by-step article for in-place upgrade <a href="https://blogs.msdn.microsoft.com/tfssetup/2016/12/19/in-place-upgrade-to-tfs-2017-rtw-release-to-web-with-reporting-and-sharepoint/">here</a>

&nbsp;

<em>Note: Here are the <a href="https://docs.microsoft.com/en-us/vsts/accounts/requirements">system requirements</a> to ensure you have the supported hardware/software configurations.</em>

<strong>Permission Requirements:</strong>
The Account running the upgrade needs the following permissions.
<ul>
 	<li>Local Administrator on the Application Tier.</li>
 	<li>SysAdmin on SQL Data Tier.</li>
 	<li>For Reporting,
<ul>
 	<li>Ensure you have Report Manager and Local Admin on the report server permissions.</li>
 	<li>Ensure you have ServerAdmin Privilege on the Analysis Instance.</li>
</ul>
</li>
 	<li>For SharePoint,
<ul>
 	<li>Ensure the account used for the upgrade is a Farm Admin</li>
</ul>
</li>
</ul>
In this blog, I am upgrading my TFS 2015 RTM to TFS 2017 Update 2. Please note this article doesn’t include reporting and SharePoint. For reporting and SharePoint steps are very similar to previous versions for which you can refer to our previous <a href="https://blogs.msdn.microsoft.com/tfssetup/2015/09/30/migration-update-from-team-foundation-server-tfs-2013-to-tfs-2015-with-reporting-and-sharepoint/">blog</a>.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/155.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/155.png" alt="" class="aligncenter size-full wp-image-4635" width="779" height="420" /></a>

<strong>Stage 1:</strong>
You must have *all* Tfs_Databases (Tfs_Configuration, Tfs_Collections, Tfs_Warehouse (if you have reporting) restored to the Database Engine.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/218.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/218.png" alt="" class="aligncenter size-full wp-image-4815" width="744" height="422" /></a>

Install TFS 2017
<a href="https://blogs.msdn.microsoft.com/bharry/2017/07/24/tfs-2017-update-2-rtm/">Download and Install TFS 2017</a>. On existing TFS 2013/2015 installation, this installer will uninstall the older TFS version and install the 2017 binaries.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/310.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/310.png" alt="" class="size-full wp-image-4646 alignnone" width="407" height="569" /></a><a href="https://msdnshared.blob.core.windows.net/media/2017/09/54.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/54.png" alt="" class=" wp-image-4655 alignnone" width="405" height="567" /></a><a href="https://msdnshared.blob.core.windows.net/media/2017/09/310.png"></a>

After successful installation, you will get TFS administration console

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/63.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/63.png" alt="" class="aligncenter size-full wp-image-4656" width="983" height="653" /></a>

Click on “Configure installed features”

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/73.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/73.png" alt="" class="aligncenter size-full wp-image-4695" width="985" height="659" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/81.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/81.png" alt="" class="aligncenter size-full wp-image-4705" width="986" height="662" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/92.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/92.png" alt="" class="aligncenter size-full wp-image-4687" width="989" height="658" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/72.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/72.png" alt="" class="aligncenter size-full wp-image-4666" width="985" height="659" /></a>

&nbsp;

Since we already have databases backed up we are choosing second option “I have existing databases to use for this Team Foundation Server deployment”

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/101.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/101.png" alt="" class="aligncenter size-full wp-image-4677" width="984" height="657" /></a>

Once the database server with TFS databases is specified, let’s select “Pre-production upgrade”

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/1110.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/1110.png" alt="" class="aligncenter size-full wp-image-4676" width="987" height="660" /></a>

<em>Note: When you create a test server/test your upgrade using Production databases, it’s recommended to change the GUIDs of the databases to avoid cross talk. More information <a href="https://blogs.msdn.microsoft.com/buckh/2006/10/17/creating-a-new-server-from-an-old-one-beware-of-the-instanceid/">here</a>.</em>
<em> The Pre-Production Upgrade option takes care of the steps recommended to change the IDs and do a test upgrade, so we can have Production and Test running at the same time (IDs are changed in the Test upgrade)</em>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/1210.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/1210.png" alt="" class="aligncenter size-full wp-image-4715" width="993" height="717" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/1313.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/1313.png" alt="" class="aligncenter size-full wp-image-4856" width="961" height="691" /></a>

You can specify the site settings and bindings directly from the wizard as per your requirement.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/1410.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/1410.png" alt="" class="aligncenter size-full wp-image-4726" width="998" height="715" /></a>

This is how the review of our configuration looks. If everything is as expected please proceed with ‘Verify’

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/157.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/157.png" alt="" class="aligncenter size-full wp-image-4746" width="993" height="801" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/162.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/162.png" alt="" class="aligncenter size-full wp-image-4755" width="964" height="787" /></a>

Now we’re ready to “Configure”.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/172.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/172.png" alt="" class="aligncenter size-full wp-image-4756" width="963" height="791" /></a>

<i>Note: The wizard will now update you if the Current Prod and Test URLs are the same. Be sure to change them for test upgrade.</i>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/182.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/182.png" alt="" class="aligncenter size-full wp-image-4766" width="967" height="790" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/192.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/192.png" alt="" class="aligncenter size-full wp-image-4775" width="972" height="800" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/201.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/201.png" alt="" class="aligncenter size-full wp-image-4776" width="965" height="792" /></a>

<em>Note: The warning here occurs when you upgrade from 2015.3 and before to TFS2017. In case you encounter this, users will need to manually migrate these Query Bases Suites (change query to use new Area Path naming convention which does not include ProjectName).</em>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/217.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/217.png" alt="" class="aligncenter size-full wp-image-4786" width="1340" height="617" /></a>

This completes our pre-production upgrade. You can use this setup to test TFS for new features/compatibility etc.,

Once you're ready to go live...

<strong>Stage 2:</strong>
In this phase we will use the same Application Tier/Data Tier to do the production upgrade.
First, we need to unconfigure TFS on the AT. A detailed explanation <a href="https://blogs.msdn.microsoft.com/tfssetup/2017/09/25/unconfigure-team-foundation-server/">here</a>.
Now you will see application tier is ready to be configured again.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/242.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/242.png" alt="" class="aligncenter size-full wp-image-4825" width="1172" height="609" /></a>

But before that, <strong>delete</strong> the upgraded databases in test (Tfs_Configuration, Tfs_Collections, Tfs_Warehouse (if you have reporting) and restore them all again from production.

Go back to administration console and click “Configure installed features” and follow similar steps. Since in Stage 1 we have successfully tested the upgrade we can proceed with production upgrade and follow the familiar upgrade steps from before.
<a href="https://msdnshared.blob.core.windows.net/media/2017/09/331.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/331.png" alt="" class="aligncenter size-full wp-image-4845" width="985" height="659" /></a>
<em>Production Upgrade option keeps the IDs intact. This means you cannot use the same set of databases to host another TFS server.</em>

I am also configuring search feature here. This option is not available in pre-production upgrade. For more details on search feature refer to <a href="https://docs.microsoft.com/en-us/vsts/search/code/administration">link</a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/361.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/361.png" alt="" class="aligncenter size-full wp-image-4855" width="987" height="657" /></a>

This completes our production upgrade!

<strong>Content: Shruti Sharanappa</strong>
<strong>Review: Manigandan Balachandran</strong>]]></content:encoded>
    </item>
    <item>
      <title>Disabling Get Sources step in vNext build</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/disabling-get-sources-step-in-vnext-build</link>
      <pubDate>Mon, 25 Sep 2017 17:44:57 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4606</guid>
      <description><![CDATA[Applies to/Tested on: TFS 2017/VSTS

One of my customer wanted to disable the Get Sources...]]></description>
      <content:encoded><![CDATA[<span style="text-decoration: underline"><em>Applies to/Tested on: TFS 2017/VSTS</em></span>

One of my customer wanted to disable the <strong>Get Sources</strong> 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.
<ol>
 	<li>You are already doing a Get sources from TFS using a custom PowerShell or batch script with TF.exe command line tool</li>
 	<li>Your build execution process doesn’t need code from version control sources.</li>
</ol>
Above objective will be met by adding the below variable in build definition.

<strong>Build.SyncSources = false </strong>

This variable works with TFS 2017/VSTS vNext builds.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/154.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/154.png" alt="" width="1274" height="334" class="aligncenter size-full wp-image-4615" /></a>

You can see from below screenshot, the Get Sources operation started and finished without fetching the data from TFS version control (this option works with different agent versions as shown below)

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/108.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/108.png" alt="" width="504" height="257" class="aligncenter size-full wp-image-4616" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/1121.png"><img src="https://msdnshared.blob.core.windows.net/media/2017/09/1121.png" alt="" width="566" height="317" class="aligncenter size-full wp-image-4625" /></a>

Hope this helps if you are running through a similar requirement.

<strong>Content: Venkatappala Raju Chakravaram</strong>
<strong>Review: Romit Gulati</strong>]]></content:encoded>
    </item>
    <item>
      <title>TFS 2018 RC1 is now available for download!</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/tfs-2018-rc1-is-now-available-for-download</link>
      <pubDate>Thu, 31 Aug 2017 20:46:09 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4585</guid>
      <description><![CDATA[TFS 2018 RC1 is now available for download. For download links and more information, check out the...]]></description>
      <content:encoded><![CDATA[TFS 2018 RC1 is now available for download. For download links and more information, check out the post from Brian Harry at <a href="https://blogs.msdn.microsoft.com/bharry/2017/08/30/tfs-2018-rc1-is-available">TFS 2018 RC1 Availability</a>]]></content:encoded>
    </item>
    <item>
      <title>Error while detaching the Collection database : TF246017: Team Foundation Server could not connect to the database.</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/error-while-detaching-the-collection-database-tf246017-team-foundation-server-could-not-connect-to-the-database-verify-that-the-instance-is-specified-correctly-that-the-server-that-is-hosting-the</link>
      <pubDate>Wed, 30 Aug 2017 22:40:44 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4555</guid>
      <description><![CDATA[Environment: TFS 2017

Last weekend while I was with a customer I observed the below error...]]></description>
      <content:encoded><![CDATA[<strong>Environment</strong>: 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 the instance is specified correctly, that the server that is hosting the database is operational, and that network problems are not blocking communication with the server.

When we rerun the job, it failed without a clue. Looking at various parameters and logs were landing at the above error.

On the go, we found the TfsWarehouse database (from the old 2008 days) was in recovery state. While detaching the database the scripts looked for it and it was not reachable, hence the error message.
The TfsWarehouse database was fixed from recovery state, then the detach and attach worked seamlessly. So it is a good idea to see what’s the state of databases in the SQL instance.

<strong>Content: Vimal Thiagaraj </strong>]]></content:encoded>
    </item>
    <item>
      <title>Connecting to TFS 2017 using VS 2008/MSSCCI Provider for 2013.</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/connecting-to-tfs-2017-using-vs-2008msscci-provider-for-2013</link>
      <pubDate>Tue, 25 Jul 2017 17:53:27 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4425</guid>
      <description><![CDATA[As many organizations are upgrading to TFS 2017, there is a growing concern for version controlling...]]></description>
      <content:encoded><![CDATA[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 Visual Studio 2008 and MSSCCI Provider.

<strong>Note:</strong> <a href="https://www.visualstudio.com/en-us/docs/setup-admin/requirements#client-compatibility">MSSCCI support</a> only includes support for source control integration and MSSCCI commands. The goal is simply to allow developers to continue working with legacy applications in an upgraded server.

<strong>
Software Required:
</strong><strong>
</strong>VS 2008 with Team Explorer Component, it is recommended that you have the latest Service Pack/Update.

<a href="https://my.visualstudio.com/Downloads?q=team%20explorer">Team Explorer 2013/VS 2013</a> (this is a requirement, you need this installed for MSSCCI to work)

<a href="https://marketplace.visualstudio.com/items?itemName=TFSPowerToolsTeam.MicrosoftVisualStudioTeamFoundationServer20132015M">MSSCCI Provider</a>

<strong>Steps:</strong>

Install Team Explorer/VS 2013 if not installed.

Install MSSCCI provider from this <a href="https://marketplace.visualstudio.com/items?itemName=TFSPowerToolsTeam.MicrosoftVisualStudioTeamFoundationServer20132015M">link</a> (If you have any other MSSCCI Provider for older version of VS, you need to uninstall them first, then install this one)

Launch VS 2008. Go to Tools -&gt; Options, change Source control provider to Team Foundation Server MSSCCI Provider.

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/137.png"><img width="921" height="483" class="aligncenter size-full wp-image-4446" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/137.png" /></a>

Go to File -&gt; Source Control, Launch Team Foundation Server MSSCCI Provider

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/230.png"><img width="574" height="380" class="aligncenter size-full wp-image-4447" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/230.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/2017/07/230.png"></a>

It will launch VS/TE 2013, let it run in the background (don’t close it)

Go back to VS 2008, File -&gt; Source Control -&gt; Open from Source Control… (It means, Open <em>solution </em>

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/316.png"><img width="567" height="387" class="aligncenter size-full wp-image-4456" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/316.png" /></a>
Click on ‘Servers…’ and give the TFS 2017 URL

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/418.png"><img width="405" height="140" class="aligncenter size-full wp-image-4465" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/418.png" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/512.png"><img width="549" height="366" class="aligncenter size-full wp-image-4475" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/512.png" /></a>

<strong>Note</strong>: You must give the complete collection URL. If you have multiple collections, you must add them separately as different TFS servers. This is because TFS 2008 did not have a concept of collections and hence VS 2008 client is oblivious to it. It will accept if you give the complete URL with collection.

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/710.png"><img width="555" height="364" class="aligncenter size-full wp-image-4485" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/710.png" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/8A.png"><img width="402" height="141" class="aligncenter size-full wp-image-4505" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/8A.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/2017/07/87.png"></a>

You’ll then be able to map and work with the files within VS 2008

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/98.png"><img width="459" height="531" class="aligncenter size-full wp-image-4515" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/98.png" /></a>
You may get a pop up that says the workspace will be converted to Server Workspace. Click “Yes”. It’s recommended to use Server Workspace for MSSCCI

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/107.png"><img width="496" height="200" class="aligncenter size-full wp-image-4525" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/107.png" /></a>

If the Local Folder does not exist, it will prompt to create,

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/1114.png"><img width="455" height="171" class="aligncenter size-full wp-image-4526" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/1114.png" /></a>
Clicking “Yes” will create a local map and complete workspace creation.

<strong>Note: </strong>MSSCCI<strong> will look for a folder with solution file. If not, this will not complete. Remember, MSSCCI is to enable VC Integration for older projects in VS 2005/2008. </strong>

You’ll be able to check in changes as well

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/1211.png"><img width="379" height="515" class="aligncenter size-full wp-image-4535" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/1211.png" /></a>

It will open check in twice, one from VS 2008 and one from VS 2013

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/138.png"><img width="814" height="438" class="aligncenter size-full wp-image-4545" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/138.png" /></a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/07/145.png"><img width="833" height="468" class="aligncenter size-full wp-image-4546" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/07/145.png" /></a>

(You’ll have to click on check in twice)
Hope this helps!

<strong>Content:</strong> Manigandan Balachandran
<strong>Review: </strong>Deepak Mittal]]></content:encoded>
    </item>
    <item>
      <title>TFS 2017 Update 1, Nuget Restore task always fails trying to find packages even though they exist on the feed.</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/tfs-2017-update-1-nuget-restore-task-always-fails-trying-to-find-packages-even-though-they-exist-on-the-feed</link>
      <pubDate>Tue, 18 Apr 2017 18:08:31 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4406</guid>
      <description><![CDATA[We have come across a couple of cases where the Nuget Restore task in TFS 2017 Update 1 would fail...]]></description>
      <content:encoded><![CDATA[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 '11.0.1' of package MyPack.Framework'.
2017-04-18T01:40:37.1413490Z Unable to find version '11.0.1' of package MyPack.Framework'

The version of the task is verified to be on the feed. This is an issue with the 3.3.0 task.

This could be resolved by using the latest version of Nuget on the task (3.5.0) at the time of this writing.

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/Pack.png"><img width="1055" height="577" class="aligncenter size-full wp-image-4415" alt="pack" src="https://msdnshared.blob.core.windows.net/media/2017/04/Pack.png" /></a>

<span style="color: #000000;font-family: Calibri">Unfortunately 3.3 doesn’t really give us any usable diagnostic information (it reports ‘unable to find version’ if anything at all goes wrong while restoring a package)</span>Please consider using the latest version of the task as it gives more details on the error.

<strong>Content:</strong> Manigandan Balachandran
<strong>Review: </strong>Romit Gulati]]></content:encoded>
    </item>
    <item>
      <title>Use TFS API to add or update ACEs in the ACL for the provided token</title>
      <link>https://docs.microsoft.com/archive/blogs/tfssetup/use-tfs-api-to-add-or-update-aces-in-the-acl-for-the-provided-token</link>
      <pubDate>Fri, 14 Apr 2017 22:02:57 GMT</pubDate>
      <dc:creator><![CDATA[TfsSetup - Moderator]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/tfssetup/?p=4375</guid>
      <description><![CDATA[I worked on an interesting issue recently,

Issue: TFS Service account lost admin rights on a...]]></description>
      <content:encoded><![CDATA[I worked on an interesting issue recently,

<strong>Issue</strong>: TFS Service account lost admin rights on a collection.

<strong>One of the Symptom</strong>: 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 template permission set to Allow, which are required permissions to modify a process template.

We ended up using the below TFS API to regain the permissions of TFS service account on Team project collection.

Use API to add or update ACEs in the ACL for the provided token:
<a href="https://www.visualstudio.com/en-us/docs/integrate/api/security/aces">https://www.visualstudio.com/en-us/docs/integrate/api/security/aces</a>

<strong>Steps to use the API:</strong>

1. Install Advanced Client API from chrome web store
<a href="https://advancedrestclient.com/">https://advancedrestclient.com/</a>

2. Create oAuth token for user account which is part of TFS admin group : <a href="https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/overview">https://www.visualstudio.com/en-us/docs/integrate/get-started/auth/overview</a>

3. Convert token to Base64 string: Code to convert is in above article

4. Open Advanced Rest Client tool (Use below screenshot as reference)

Select POST and give following URL https://tfsserver:8080/tfs/DefaultCollection/_apis/accesscontrolentries/5a6cd233-6615-414d-9393-48dbb252bd23/?api-version=1.0

Use Basic Omw1Z294dHpqb3hkN3l6NmZxcDN4YzRmNjVmNWpqM3dpMmtwcWRpd3MyYTZyNXZ3Ynlsc3E= (Replace this with Base64 string created from above step)
<blockquote>{
"token": "$",
"merge": false,
"accessControlEntries": [
{
"descriptor": "Microsoft.TeamFoundation.Identity;S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-0-1",
"allow": 1,
"deny": 0,
"extendedinfo": {}
}
]
}</blockquote>
5. Replace the SID S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-0-1 in above payload to the actual SID of the project collection administrator. You can get this SID by running this query on the collection db.
<blockquote>SELECT [SID]
FROM dbo.Constants
WHERE PartitionId = 1
AND DisplayPart LIKE '%DefaultCollection%Project Collection Administrators%'</blockquote>
<a href="https://msdnshared.blob.core.windows.net/media/2017/04/RESTAPI1.png"><img width="1920" height="764" class="aligncenter size-full wp-image-4387" alt="restapi" src="https://msdnshared.blob.core.windows.net/media/2017/04/RESTAPI1.png" /></a>

Successful execution of API resolved the issue.

Incase if you want to use the same API with TFS 2015 which doesn’t have oAuth token, you can use the Advanced Client API browser plug in. make sure that you connected to TFS on the same browser and API will use the same credentials.

<a href="https://msdnshared.blob.core.windows.net/media/2017/04/raju.png"><img width="1781" height="482" class="aligncenter size-full wp-image-4397" alt="raju" src="https://msdnshared.blob.core.windows.net/media/2017/04/raju.png" /></a>

<strong>Content</strong>: Venkatappala Raju Chakravaram
<strong>Review: </strong>Romit Gulati

&nbsp;]]></content:encoded>
    </item>
  </channel>
</rss>