Skip to content

Azure function app authentication is off

Description

Azure App Service Authentication is a feature that can prevent anonymous HTTP requests from reaching the Function app, or authenticate those that have tokens before they reach the Function app.

Fix - Buildtime

Terraform

  • Resource: azurerm_function_app
  • Argument: auth_settings.enabled
resource "azurerm_function_app" "example" {
              ...
 +            auth_settings {
 +              enabled = true
              }
            }