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.




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 Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,494)