TF53011: domain\username is not a licensed user after restore
Scenario:
-
Before reinstall TFS, backup databases and encryption key.
-
Right after reinstalling SharePoint and TFS, everything is working properly. There are four groups in Global Groups, include Team Foundation Licensed Users group and my userid in it.
-
But after restoring, when I excute SetupWarehouse command, I've already been not a licensed user, the command failed.
-
Use TFSService login, and do the biuld warehouse command, done.
-
The rest steps done by TFSService account.
-
When I use my userid to connect to TFS, "TF53011: domain\username is not a licensed user" occured.
-
Using TFSService to connect to TFS is working, but cannot be added any account into Valid User Group.
Help me please.
Thanks,
-Andrew
-
答案
Let me make sure that I understand you configuration. Your Team Foundation Server is licensed as the Workgroup edition, not the full edition.
If you are using the Workgroup edition of Team Foundation Server, you are limited to 5 users, and those five users must be members of the global group “Team Foundation Licensed Users”.
You can determine which users are a member of the “Team Foundation Licensed Users” group with the following command:
TFSSecurity.exe /server:<server> /imx "Team Foundation Licensed Users"
If a given user is not a member of the group, you can add them either through the GUI (Team -> Team Foundation Server -> Group Membership), or using TFSSecurity.exe. But the user must be a member of the “Team Foundation Licensed Users” group in order to access TFS.
--Matt Hoover
Visual Studio Team Foundation Server
Software Design Engineer
全部回复
Also:
Using TFSService login and all things done. All original users are in Team Foundation Valid Users group, but they cannot login the TFS with the error:
TF53011: domain\username is not a licensed user.
What's the solution, please.
Scenario:
-
Before reinstall TFS, backup databases and encryption key.
-
Right after reinstalling SharePoint and TFS, everything is working properly. There are four groups in Global Groups, include Team Foundation Licensed Users group and my userid in it.
-
But after restoring, when I excute SetupWarehouse command, I've already been not a licensed user, the command failed.
-
Use TFSService login, and do the biuld warehouse command, done.
-
The rest steps done by TFSService account.
-
When I use my userid to connect to TFS, "TF53011: domain\username is not a licensed user" occured.
-
Using TFSService to connect to TFS is working, but cannot be added any account into Valid User Group.
Also:
Using TFSService login and all things done. All original users are in Team Foundation Valid Users group, but they cannot login the TFS with the error:
TF53011: domain\username is not a licensed user.
Help me please.
Thanks,
-Andrew
-
- Could somebody give me a help? thanks
Hello Andrew,
Sorry for the inconvenience.
Could you please try to use the TFSSetup account to connect to the TFS. It is in the licensed user group.
And try to add your userid to the licensed user group? Thanks.
Good luck.
The only time that the licensed users group comes into play is when you have a Workgroup license. The Workgroup license only allows 5 people to connect to the server. The list of 5 people is in the global group “Team Foundation Licensed Users”. You can use the command line tool TfsSecurity.exe to add users to the group (documented at http://msdn2.microsoft.com/en-us/library/ms400759(vs.80).aspx), but you may have to run TfsSecurity as the service account. If you have questions about what kind of license you are using, Brian Harry’s blog post http://blogs.msdn.com/bharry/archive/2006/10/04/Last-word-on-TFS-Expirations-_2800_I-hope_2900_.aspx has a tool that will examine your system and tell you what kind of license you are using.
--Matt Hoover
Visual Studio Team Foundation Server
Software Design Engineer
Thanks, Hua,
Actually, my userid has already been in licensed user group. and I added one development group into TF valid user group. But they cannot login with their username.
Thanks, Matthew
Same message above.
I think, it isn't the reason whether somebody is in the valid users group or not. Maybe need some configuration. Anyway, thanks again. Would have any advice?
Let me make sure that I understand you configuration. Your Team Foundation Server is licensed as the Workgroup edition, not the full edition.
If you are using the Workgroup edition of Team Foundation Server, you are limited to 5 users, and those five users must be members of the global group “Team Foundation Licensed Users”.
You can determine which users are a member of the “Team Foundation Licensed Users” group with the following command:
TFSSecurity.exe /server:<server> /imx "Team Foundation Licensed Users"
If a given user is not a member of the group, you can add them either through the GUI (Team -> Team Foundation Server -> Group Membership), or using TFSSecurity.exe. But the user must be a member of the “Team Foundation Licensed Users” group in order to access TFS.
--Matt Hoover
Visual Studio Team Foundation Server
Software Design Engineer
Thanks, Matt.
Our TFS should be full edition because we use the cd to install before, it can work for many users (over 20).
By the way, how to check my TFS edition?
Thanks,
-Andrew
Andrew,
I believe the .zip linked to at the end of Brian Harry's blog post here can be used to check what version of TFS is installed. Hopefully it can be of some use for figuring out this issue.

