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.




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

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,939)