@SangeethaP Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you are facing an issue while deploying your HTTP Triggered function app with the http trigger missing during second deployment.
- Please confirm if you used the
az functionapp deployment source config-zip
CLI command to perform the deployment. More info about the Zip deployment through CLI. Did you try with most recent CLI version (2.53.0) ? - Did you try restarting the function app and check if that makes a difference ?
- Could you please make sure that the
d:\home\data\SitePackages
(Windows) or/home/data/SitePackages
(Linux) folder has a file namedpackagename.txt ?
This file contains only the name, without any whitespace, of the package file in this folder that's currently running. - Open the
d:\home\site\wwwroot
(Windows) or/home/site/wwwroot
and then navigate to your function app folder and check if your updated code is present here. This step is to isolate that you deployment is done successfully. - Could you please perform the deployment as mentioned in this document and check if that helps ? If you have tried it already try publishing with
func azure functionapp publish
command (see here) and check if that makes a difference.
If none of the above action plan helps, please let me know I would be happy to assist you further.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.