You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to deploy CRON Timer Trigger using Azure Function in Python. I tried to deploy it using VS Code and through command as well func azure functionapp publish <functionapp_name>
But in both cases trigger is not showing azure portal.
Here are the steps I followed:
Step 1: Installed all the following prerequisites:
Installed Azure Core Tools v4
Have Azurite V3 Extension Installed.
Working in Python 3.11.8.
Latest version of VS Code in Windows
Azure Function Extension installed
Step 2: Created Azure Python Function with Consumption Plan
Step 3: Created a Function App with Python v2 Model
Step 4: After doing required changes in default function code, I tried to deploy that using VS Code Azure Extension by selecting the required function app: Deployed using following Azure Extension
Step 5: Checked for deployment status. In VS Code it is shown as successful. In Portal all files which are not ignored, are uploaded to the Azure Function Resource but it's not showing as a function.
I wanted to deploy CRON Timer Trigger using Azure Function in Python. I tried to deploy it using VS Code and through command as well
func azure functionapp publish <functionapp_name>
But in both cases trigger is not showing azure portal.
Here are the steps I followed:
Step 1: Installed all the following prerequisites:
Installed Azure Core Tools v4
Have Azurite V3 Extension Installed.
Working in Python 3.11.8.
Latest version of VS Code in Windows
Azure Function Extension installed
Step 2: Created Azure Python Function with Consumption Plan
Step 3: Created a Function App with Python v2 Model
Used VS Code Azure Extension to create Function locally
Step 4: After doing required changes in default function code, I tried to deploy that using VS Code Azure Extension by selecting the required function app: Deployed using following Azure Extension
Step 5: Checked for deployment status. In VS Code it is shown as successful. In Portal all files which are not ignored, are uploaded to the Azure Function Resource but it's not showing as a function.
Function is not showing up in overview
However I can see files successfully deployed in App File Section
Step 6: Also I have checked deployed Azure Function in VS Code but I can't see function.json under Function.
Cross checked in VS Code
My function_app.py looks like the following:
requirements.txt
local.settings.json
Code is working fine when tested locally but when it is published it is not showing in azure portal.
Any help or suggestions will be appreciated as I want to test the deployment reliably.
I tried all the above-mentioned steps. The expected results is successful deployment of Azure Function.
The text was updated successfully, but these errors were encountered: