web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an Email V2: Erro...
Power Automate
Unanswered

Send an Email V2: Error Trap

(0) ShareShare
ReportReport
Posted on by 789 Moderator

When using the 'Send an Email V2' action, there doesn't appear to be way to setup error trapping. For example, a malformed email address. 

 

For comparison, when a 'Run a Child Flow' action is used, the Dynamic Content will show properties of that Action that are returned. The 'Send an Email V2' has no presence in the Dynamic Content. 

 

That said, when the 'Send an Email V2' is executed and fails, I've found that the "x-ms-apihub-cached-response" will be False. I want to be able to query this value to denote an email failure, but don't know how to refer to it, as 'Send an Email V2' does not become an Output.

 

What is the proper way to perform this error trap?

Categories:
I have the same question (0)
  • Tristan_D Profile Picture
    405 on at

    Hi @GDSI ,

    Quick question, are you trying to test any email or only mails from users located in your tenant (Entra ID) ?

    T

  • abc 123 Profile Picture
    789 Moderator on at

    Whether I enter my work email address or my gmail address in the To section, neither will cause it to have a presence in the Dynamic Content, such that I can test against it as an Output.

     

    Where are you headed with this question?   

  • Jordan-Ryan Profile Picture
    112 on at

    Have you thought about putting it inside a Scope then having a failed step after to check for any errors?

  • abc 123 Profile Picture
    789 Moderator on at

    Have you tried putting a malformed email address in the To and run it? It completes successfully, so, in theory, the Scope won't know that it's failed, when the Action reports back a Success when there NO way to trap for the failure. (I'm dizzy.)

     

    Today, I did find where the failed Action emailed the Developer user that the email failed to send, but I'd really LOVE to trap that an Automated Process Email failed on my terms, not the Flows.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard