Hi Tyler Suard,
Thanks for reaching out to Microsoft Q&A.
When this issue happens, most of the times it's a code structure or configuration issue preventing Azure from discovering the function during deployment.
- Function not placed correctly or missing files:
Azure discovers functions by scanning subfolders under wwwroot for all the function related files.
If the files are missing or malformed, no functions are registered.
- Check after deployment (via Kudu or VS Code’s “Remote Explorer”):
/site/wwwroot/<your_function_name>/ - If missing: The deployment didn't pack the function properly.
- Check all the required App Settings are available in Azure function app.
- Make sure deployed directory contains the main function files.
- Make sure there are no particular differences in the environment or configuration settings between local and Azure deployments
- If your function is Python V2, most of the times the deployment issue occurs because of missing required modules in requirements.txt or code structure.
- Add all the modules required to run your function are added in
requirements.txtfile to get installed during deployment.
- Check the activity log or Kudu console for any startup errors:
- Navigate to Application insights of your function app=>Run query Exceptions=>check if there are any errors or exceptions recorded which may be leading to deployment issues.
Hope it helps!
Please do not forget to click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you.