-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flex Consumption plan without FUNCTIONS_EXTENSION_VERSION
breaks function app
#10714
Comments
Hello @erwinkramer Thank you for reporting this issue. Will investigate furtherly and come back. |
That app setting should not be needed for Flex Consumption, so we'd have to investigate further. Can you also share the bicep section that's creating Microsoft.Web/serverfarm? |
sure, here you go: resource plan 'Microsoft.Web/serverfarms@2024-04-01' = {
name: name
tags: tags
location: location
kind: 'functionapp'
sku: {
tier: 'FlexConsumption'
name: 'FC1'
}
properties: {
reserved: true
} |
@erwinkramer That all looks correct, thank you. We would need the function name to be able to investigate. Here's instructions on how to share the function app name privately. |
@erwinkramer following up on this, any chance you could please share? We would love to investigate, and if this is a bug on our side we want to fix it. |
@nzthiago you can check |
@erwinkramer any chance you can share the project file of your app? |
@erwinkramer and others - @CooperLink and I are investigating, thank you for your patience. We will reply here when we identify if there's any gaps for us to close so that FUNCTIONS_EXTENSION_VERSION is truly not needed. |
https://learn.microsoft.com/en-us/azure/azure-functions/functions-app-settings#flex-consumption-plan-deprecations tells us that
FUNCTIONS_EXTENSION_VERSION
is not needed anymore.Removing
FUNCTIONS_EXTENSION_VERSION
breaks my function app with messageWe were not able to load some functions in the list due to errors. Refresh the page to try again. See details
(no details). Just addingFUNCTIONS_EXTENSION_VERSION
back again with value~4
solves it.If you look at the docs here: https://learn.microsoft.com/en-us/azure/templates/microsoft.web/sites?pivots=deployment-language-bicep#functionsruntime - it specifies:
Function app runtime version. Example: 8 (for dotnet-isolated)
- but how is version 8 of dot net (which you should specify there) related to function runtime 4? There is no relation and thusFUNCTIONS_EXTENSION_VERSION
is still needed (as i've proven by breaking it).Investigative information
Please provide the following:
Repro steps
Run with bicep:
and environment settings:
Expected behavior
Should work when leaving out
FUNCTIONS_EXTENSION_VERSION
as the docs say.Actual behavior
Gives message
We were not able to load some functions in the list due to errors. Refresh the page to try again. See details
Related information
I'm using this to deploy functions (because the original task for normal function apps doesn't seem to work either (with the flex option enabled):
The text was updated successfully, but these errors were encountered: