Hi @Ravindra Shukla ,
According to my understanding, you want to deploy application to remote IIS through MSDeploy. Is it right?
There are three points.
- Install MSDeploy on the remote server.
- Create a local user which will be used by MSDeploy to publishing application.
- Package application to be a folder or a zip file.
Running the MSDeploy command with msdeploy.exe. The command line likes this:
D:>"C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:iisApp="D:WebApplication" -dest:iisApp="Default Web Site/WebApp",ComputerName="https://server:80/MsDeploy.aspx",UserName='ServerUser',Password='password',AuthType='Basic' -allowUntrusted
- -source:iisApp="" means directory with application to deploy.
- -dest:iisApp="" means target application in IIS.
- ComputerName="" means the target server with IIS where application will be placed.
- UserName, Password used to perform deploy. It is important.
- AuthType="" means the type of authentication. It can be NTLM and Basic.
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Bruce Zhang