Azure Function App not showing function after refactoring Python code into multiple files

Muhammad Adnan Arshad 0 Reputation points
2025-08-25T14:57:57.2266667+00:00

I am working on refactoring my Azure Function (Python, V2 programming model). Previously, all of my code was in a single file, and deployment from VS Code worked fine — the function appeared correctly in the Azure Function App.

After refactoring, I separated the code into multiple files (keeping the main file in the root folder). VS Code shows the structure correctly, and deployment completes without any errors. However, the function does not appear in the Azure Function App anymore — and no error messages are shown either.User's image

User's image

I followed the guidance from the Microsoft documentation here:
https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=get-started%2Casgi%2Capplication-level&pivots=python-mode-decorators#package-management

issue User's image

Question: What could cause the functions to not show up in the Azure Function App after refactoring into multiple files, and how can I resolve this?

Is there any kind of limitation of files which I am crossing?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.