Like I already asked in Visual Studio Forum,
I wrote an application that binds work items to builds based on svn logs. When I try to hit buildDetail.Information.Save();
I get the Exception User (Bob) needs permission to update build information.
This user got the right permission set in the build permission dialog and I also set it in the admin command line on the tfs itself
C:\Program Files\Microsoft Team Foundation Server 14.0\Tools\tfssecurity /a+ Build ProjectName UpdateBuildInformation n:ourDomain\bob ALLOW /collection:http://tfs-test:8080/tfs/Test
ToyStory is the name of the test project.
Last but not least: Bob is a Service Account.
What am I still missing that I get these messages? The VsoAgent.exe is running as Service on our BuildMashine as Bob and sure I restartet everything a couple of times. We are on all last updates for TFS 2015U1 and Windows Server 2008 R2. All Enterprise licenses. Date today: 22.03.2016
Update: Now I'm on the new R2 for TFS and I have still no clue why this is not working. Also there is still no proper REST function to set bound work items to that build