An error occurs after clicking "Upload Settings" button in the notification
OS: All Build Version: v1.14.4-alpha.0 Regression: Previous release (1.14.3)
Repro Steps:
- Create a function app with Flex Consumption (Preview) hosting plan.
- Deploy a project to this function app.
- Click "Upload Settings" button in the notification after deployment successfully.
- Check whether no error occurs.
Expect: No error occurs.
Actual:
An error occurs.
Happens for PowerShell as well. There should be a check if the app is a func app and exclude it.
Interestingly, func azure functionapp publish doesn't care:
Setting AzureWebJobsStorage = ****
Setting DCR_ENDPOINT = ****
Setting DCR_RULE_ID = ****
Setting MERAKI_ORG_ID = ****
Setting MERAKI_API_KEY = ****
Setting DEBUG_LOGGING = ****
Updating function app runtime setting with 'powershell 7.4'.
I'm facing the same issue. When I try to upload the local.settings.json configuration values to App Settings before deploying the Function App project, I get an error stating that FUNCTIONS_WORKER_RUNTIME cannot be configured in Flex Consumption.
The following app setting (Site.SiteConfig.AppSettings.FUNCTIONS_WORKER_RUNTIME) for Flex Consumption sites is invalid. Please remove or rename it before retrying.