Consider a simple example where we have to display a "good morning" message on screen every day in the morning at 8 AM. . This post is about PowerShell in Azure Functions v2. The Service Bus Trigger allows a function to be executed when a message is sent to a Service Bus queue or topic. Here's how the code would look like FunctionName ("ServiceBusQueueTriggerCSharp") public Task Run (ServiceBusTrigger ("myqueue"). Jan 29, 2020 Below are the ways to read the messages from the DLQ using the Azure Functions Using Code In the below example, we are reading the messages from the DLQ at a regular time interval and are resending the messages to the Active Queue. The service Service Bus guarantees reliability, scalability, and security in messaging delivery. Here's an example serverless. 2019. The first argument for the trigger annotation is the name of the queue the function is to be reacting to.