Hi Team
I Have Deployed the Azure function from visual studio code and this function is created using (python 3.9)
After completion of Deployment i'm not able to see my function from portal can someone help me how to fix this
Thanks
Deepak
Hi Team
I Have Deployed the Azure function from visual studio code and this function is created using (python 3.9)
After completion of Deployment i'm not able to see my function from portal can someone help me how to fix this
Thanks
Deepak
i Can able to see Remaining files like Requirements.txt,host.json etc..except init.py(Function main file)

@DeepakMandala-6835 I have tried reproducing the issue with python 3.9 but couldn't observe the same behaviour.
As per the screenshot log we can see that the trigger were tying to sync but no HTTP trigger found. Further I have looked into the backend logs for your function app but your function app is deleted now.
The suggestion would be verify your function.json whether you have define the bindings correctly and scriptFile same as your init.py filename. As the default scriptFile name defined is __init__.py and if you have changed your entry point then this should also be updated in function.json and this could be one of the reasons that your triggers were not found when you have deployed your function app.
If you are still facing the issue then please share your function.json file along with your script file content so I can verify at my end and assist you further
Hi
Please find the funtion.json file and init.py file
Thanks
Deepak
Functions json :
{
"scriptFile": "init.py",
"bindings": [
{
"authLevel": "anonymous",
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": [
"get",
"post"
]
},
{
"type": "http",
"direction": "out",
"name": "$return"
}
]
}
7 people are following this question.