I have been trying to deploy an Azure function from Visual Studio Code to a function app on Azure. I am getting a message that the deployment was successful, but the Azure function does not appear in the function app on Azure. Here is the image of my file structure on VS Code. Any help would be appreciated.
I tried to change the configuration of the host.json file, but the same problem keeps happening.


This issue occurs when Function Syntax is incorrect, Code is incorrect, Deployed files are not properly getting deployed in correct folder structure. which prevents Azure function to recognize code as function.
I deployed HTTP trigger function, it worked perfectly fine.
OUTPUT: