Build failed

Barzan M Hassan 6 Reputation points
2024-01-15T15:04:45.5666667+00:00

Hi dears, I am trying to publish asp.net and mysql project through VS to azure webservice app. I get this error, could you please help? Error details: Connected to the remote computer ("webappsuly2.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. The remote server returned an error: (401) Unauthorized. Dentistry 0.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,260 questions
{count} votes

2 answers

Sort by: Most helpful
  1. barzan muhammed 6 Reputation points
    2024-01-15T15:59:44.3633333+00:00

    Thank you your reply. I am using web publish and the app service is windows based


  2. ajkuma 27,946 Reputation points Microsoft Employee
    2024-01-16T08:11:02.87+00:00

    @Barzan M Hassan , Adding to Carlos suggestions, if you haven’t done this already, update your Visual Studio (VS) installation and .net SDK.

    You may test the deployment of a different machine running latest version of VS As mentioned in this Azure doc , when you disable basic authentication, deployment methods based on basic authentication stop working, such as FTP and local Git deployment. If feasible, for alternate deployment methods, see Authentication types by deploymentmethods in Azure App Service.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.