Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Error user unauthorized using webdeployexe

$
0
0

I am unable to get webdeploy to work from the command line, when I try to deploy using msbuild I continuously get and Error_user_ unauthorized. I have tried setting the  <UseMsdeployExe>True</UseMsdeployExe> which causes visual studio is no longer able to deploy, so I'm thinking the issue lies with webdeployexe. When I set the value to false and try to deploy from the command line I get the same error with some extra detail "connected to remote computer using web management service but could not authorize".

 I am connecting with Admin credentials and am able to deploy from vs publish with the same details without an issue.

Command:

msbuild XX.csproj /p:DeployOnBuild=true /p:PublishProfile=staging /P:UserName="domain\xx"  /P:Password="XX" /P:AllowUntrustedCertificate=True /p:VisualStudioVersion=11.0



Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>