Read from Service Bus Queue and Write to a different SB Queue in .Net

Solution 1:

  1. You're mixing a Service Bus trigger with a return type for what looks like an HTTP trigger. Remove IActionResult as your return type.
  2. IAsyncCollector is how you dispatch messages, don't instantiate a new ServiceBusClient and senders.