To download the Web Deploy Settings for a website, please follow the steps stated below:
Log in to Plesk.
Go to Domains > Hosting Settings.
Enable the option Web Deploy publishing.
Download the Web Deploy publishing settings file by clicking Web Deploy Publishing Settings.
Open an application in Visual Studio and select Build > Publish [AppName].
Click Import and browse for the configuration file downloaded from Plesk.
Click Validate Connection to confirm you have the correct settings.