@Deshmukh, Vijit Thanks for reaching out. Please follow the below suggestions step by step:
- Navigate to Advanced tools and debug console: https://<APPNAME>.scm.azurewebsites.net/DebugConsole, browse to C:\home\site\wwwroot and check if the Functions are there
- Navigate to C:\home\data\SitePackages and check if the latest zip file contains the Functions and the packagename.txt is updated. Please download and check the code contents of your zip file.
Manually Syncing Triggers:
- Restart your function app in the Azure portal.
- Send an HTTP POST request to
https://{functionappname}.azurewebsites.net/admin/host/synctriggers?code=<API_KEY>
using the master key. - Send an HTTP POST request to
https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/resourceGroups/<RESOURCE_GROUP_NAME>/providers/Microsoft.Web/sites/<FUNCTION_APP_NAME>/syncfunctiontriggers?api-version=2016-08-01
. Replace the placeholders with your subscription ID, resource group name, and the name of your function app. This request requires an access token in theAuthorization
request header.
When you deploy using an external package URL, you need to manually restart your function app to fully sync your updates when the package changes without changing the URL.
More Info here.
if above steps don't help:
1.Please try to deploy using the zip deployment method and check if that helps. You can use the below command to publish your function app:
func azure functionapp publish <APP_NAME>
2.The language of your function app is maintained in the FUNCTIONS_WORKER_RUNTIME AppSetting in Azure Function App Portal. Ensure that you have set it correctly.
3.Please check the AzureWebJobsStorage
setting in local.settings.json.
You need to update the value to the Azure Storage connection string:
DefaultEndpointsProtocol=https;AccountName=<ACCOUNT NAME>;AccountKey=<ACCOUNT KEY>;EndpointSuffix=core.windows.net
Also ensure the same connectionstring is placed in the App settings in Azure.
Hope this helps!
If none of the above action plan helps, please let me know. I would be happy to assist you further.