How to send a message to DeadletterQueue in a topic/subscription using Standard Logic App?

Azure-search 201 Reputation points
2023-03-08T10:45:28.5+00:00

I am trying to send a message to DeadLetterQueue of topic/subscription whenever a particular condition fails. I am using a standard logic app which does not seem to have an in-built action "Dead-Letter the message in the queue".

Instead of this action i tried using "Send Message" with <topic path>/Subscriptions/<subscription path>/$deadletterqueue as the path to my deadletterqueue, and it is not working.

User's image

Can someone please suggest if there is any other way to do this using standard logic app?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,829 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 68,391 Reputation points
    2023-03-09T12:16:09.9366667+00:00

    @Azure-search Thanks for reaching out. It looks like you are using the built-in service bus connector. Unfortunately, right now the built in service bus connector doesn't support sending messages to the dead letter queue. Right now, only Azure service bus connector supports the Dead-letter the message in a topic subscription action.

    The workaround would be leveraging the Azure service bus connector rather than built-in. The product team is currently working on more operation in pipeline for service bus built-in connector and you can find more details on the road map here.

    Update:

    The build in service bus connector now supports dead letter the message.

    Let me know if you have any queries or concerns.

    Please accept as "Yes" if the answer is helpful so that it can help others in the community. If you need any help/clarification/concerns/follow up questions, then please click on "Add Comment" on my answer and provide more details.

    0 comments No comments

0 additional answers

Sort by: Most helpful