How to clear dead letter queue azure service bus by azure logic app

Emran Hossain 170 Reputation points
2023-11-12T16:28:27.7666667+00:00

Hi folk

I have question regarding delete "dead letter queue azure service bus" by Azure Logic App . I have no idea, how to start . Someone here give me idea, simply with good structure.

Thanks

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

Accepted answer
  1. MayankBargali-MSFT 63,511 Reputation points
    2023-11-14T09:19:42.7466667+00:00

    @Emran Hossain Thanks for reaching out.

    If your entity is queue and want to read the messages from dead letter queue then you can leverage the When a message is received in a queue (auto-complete) which will read and complete all the message once the message is landed in dead letter queue depending on what configuration you have specified in the 'How often do you want to check for items?' property. Make sure you have select the Queue type 'DeadLetter' as in the below configuration.

    User's image

    Similarly if you have topic subscription as the entity then you need to leverage the as the When a message is received in a topic subscription (auto-complete) trigger.

    In case if you want to manually run your logic and not when the message land in dead letter queue then you can leverage the Get messages from a queue (peek-lock) and then call the complete action. Similarly you can do the same for topic subscription. For more details on the different available action you can refer to this document.

    To get started with logic app service bus trigger/action you can refer to this document.

    Feel free to get back to me if you need any assistance.


0 additional answers

Sort by: Most helpful