One of the issues we encountered after upgrading from TFS 2010 to TFS 2012 is related to the build. What’s particular to our environment is that we have 2 domains(both containing the same users). The goal is to move from one domain to another(and remove the old obsolete domain), but this is taking a little bit longer as expected . In the meanwhile we are stuck with 2 domains.
This already gave us some trouble when upgrading from TFS 2008 to TFS 2010, but now it’s back to haunt us again…
This time it goes wrong when the build server tries to execute the Associate ChangeSets and related Workitems build step. This step fails with the following error message:
Exception Message: Multiple identities found matching 'Username'. Please specify one of the following identities:- Username(NEW_DOMAIN\Login)- Username(OLD_DOMAIN\Login) (type MultipleIdentitiesFoundException)Exception Stack Trace: at System.Activities.Statements.Throw.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Unfortunately we were not able to find a solution. A colleague filed a bug at Connect, so we’ll see how this will continue…