An Azure service that provides an event-driven serverless compute platform.
Python 3.13 isn’t a supported option for a Function App running on the legacy Linux Consumption plan. Python 3.12 is the final Python version supported on this plan; newer versions won’t be added.
Python 3.13 and 3.14 are GA for Azure Functions, but you must use a supported hosting plan such as Flex Consumption, Premium, or Dedicated. For the existing Linux Consumption app, the supported migration path from Python 3.10 is therefore Python 3.12, not 3.13 or 3.14.
Terraform accepting linuxFxVersion doesn’t establish runtime support. The resulting 503 responses also don’t prove that the app only requires activation time. Both newly created apps were configured with Python versions unsupported by that hosting plan.
Recommended options:
- Remain on Linux Consumption and recreate or migrate the app using Python 3.12.
- Move to Flex Consumption if Python 3.13 or 3.14 is required. Microsoft recommends Flex Consumption for new serverless Function Apps.
The WEBSITE_RUN_FROM_PACKAGE and deploy-then-flip tests can’t make an unsupported language/hosting-plan combination valid. I cannot find verified Microsoft documentation confirming the SCM deadlock mechanism described here; if SCM remains unavailable after recreating the app with Python 3.12, investigate it separately through Azure Support.
References:
Azure Functions runtime and supported language versions
Supported languages in Azure Functions
Azure Functions Flex Consumption plan
Update language stack versions
Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.