Get your users for nothin' and your sync for free

Published 10 November 06 04:58 PM | Adam Singer 

Many folks have written on the forums about trouble getting new users to access Team Foundation Server. There are a few things that are important to know here. The first is that we actually cache external identities in our databases so there can be a delay while we sync the external data and then populate our tables with the necessary information. When does that sync happen? Well, in TFS 2005 (codename Whidbey), there are three times when the sync is supposed to occur:

  1. When the system first starts up
  2. When a user adds an external identity to a TFS group
  3. When our sync timer fires once per hour

Unfortunately, we discovered that the third case doesn't work in the RTM version. We're expecting the fix for this to come out in an upcoming release. In the meantime, however, there is one important thing to note. By default, the application pool that runs the TFS service on the application tier will shut down after 20 minutes of inactivity. Hence, if there are no server requests for 20 minutes, the next time someone makes a request we'll restart the service and then kick off a sync. Unless your org has people working 24/7, this means that the AppPool will shutdown overnight and restart the following morning as the first user performs any TFS operation. In addition, you can force this to occur by resetting the AppPool (or IIS) on your AT yourself, though this will cause a service outage. You can also directly add users or groups to TFS groups to begin a sync of that particular external group.

Kudos to anyone who can identify the source of the title

Comments

# Børge Hanse said on November 13, 2006 4:27 AM:

I've always been a sucker for obscure music (rock) references. This one I believe is Dire Straits and their Money for Nothing...

br. Borge (aka Jimmy the Weed )

# Adam Singer said on November 13, 2006 10:04 AM:

Quite so, Børge. As a reward, do you have any requests for more information on anything related to setup and administration of Team Foundation Server? Let me know, and I'll try to furnish an answer in a future blog post.

# Team System News said on November 15, 2006 4:41 PM:

Adam Singer on Get your users for nothin' and your sync for free. Buck Hodges on Updated version of...

# Adam Singer said on March 29, 2007 3:15 PM:

As with many of my other Administration and Operations posts, this one stems from posts I've seen on

# Adam Singer said on July 31, 2007 9:54 AM:

I'm still alive! Yes, I know you all agree that's great news. At least, I think it's great news so will

# Buck Hodges said on March 18, 2008 10:23 AM:

We've seen a couple of customers run into a rare problem where the account being used to set up a new

New Comments to this post are disabled

About Adam Singer

Faster than a speeding batch file, stronger than a well coded C# library, Adam is often seen testing those dark, dank quagmires of features where few tread and even fewer return. And he does so with a signature chipper attitude not sold in stores.

Search

This Blog

Syndication

Page view tracker