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">

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.”

This entry was posted in Team System. Bookmark the permalink.

2 Responses to Warnings TF26171 and TF26204 during WIT import on TFS 2005

  1. Andy says:

    DOMAIN\user and DOMAIN\group 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.

  2. Johann says:

    Thank you!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s