TF215097: An error occurred while initializing a build for build definition \TeamProject\BuildDef: TF204001: The item $/TeamProject/BuildProcessTemplates/DefaultTemplate.xaml cannot be downloaded. Read permission is required to retrieve the content.
It means that the service account under which the build agent is running needs read access to the source control.
FYI i had this issue and found that my Admin was part of the admin group which had permissions to do whatever he wanted but was set to explicitly deny for some reason for my whole TFS Collection.
ReplyDeleteTo fix, Right click on the Collection root in Source Control Explorer > Properties > Security Modifiy permissions here...