I am trying to deploy a site using msdeploy and cannot get it to deploy under an IIS user account. My admin account is able to deploy successfully.
Steps I have take
Following changes fixed my issue.
Start >> Administrative tools >> Computer Mangement.
There is a user called WDeployConfigWriter. Set to password never expired and updated in IIS as per the below link.
https://blog.workinghardinit.work/2011/07/18/wdeployconfigwriter-account-issues-trouble-shooting-web-deploy-2-0-with-lessons-learned/
Turns out it was an expired password for the WDeployConfigWriter account.