Visual Studio TFS troubleshooting: The identity domain\username is not a recognized identity
Symptom:
After domain or user name change, while connecting to the TFS using Visual Studio, following error occur.
Microsoft Visual Studio
Visual Studio
TF14045: The identity Domain\UserName is not a recognized identity.
OK
Solution:
* The following solution steps kept the pending changes intact. No loss of data observed.
Please close visual studio, if already open.
Open Visual Studio command shell as per your client machine's cpu (x86/64).
Run the following command to obtain workspace name.
tf workspaces
Please note down the collection name (ex: http://tfs.aa.mycomp.net:8888/tfs/org).
tf workspaces /updateUserName:NewDomain\NewUserName /collection:
http://tfs.aa.mycomp.net
:8888/tfs/org
Open visual studio now.
Reference
https://msdn.microsoft.com/en-us/library/z51z7zy0(v=vs.100).aspx
Verified on
TFS 2013 client over Visual Studio 2013 running on Windows Server 2012 R2 Standard.
Applies To
Team Foundation Server 2013 client on Visual Studio 2013.
Windows Server 2012 R2 Standard (client)