title: TFS 2013 Disabled AD Users Appearing
body: <p>I've got an issue where users that are disabled in Active Directory are still appearing in a Team Project Collection in Team Foundation Server 2013. This is a problem because any projects that are within the collection have these users inherited and are visible when assigning work items, etc.</p>
  
  <p>These users in the screenshot below are all disabled and none of which are a part of any group or groups on TFS.
  Specifically these users:</p>
  
  <ul>
  <li>Kumar</li>
  <li>Carl</li>
  <li>Mishra</li>
  <li>Bertram</li>
  <li>Shah</li>
  <li>Rajendran</li>
  <li>Arora</li>
  </ul>
  
  <p>It would also be nice to hide these users:</p>
  
  <ul>
  <li>Network Service</li>
  <li>Sharepoint account</li>
  <li>Local Server Account (******-DEV1$)</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/9TvFL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9TvFL.png" alt="Disabled Users Appearing in TFS 2013"></a></p>
  
  <p>I have tried the following:</p>
  
  <ul>
  <li>Removing [Built-In]\Administrators group as per instructions here: <a href="https://stackoverflow.com/a/15640409/559988">https://stackoverflow.com/a/15640409/559988</a></li>
  <li>Clearing the TFS data cache and restarting IIS as per instructions here: <a href="https://social.msdn.microsoft.com/Forums/vstudio/en-US/31487b77-8a1a-4b1f-8cdb-8f3528a3a389/tfs-2013-user-management" rel="nofollow noreferrer">https://social.msdn.microsoft.com/Forums/vstudio/en-US/31487b77-8a1a-4b1f-8cdb-8f3528a3a389/tfs-2013-user-management</a></li>
  <li>Verified the users are disabled in Active Directory</li>
  <li>Verified the disabled users are not apart of any groups in Active Directory</li>
  <li>Verified Active Directory sync is working (added a new user and it appeared just fine).</li>
  </ul>
  
  <p>Has anyone else had this issue with disabled users appearing in TFS 2013 or know how to resolve it?</p>
  
  <p>Thank you</p>