I am using Azure Queue Trigger v4 to get it triggered through managed identity having Storage Queue Data Contributor Role, but when new message is added in Queue, this azure function does not get triggered. I checked the application insight but there is no error.
[FunctionName("TestSyncFunction")]
public async Task Run(
[QueueTrigger("file-queue", Connection = "QueueConection")] QueueMessage queueMessage,
ILogger log)
{
log.LogInformation($"TestSyncFunction function executed at: {DateTime.Now}");
}
//My local.settings.json looks like this: "QueueConection__queueServiceUri": "https://xyz.queue.core.windows.net/", "QueueConection__credential": "managedidentity"
Also, I referred to 2 existing links but there is no help at all.