User-848295090 posted
No. I should have put more details in my post. I am trying to setup a build definition in Visual Studio 2012 so that every time I check-in my code it deploys it to my web server.
1. I created a publish xml file and tested it straight from VS (my machine) to the web server. - Works great!
2. Created a build definition - Under Process --> 3. Advanced --> MSBuild Arguments I have
/p:DeployOnBuild=true /p:AllowUntrustedCertificate=True /p:PublishProfile=Section3Admin_Dev /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=False /p:MSDeployPublishMethod=RemoteAgent
When I execute the build script it says the USER NOT AUTHORIZED.
Now I had read somewhere where the account that the build agent runs under on the build server (which is a service account) needs admin permission to the web server. I added the service account to the admin group on the web server but it is still not working.
Please help me.