I am able to deploy successfully using my windows Id, but I face a issue during IIS User deployment.
Details:
Tried applying all permissions-Local Service, IUSRS, MSDeploy specific permissions
Command Line: MyPackage.API.deploy.cmd /y /M:https://XXXXXX:8172/MSDeploy.axd /U:"XXXXXX" /p:"XXXX" /a:basic -AllowUntrusted -verbose
Error: The remote server returned an error: (401) Unauthorized.
Event Log: The description for Event ID 1104 from source Microsoft-Windows-IIS-IISManager cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component
on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
IISWMSVC_AUTHORIZATION_SERVER_NOT_ALLOWED
Only Windows Administrators are allowed to connect using a server connection. Other users should use the 'Connect To Site or Application' task to be able to connect.
Process:WMSvc
User=msDeployUser
the message resource is present but the message is not found in the string/message table
Can any one please let me know what am I missing here ?