a) Configure “Management Service” as follows: (Windows Server version)
Configure “Management Service” as follows: (Windows non- Server version)
In Non-server versions of windows, the “Web Deployment Agent Service” should run in background for web deploy.
Configure “Management Service Delegation” as follows:
Log in to the Azure portal, open the VM and select the “Networking” section & add following two inbound port rule in firewall entries:
http - Port 80
WebDeploy - Port 8172
To use the in-built web publishing wizard in Visual Studio, the virtual machine must be configured with a DNS name. from the Azure portal, navigate to the “Overview” page of your virtual machine, under “DNS name”, click “Configure”, provide a globally unique DNS name. (A green tick appears when the name is validated.) & click Save to save the configuration:
Follow the following article to setup publish profiles in Visual Studio projects: