Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Function Not Deploying to Azure Function from VSCode

I'm trying to create a Python Azure Function, and after creating the function locally (which I confirmed works in the debugger), I can't find a way to deploy it to my Azure Function App. I choose to "Deploy to Function app..." which appears to complete successfully, but the function never shows on Azure Portal. Any ideas?

enter image description here

like image 744
MarkR Avatar asked Dec 29 '25 06:12

MarkR


1 Answers

It happened to me many times and the reason was not having all the settings present in local.settings.json created in the azure portal environment variables.

Make sure both settings match, then save. if that was the problem the functions will appear without the need of a new deployment.

Uploading settings from Visual Studio

If you have doubts whether or not all the configs are there you can upload your local config to azure and then you can edit to production values.

enter image description here

like image 176
Nelssen Avatar answered Dec 30 '25 23:12

Nelssen