I am deploying azure function using Azure Devops pipeline:
Check your function contents... Additionally, you may run it manually through the Test/Run button:
Test you function with async
keyword like here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-timer?tabs=in-process&pivots=programming-language-javascript#example
module.exports = async function (context, myTimer) {
var timeStamp = new Date().toISOString();
if (myTimer.isPastDue)
{
context.log('Node is running late!');
}
context.log('Node timer trigger function ran!', timeStamp);
};
CodePudding user response:
it turns out the binding:
{
"type": "queue",
"name": "operationRequest",
"queueName": "operations-queue",
"connection": "AzureWebJobsStorage",
"direction": "out"
}
was causing this. basically I have some rights issue with this request which causes the function not to invoke. still investigating this, but it is the reason.