Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.94k stars 442 forks source link

Cannot update config for Flex function b/c of functionAppScaleLimit setting #10643

Open rmontroy opened 3 days ago

rmontroy commented 3 days ago

Checked for a solution in the Azure portal

Yes

Investigative information

Repro steps

steps required to reproduce the problem:

  1. Change any config setting in the Portal or via az webapp config update (e.g., minimum TLS version).
  2. Save changes.

Actual behavior

BadRequest
The following site configuration property (Site.SiteConfig.FunctionAppScaleLimit) for Flex Consumption sites is invalid. Please remove or rename it before retrying.

Known workarounds

None (I tried az resource update --resource-type Microsoft.Web/sites -g <group> -n <func-app-name>/config/web --remove properties.functionAppScaleLimit. There was no error, but the setting was not removed.)

Related information

This function was created via a modified version of this template: functions-quickstart-python-http-azd

bhagyshricompany commented 1 day ago

Hi @rmontroy Thanks for reporting.can you try with consumption plan? please share the snap config.Thanks

rmontroy commented 1 day ago

The issue does not occur with the consumption plan. Note that the error message is specific to "Flex Consumption sites".