Deleting " Dead Letter Query from different query in a same Azure Service Bus Namespace" by Powershell Runbook

Emran Hossain 195 Reputation points
2023-12-05T16:16:41.1666667+00:00

Hi ,
Need a some help regrading

"Deleting " Dead Letter Query from different query in a same Azure Service Bus Namespace" by Powershell Runbook"

I want to delete the different dead letter query message from different Query/Topic .

But i did not find any option to delete by PowerShell Runbook in Azure

Like Remove Or Delete variable and so on .

Someone assist me to do that please

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
589 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,987 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,191 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 69,991 Reputation points
    2023-12-07T10:26:18.76+00:00

    @Emran Hossain Thanks for the confirmation.

    Unfortunately, there is no PowerShell command that can help you to delete the message from service bus queue/subscription.

    The workaround is leveraging the REST API in your PowerShell script to make the HTTP call to read and delete the message from dead letter queue.

    Alternatively, you can also leverage the service bus SDK's, azure function/logic app to consume/delete the message from dead letter queue by writing your custom code.

    Let me know if you have any queries or concerns.

    0 comments No comments

0 additional answers

Sort by: Most helpful