I have a issue related to my Azure Function app deployment. Despite my attempts to deploy new functions, they do not overwrite the existing ones. Here are the details of my case:
- Function App Details:
- Problem Description:
- Whenever I deploy a new function, it does not replace the existing function code. The old function remains active, and the new code does not take effect. eg. There is already an existing function app named http-trigger. When I try to deploy 3 different function (funcA, funcB and funcC) via VSCode, it gives me message of successful deployment. I can also see the content on the function app code+test section. However, the name of function app does not change. I can only see 1 function app with name http-trigger.
- Expected Behavior:
- I expect that deploying a new function should overwrite the existing one and display 3 functions, ensuring that the latest code is in effect.
- Troubleshooting Done:
- I’ve manually restarted the function app.
- I’ve reviewed the function app configuration settings, including runtime, triggers, and connection strings.
- I’ve checked the storage account connections to ensure they are correctly set up.
- Additional Information:
- No error messages are displayed during deployment.
- The issue occurs consistently across different deployment methods. Can anyone please help me with the solution.