Azure Functions Tips: disable the home page for a function app
Massimo Bonanni
Posted on April 11, 2023
When you create a Functions App in Azure, you choose its name and Azure provides you the URL of the home page for the app.
You have this URL even your Function App doesn't contain any Http Trigger Functions and if you try to navigate to that url, you can see the following page:
If you want, you can disable the welcome page using the AzureWebJobsDisableHomepage
setting in the function app configuration.
You disable the welcome page setting the Function App configuration as in the following picture:
With this configuration, if someone tries to browse the previous url, he gets an HTTP Status code 204 (no content).
💖 💪 🙅 🚩
Massimo Bonanni
Posted on April 11, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
azurefunctions Azure Functions Tips: change the time zone in your Azure Function using configuration
April 26, 2023
azurefunctions Get email notifications from serverless Azure functions using SendGrid
January 7, 2022