If you add a project portal to your team project (i.e. by running tfpt addprojectportal) you might receive the error message
TF255357: The following query was not found: Product Planning. Download the process template, open it, and verify that the query exists.
The site template expects certain work item queries to exist (e.g. product planning).
- On upgraded team projects, create the missing work item queries (you can copy/paste them from other MSF/Agile 5.0 projects).
- If you removed/renamed the default queries, undo that.
(Thanks to Rich Day for the post and the solution for this issue.)