Team Foundation Server 403 TF53011 / TFS3011 is not a licensed user

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Trying to log in to Microsoft Team Foundation Server and get the error message Microsoft Visual Studio Team Foundation Server HTTP Status 403, TF53011, is not a licensed user?

Setup

Microsoft Visual Studio with Team Foundation Server 2005.

Symptom

You try to start Microsoft Visual Studio 2008 and log on to the Team Foundation Server (TFS). You get the following error message:

Microsoft_TeamFoundationServer_not_a_licensed_user

Microsoft_TeamFoundationServer_not_a_licensed_user

Error Message

Microsoft Visual Studio

X Microsoft Visual Studio
The request failed with HTTP status 403: TF53011:
Domain\Username is not a licensed user..

Well, you will find or you already found a lot of information on the internet regarding this error message / issue. But (al)most all of them are somehow related to the Workgroup Edition of Team Foundation Server. For me, this wasn’t the case.
However, this post will explain how to fix this when running the full Microsoft Team Foundation Server without the 5 User limitation.

When you installed Microsoft Team Foundation Server (TFS) you have chosen a User Account for the Windows Services to run under.. in my situation, using this account was the only way to get back in Team Foundation Server.
So, to find out the Windows Service account username open

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

services.msc

Microsoft_TeamFoundationServer_ServiceAccount

Microsoft_TeamFoundationServer_ServiceAccount

Now log on to Microsoft Visual Studio Team Foundation Server using this account. You can do this by loggin off/on to Windows or do a runas and open a cmd under this user account:

RunAsUser_Screenshot

RunAsUser_Screenshot

runas /u:domain\tfsServiceAccount "cmd.exe /k"

now type “C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe” to start Microsoft Visual Studio under this user account

RunAs_StartVisualStudio

RunAs_StartVisualStudio

now navigate to Team | Team Foundation Server Settings | Group Membership..
if the Menu Team is missing,  you have to connect to the Team Foundation Server first.. => Tools – Connect to Team Foundation Server

Select [SERVER]\Team Foundation Licensed Users, then click on Properies

Microsoft_TFS_GlobalGroupsDialog

Microsoft_TFS_GlobalGroupsDialog

Select Windows User of Group and click on Add

Team_Foundation_Server_Group_Properties

Team_Foundation_Server_Group_Properties

Now select the users to have access to the Team Foundation Server and try to log in again using one of these users.

AddUserToTFS_LicencesUserGroup

AddUserToTFS_LicencesUserGroup

some mistakenly search the internet for TFS3011 instead of TF53011..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.