Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER while performing deployment (web application or windows services) as NON-Admin user via MSDeploy

$
0
0

Hi Team,

We have been receiving error - "ERROR_USER_NOT_AUTHORIZED_FOR_DEPLOYMENTPROVIDER" while executing below command using MSDeploy as Non-admin user (Username : myserviceaccount) in Target server. Same error by-passed when admin access provided to "myserviceaccount" user in Target server.

Typically, reported error should not appear when we declare delegation rules in IIS as mentioned in http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler. But, MSDeploy still requires Admin access to "userName" for complete preSync & postSync MSDeploy commands.

Also, Have followed all directions captured in below blogs to complete the deployment as Non-Admin user. But, no luck favors to us.

1. http://www.jamescrowley.co.uk/2011/09/05/deploying-windows-services-using-msdeploy/

2. https://support.microsoft.com/en-us/kb/2023855

3. http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler

Can you advise us what we are missing here?

MSDeploy Command:

“C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe” -verb:sync -preSync:runCommand=’mypath\Uninstall_Service.cmd’,waitInterval=30000 -source:package=’mypackage.zip’ -dest:manifest=”mypackage.DestinationManifest.xml”,computerName=”https://myserver:8172/MSDeploy.axd?site=Default Web Site”,userName=”myserviceaccount”,password=”#########”,authtype=”Basic”,includeAcls=”False” -setParamFile:”mypackage.SetParameters.xml” -postSync:runCommand=’mypath\Install_Service.cmd’,waitInterval=30000 -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -allowUntrusted


Viewing all articles
Browse latest Browse all 663

Trending Articles



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