Unable to trigger azure function though service bus queue

Santhosh S 1 Reputation point
2020-06-13T18:15:15.887+00:00

I wanted to trigger a function whenever a queue receives a message. The queue is getting loaded with the input message but service bus is not triggering the function. No error or No output.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
391 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,017 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
77 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sean Feldman 211 Reputation points
    2020-06-13T19:04:35.993+00:00

    That's an indication that your Function is not activated. And if it's not activated while a message is found on the queue, the potential issue would be Function configuration.
    You need to specify connection string and queue name. If there is no connectivity exception, that tells me the connection string is working, Just validate is the right namespace connection. Then, check if the queue the Function is configured with is the right queue. And if everything checks out to be OK, then my friend, share the code. When you want a doctor to tell you what's wrong, you can't just claim you don't feel well. Either share it via GitHub or some other way to see what's happening. Don't forget to sanitize sensitive information to avoid world celebrations at your expense.