Bill Wang’s Blog

November 23, 2008

TF50309 error message for TFS service account TfsService

Filed under: Uncategorized — Tags: — Bill @ 7:45 am

Today I moved my TFS server from a workgroup to domain environment. When I run ActivateAT to start TFS, everything works fine. When I connect to the TFS from Team Explorer, I get several error logs in Windows event log in the machine for AT saying:

TF50309: The following account does not have sufficient permissions to complete the operation: Domain\tfsservice. Check the permissions for the account and grant the appropriate permissions to perform this operation. (type SecurityException)

Then I run TfsAdminUtil SID and found the TFS service account is not listed. This problem is solved by adding the service account TfsService to Service Accounts group by running TfsSecurity command:
      TfsSecurity g+ “Service Accounts” Domain\TfsService

Advertisements

3 Comments »

  1. Well that is strange…I mean about a month ago I did the same thing–meaning moved MY TFS server from a workgroup to domain environment…but once I was done with the moving…everything was working fine…so maybe you should recheck your steps..cause I know I did nothing special..and yet everything went ok when I did it…

    Comment by neongreen — November 27, 2008 @ 2:37 pm

  2. Yes you are right. Something bad happened during the move. After I fixed many issues, the SIDs for several accounts are messed up. The SIDs stored in TfsWorkItemTracking database can’t be synchronized with AD. Struggling several days I finally descried to move TFS again yesterday. This problem didn’t occur and everything works fine now.

    Comment by Bill — November 30, 2008 @ 6:22 am

  3. When running
    TfsSecurity g+ “Service Accounts” Domain\TfsService

    I get the error I need to include the server, so I have tried
    TfsSecurity g+ “Service Accounts” Domain\TfsService /server:sername.

    No I get TfsSecurity g+ “Service Accounts” Domain\TfsService
    Any ideas?

    Comment by joey — April 10, 2009 @ 8:18 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: