Hi @Leo - Thanks for confirming the version info which is different between VS Code and the CLI.
I suspect that the "No HTTP triggers found" error is occurring because of the missing app settings concerning the versions of Functions runtime as well as the programming model for NodeJS. Take a look at the following support matrix:
Assuming that you're choosing the specific versions highlighted in the yellow box in the screenshot above and opting to run your function app on a Windows-based plan on Azure, please add the following and then re-deploy to Azure again:
- Locally: in your
local.settings.json
file, verify that the following app setting is present:
"AzureWebJobsFeatureFlags": "EnableWorkerIndexing"
- On Azure: navigate to the Environment Variables and verify that the
WEBSITE_NODE_DEFAULT_VERSION
app setting is present and set to a value of~20
:
After adding the settings above to their respective places, please redeploy again and check if the same error occurs. If you're still hitting the same error despite ensuring the app settings above, please share a screenshot showing all the app settings you have in place and info on the hosting plan SKU that you're deploying to.
---Please "Accept Answer" if the answer is helpful so that others in the community may benefit from your experience.