Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

How can I get the count of messages in Dead Letter and their details?

Hi ,


Is there a way that I can get the count of meesages in the deadletter Topic subscription. I am trying to send out an email communication on daily basis on the number of messages and what are they.




Community Support
Community Support

Hi @pubathul,


What do you mean by dead letter?

Is it a letter that cannot be delivered or returned because of an incorrect address or other problem?

Do they have any common values in the email subject?

Please share more details to help figure out a solution.


Best regards,


Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



I am talking about the deadletter messages in Topic Subscription. I would need the count of messages in deadletter.




Resident Rockstar
Resident Rockstar

Hi, Are you referring to this - Azure Service Bus Messaging ?


I don't know too much about the above, but if you do get the count into Flow using an API call or similar, the something like the below can be used to see if it is above or below a value. If true, send an email, if false, don't send.Capture-025.png


Could you please as much detail as possible?


Can you post an image of any Flow you hvae srated to create to help illustrate the issue?

What have you done so far to try and  "get the count of meesages in the deadletter Topic subscription"?

Is an HTTP request you are trying to use or what method of query?

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!

This is what i am trying to to do I want to get the count of messages in my deadletter and send that count as an email to Team telling the total in the deadletter. i was trying to do the following but it did not help.



Community Champion
Community Champion

Hello, @v-yamao-msft!

Thank you for posting a reply to a topic on the Microsoft Flow Community! It appears that the users who you have been engaging in this thread with are now awaiting your reply! Please follow-up on this thread ASAP.

Thank You!


Microsoft Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,581)