diff --git a/internal/services/appservice/linux_function_app_resource.go b/internal/services/appservice/linux_function_app_resource.go index 0403d7a2c6cfa..ffaa6ef4c81c3 100644 --- a/internal/services/appservice/linux_function_app_resource.go +++ b/internal/services/appservice/linux_function_app_resource.go @@ -1039,9 +1039,7 @@ func (r LinuxFunctionAppResource) Update() sdk.ResourceFunc { pna = helpers.PublicNetworkAccessDisabled } - // (@jackofallops) - Values appear to need to be set in both SiteProperties and SiteConfig for now? https://github.com/Azure/azure-rest-api-specs/issues/24681 model.Properties.PublicNetworkAccess = pointer.To(pna) - model.Properties.SiteConfig.PublicNetworkAccess = model.Properties.PublicNetworkAccess } if err := client.CreateOrUpdateThenPoll(ctx, *id, model); err != nil {