diff --git a/internal/services/logic/logic_app_standard_resource.go b/internal/services/logic/logic_app_standard_resource.go index 7682bcb1d71b..f425f1b5929a 100644 --- a/internal/services/logic/logic_app_standard_resource.go +++ b/internal/services/logic/logic_app_standard_resource.go @@ -804,6 +804,11 @@ func (r LogicAppResource) Update() sdk.ResourceFunc { existingSiteConfig := sc.Model.Properties siteEnvelope.SiteConfig = existingSiteConfig + // The `AzureStorageAccounts` received does not contain `endpoint`, which is required in some cases. + // Since the rest API specs do not contain this property, we remove it from the payload. + // Tracked by https://github.com/Azure/azure-rest-api-specs/issues/40128 + siteEnvelope.SiteConfig.AzureStorageAccounts = nil + appSettingsResp, err := client.ListApplicationSettings(ctx, *id) if err != nil || appSettingsResp.Model == nil { return fmt.Errorf("reading App Settings for Linux %s: %+v", id, err)