Skip to content

Commit 0e45c13

Browse files
Fixed tenant auth settings URL
1 parent 434af91 commit 0e45c13

File tree

1 file changed

+1
-1
lines changed
  • modules/azure/function_app_linux_managed_identity

1 file changed

+1
-1
lines changed

modules/azure/function_app_linux_managed_identity/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resource "azurerm_linux_function_app" "function_app" {
105105
active_directory_v2 {
106106
client_id = local.should_create_app ? azuread_application.application[0].client_id : var.managed_identity_provider.existing.client_id
107107
client_secret_setting_name = "MICROSOFT_PROVIDER_AUTHENTICATION_SECRET"
108-
tenant_auth_endpoint = "https://login.microsoftonline.com/v2.0/${data.azurerm_client_config.current.tenant_id}/"
108+
tenant_auth_endpoint = "https://login.microsoftonline.com/${data.azurerm_client_config.current.tenant_id}/v2.0/"
109109
allowed_audiences = local.allowed_audiences
110110
}
111111

0 commit comments

Comments
 (0)