diff --git a/internal/services/appservice/linux_function_app_slot_resource_authv2_test.go b/internal/services/appservice/linux_function_app_slot_resource_authv2_test.go index 5a01c13c4cb0..6850fdb50e96 100644 --- a/internal/services/appservice/linux_function_app_slot_resource_authv2_test.go +++ b/internal/services/appservice/linux_function_app_slot_resource_authv2_test.go @@ -267,6 +267,7 @@ resource "azurerm_linux_function_app_slot" "test" { client_id = data.azurerm_client_config.current.client_id client_secret_setting_name = "%[3]s" tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } login {} } diff --git a/internal/services/appservice/linux_web_app_resource_authv2_test.go b/internal/services/appservice/linux_web_app_resource_authv2_test.go index 7947ae9a66af..dbcc6e14fd1e 100644 --- a/internal/services/appservice/linux_web_app_resource_authv2_test.go +++ b/internal/services/appservice/linux_web_app_resource_authv2_test.go @@ -274,6 +274,7 @@ resource "azurerm_linux_web_app" "test" { "activedirectorytokenaudiences", ] tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } diff --git a/internal/services/appservice/linux_web_app_slot_resource_authv2_test.go b/internal/services/appservice/linux_web_app_slot_resource_authv2_test.go index f1eab510674f..8070e540d7d9 100644 --- a/internal/services/appservice/linux_web_app_slot_resource_authv2_test.go +++ b/internal/services/appservice/linux_web_app_slot_resource_authv2_test.go @@ -191,6 +191,7 @@ resource "azurerm_linux_web_app_slot" "test" { client_id = data.azurerm_client_config.current.client_id client_secret_setting_name = "%[3]s" tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } login {} } diff --git a/internal/services/appservice/windows_function_app_resource_authv2_test.go b/internal/services/appservice/windows_function_app_resource_authv2_test.go index 3e031a8fa5e9..280d522db5ef 100644 --- a/internal/services/appservice/windows_function_app_resource_authv2_test.go +++ b/internal/services/appservice/windows_function_app_resource_authv2_test.go @@ -258,6 +258,7 @@ resource "azurerm_windows_function_app" "test" { client_id = data.azurerm_client_config.current.client_id client_secret_setting_name = "%[3]s" tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } login {} } diff --git a/internal/services/appservice/windows_function_app_slot_resource_authv2_test.go b/internal/services/appservice/windows_function_app_slot_resource_authv2_test.go index 33bbb09a0e09..19010e4ebb79 100644 --- a/internal/services/appservice/windows_function_app_slot_resource_authv2_test.go +++ b/internal/services/appservice/windows_function_app_slot_resource_authv2_test.go @@ -251,6 +251,7 @@ resource "azurerm_windows_function_app_slot" "test" { client_id = data.azurerm_client_config.current.client_id client_secret_setting_name = "%[3]s" tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } login {} } diff --git a/internal/services/appservice/windows_web_app_resource_authv2_test.go b/internal/services/appservice/windows_web_app_resource_authv2_test.go index c330f73fb0cb..f3155de91322 100644 --- a/internal/services/appservice/windows_web_app_resource_authv2_test.go +++ b/internal/services/appservice/windows_web_app_resource_authv2_test.go @@ -242,6 +242,7 @@ resource "azurerm_windows_web_app" "test" { client_id = data.azurerm_client_config.current.client_id client_secret_setting_name = "%[3]s" tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } login {} } diff --git a/internal/services/appservice/windows_web_app_slot_resource_authv2_test.go b/internal/services/appservice/windows_web_app_slot_resource_authv2_test.go index 698b7be2a902..c9e6cfd8c72b 100644 --- a/internal/services/appservice/windows_web_app_slot_resource_authv2_test.go +++ b/internal/services/appservice/windows_web_app_slot_resource_authv2_test.go @@ -191,6 +191,7 @@ resource "azurerm_windows_web_app_slot" "test" { client_id = data.azurerm_client_config.current.client_id client_secret_setting_name = "%[3]s" tenant_auth_endpoint = "https://sts.windows.net/%[5]s/v2.0" + allowed_applications = ["WhoopsMissedThisOne"] } login {} }