How to delete or Clean " Dead Letter Query " in Azure Service Bus by Logic

Emran Hossain 0 Reputation points
2023-12-01T12:59:53.48+00:00

Requirement : 

 1. Recurrence every week 
 2. when msg go to Dead letter Query , manager/Responsible Person get notification by email 
 3. Condition / Action : 
      1.Msg will be automatically deleted after 10 day from Topic in Azure service Bus NS
      2. Confirmation msg sent to Manager/Responsible Person
Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,368 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MikeUrnun 9,777 Reputation points Moderator
    2023-12-02T04:45:34.91+00:00

    Hello @Emran Hossain - Thanks for reaching out, and posting on the MS Q&A. I understand you want to build automation using Logic Apps to send notifications based on when a message arrives at the Dead Letter Queue in your Service Bus namespace. If my understanding is correct, could you clarify the following?

    • Do you want to trigger the notification workflow on a weekly recurring schedule or whenever a message arrives at the Dead Letter Queue? The former is a time-bound trigger and the latter is event based trigger, please confirm which one is ideal for your scenario.
    • Regarding the Condition, could you share details on what needs to be checked? Or did you mean that it's more of an Action that keeps the message in the Dead Letter Queue for up to 10 days before deleting it automatically on day 10, and completes the workflow by sending another notification email?

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.