I have two users who are "stuck" in my tfs 2012 instance, so to speak. I've removed them from every conceivable group I can think of, yet they still have access to the portal (albeit with no projects).
Running the imx command found here yields the following information:
Microsoft (R) TFSSecurity - Team Foundation Server Security Tool Copyright (c) Microsoft Corporation. All rights reserved.
The target Team Foundation Server is mytfsserverurl.
Resolving identity "NT\username"...SID: S-1-5-21-1715567821-1897051121-682003330-9628
DN: CN=User Name,OU=Win7_Desktop_Restricted,DC=nt,DC=domain,DC=com
Identity type: Windows user
Logon name: NT\username
Display name: User Name
Description: blahjblahMember of 2 group(s):
e [A] [TEAM FOUNDATION]\Team Foundation Valid Users
e [A] [CollectionName]\Project Collection Valid UsersDone.
However, these users aren't in any other groups. When I look at the group membership for these groups on the server itself they aren't in there either. Neither user has any changesets, work items, or workspaces.
They appear in the web portal, but only when I search for them. I can't find them by navigating, and when I try to click "remove" I get the following error message:
Unable to remove the selected identity from this group.hide details TF50618: The Team Foundation Valid Users group cannot be modified directly.
How can I remove these users from these groups?