Can not publish

CsharpRobert 6 Reputation points
2025-04-01T13:55:57.09+00:00

Can not publish from visual studio to azure. The Web deploy client

wants a password for the app service $HomePageCode20221126233651”    

When I click on configuration the system says the request is blocked

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

1 answer

Sort by: Most helpful
  1. Harshitha Veeramalla 1,306 Reputation points Microsoft External Staff Moderator
    2025-04-03T09:19:25.2533333+00:00

    Hi CsharpRobert,

    wants a password for the app service $HomePageCode20221126233651”.

    You can get the Username and Password from Publish Profile. In Azure App Service => Overview => click on Download Publish Profile.

    enter image description here

    • Before that you need to enable Basic Authentication.

    enter image description here

    • You can get the password from the downloaded .PublishSettings file.
    • You can even get the password from Deployment Center => FTP Credentials.

    enter image description here

    • If you still face issue with Web Deploy, you can use Import Profile option (upload Downloaded publish profile) for the App Deployment.

    enter image description here

    enter image description here

    Hope this Helps


    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


Your answer

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