Glad to hear you’ve resolved the issue!
Resolution:
Moved the function definition to index.js using the correct app.http(...) syntax.
Added the environment variable AzureWebJobsFeatureFlags=EnableWorkerIndexing.
This helped the function appear in the Azure Portal. Thanks for sharing — this will definitely help others facing a similar issue!