Hi @Sorin Sandu
Basic Auth is disabled by default which blocks publish profiles. This effort goes towards securing app services. You can still elect to use a publish profile under General Settings in the Configuration blade.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am trying to publish an ASP.NET web app from VS 2022 using Publish profile downloaded from an App Service but I get the error:
Severity Code Description Project File Line Suppression State
Error Web deployment task failed. (Connected to the remote computer ("sorinwebapp6.scm.azurewebsites.net") 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: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.) ASPNETWebApplication1 0
Any ideas ?
I've tried this https://learn.microsoft.com/en-us/training/modules/publish-azure-web-app-with-visual-studio/5-exercise-publish-an-asp.net-app-from-visual-studio with no luck.
Hi @Sorin Sandu
Basic Auth is disabled by default which blocks publish profiles. This effort goes towards securing app services. You can still elect to use a publish profile under General Settings in the Configuration blade.