Enabling Basic authentication for a web app

Michael Alterman 20 Reputation points
2026-02-18T04:10:23.4966667+00:00

Attempting to publish a web app on the same app service plan and resource group as a web site. The website is updated through a Visual Studio publish. This web app is a separate project in Visual Studio. Upon selecting 'download the publish profile' it says 'Basic Authentication is disabled' with no path to a resolution. How do I enable basic authentication for a web app that shares an app service plan with a website?

Microsoft Security | Microsoft Authenticator
0 comments No comments

Answer accepted by question author

AI answer

2026-02-18T04:10:34.6666667+00:00

To enable Basic authentication for your web app in Azure App Service, follow these steps:

  1. Access the Azure Portal: Go to the Azure portal and navigate to your App Service.
  2. Enable Basic Authentication:
    • Go to Settings > Configuration > General settings.
    • Find the SCM Basic Auth Publishing Credentials option and set it to On.
  3. Download the Publish Profile: Once Basic authentication is enabled, you should be able to download the publish profile without encountering the error.

If Basic authentication is disabled, you will not be able to download the publish profile, so ensure that the setting is correctly configured. If you continue to face issues, check that there are no other settings or configurations that might be interfering with the authentication process.


References:

AI-generated content may be incorrect. Read our transparency notes for more information.

Was this answer helpful?

0 additional answers

Sort by: Most helpful

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.