Microsoft KB Archive/946734

= TFS: Howto remove &quot;orphan user&quot; from Workitem Tracking (WIT) &quot;Assigned to&quot; field =

Article ID: 946734

Article Last Modified on 12/20/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Foundation Server
 * Microsoft Visual Studio 2005 Team Edition for Database Professionals
 * Microsoft Visual Studio 2005 Team Edition for Software Architects
 * Microsoft Visual Studio 2005 Team Edition for Software Developers
 * Microsoft Visual Studio 2005 Team Edition for Software Testers
 * Microsoft Visual Studio 2005 Team Suite
 * Microsoft Visual Studio 2005 Team Foundation
 * Microsoft Visual Studio 2005 Team System Test Edition

-



Source: Microsoft Support



RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.



Action
You remove a Windows user account assignment from all Team Foundation Server groups using the Visual Studio 2005 Team Foundation Server Team Explorer.



Result
The username you removed still appears in the TFS workitem tracking (WIT) &quot;Assigned to&quot; list.



Cause
This occurs due to an incomplete removal of the reference to this user from the TFS database. The exact cause of this behavior as yet to be determined.



Resolution
Use the following command line command to force removal and refresh of workitem tracking (WIT) users:

TFSSecurity.exe /server:http:// :8080 /a- $NAMESPACE GENERIC_READ \ ALLOW

TFSSecurity.exe should be executed from the TFS Application Tier server and is located in the &quot; :\Program Files\Microsoft Visual Studio 2008 Team Foundation Server\Tools&quot; directory by default. Open a command prompt to use this command.

TFSSecurity.exe is used to manipulate TFS groups and users and manage permissions. More information for this command is available from the following MSDN website:

http://msdn2.microsoft.com/en-us/library/ms252504(VS.80).aspx



More Information
Visual Studio 2008 Team Foundation Server includes repair logic in the installer to remove these &quot;orphan&quot; users. In the event this issue is encountered with TFS 2008, perform a Repair of Visual Studio 2008 Team Foundation Server on the Application Tier using the &quot;Add/Remove Programs&quot; applet in Control Panel.



DISCLAIMER
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

Keywords: kbnomt kbrapidpub KB946734

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.