- Plesk Onyx for Windows
The following error is shown in Microsoft Visual Studio during publishing or connection validation when using some added in Domains > example.com > Web Users > Add Users:
CONFIG_TEXT: Connected to the remote computer ("example.com") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED. The remote server returned an error: (401) Unauthorized.
Additional web user is used, that was created in Domains > example.com > Web Users > Add Users.
Note: In case the default subscription system user is used, check this article.
Solution from this article didn't help.
By default only subscription system user is allowed to access IIS websites for Web Deploy.
Apply one of the following solutions:
use subscription system user
Find the subscription system user at Subscriptions > example.com:
Use it in Microsoft Visual Studio.
add additional web user to the allowed ones
Check the knowledge base article for instructions: Web deploy fails: Please verify your credentials and that the remote site has not been deleted