I have set up a ASP.NET MVC5 project which is built with a TFS Build Service on our build server. After a build is triggered and succeeded, i would like to have the webapplication published to our test system. When I publish through my Visual Studio (2013), it works. But when it tries to publish it after the build of the build service, it gives me the error "user not admin". I even started Visual Studio on the build server and tried to publish a project directly to the test system, this also works... In general we are using TFS 2012, but the Build Service is still 2010 (but if that's a problem, it will be upgraded in the near future).
Does anyone has an idea why the publishing with the build service does not work?
Update: I think the problem might could be that system we try to deploy to is not joined to the domain. So the user which runs the build service (which is a domain user) is not yet in any (local) user groups on the test system.
Regards and thanks for any help