I’m running into a blocking issue with a Python 3.11 Azure Function App on Linux.
Until this week my Function App contained three HTTP-triggered Python functions and everything worked perfectly. After Microsoft rolled out the new Flex Consumption infrastructure, the Azure Portal suddenly shows no functions at all. The “Functions” blade is completely empty and the runtime no longer detects any triggers.
To troubleshoot I tried the following:
Stayed on Flex Consumption → no functions detected
Switched to a Basic App Service Plan → still no functions detected
Tested both folder structures:
A single
function_app.pyat the rootEach function in its own folder with
__init__.py+function_app.py
Redeployed multiple times (ZIP deploy, VS Code deploy, GitHub Actions)
Confirmed Python version is still 3.11
Created a completely new Function App → same issue
Still, the runtime loads zero functions, not even a minimal test like “ping”.
My questions:
What is the correct folder structure for Python on Linux now?
Has Microsoft changed the requirements with the new Flex Consumption rollout?Which setting could cause the Python worker to stop scanning for functions?
(e.g.WEBSITE_RUN_FROM_PACKAGE, worker version, app settings…)Are there known issues with Python on the new Flex Consumption plan?
Why does the same code also fail to load under a Basic plan?
I’m fine running my Function App on Basic if that solves it — I just want the runtime to detect the functions again.Can someone provide a minimal working folder layout for a Python 3.11 HTTP-triggered Function (Linux), valid today?
Context:
Language: Python 3.11
OS: Linux
Plan tried: Flex Consumption (new model) → not working, Basic → also not working
Deployment: ZIP deploy (no Docker)
Previously working code now loads 0 functions according to the portal and runtime logs.
Any help or a minimal working example is highly appreciated.
Thank you!