Warnings TF26171 and TF26204 during WIT import on TFS 2005

When restricting the users or groups that can transition states of a work item type, there’s a little something you should pay attention to.

Lets say you want to restrict who can create a given type of work item to users of a custom “NewTesters” TFS Group. The docs says you should do something as follows:

<TRANSITION from="Resolved" to="Complete" for="[project]AllTesters" not="[project]NewTesters">
</TRANSITION>

On the “for” attribute some people may think that “[project]” is a place holder for the project’s name, but it is meant as a literal.

If your Team Project is named TheGreatestProjectEver, you should use "[project]AllTesters" literally as stated in documentation and not " TheGreatestProjectEver AllTesters"

Using "TheGreatestProjectEver AllTesters" will return:

“Warning: TF26171: (User/group {0} is not found.

TF26204: The account you entered is not recognized. Contact your Team Foundation Server administrator to add your account.”

Published by

Alfred Myers

I have been interested in computers since I got my hands on a magazine about digital electronics back in 1983 and programming them has been paying the bills since 1991. Holding a dozen Microsoft certifications and being awarded Microsoft MVP in C# for five years in a row starting in 2007, recently I've been educating myself on open source technologies such as Linux, networking and the open web platform.

One thought on “Warnings TF26171 and TF26204 during WIT import on TFS 2005”

  1. DOMAINuser and DOMAINgroup also work, however, not in a straightforward manner. I can get only one of our AD groups to work, and can’t spot any sort of reason for it. If I add users as LISTITEM elements in a random order the list is sorted alphabetically, I want to test duplicates in multiple groups but can’t get any other group to work.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.