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 / Delete Email (V2) isn'...
Power Automate
Unanswered

Delete Email (V2) isn't deleting Emails

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm creating flows using the "CreateAnItemInSharePointFromAttachment" Template.  This works up until the end when it should Delete the Email. It doesn't delete the email. In the beginning the flow worked great but, it seems when (V2) showed up, it stopped.

Here's a capture of the flow:

STEP2.png

 

Here's the error:

error.png

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    That is because the trigger you are using is when an email is arrived in a Shared Mail Box and then the action for deleting it is using the mailbox associated to the mail box that is authenticating the connector and not the shared mail box. I believe that the delete email action cannot delete an email from a shared mailbox. 

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • VictorIvanidze Profile Picture
    13,079 on at

    Hi @Anonymous,

     

    have a look at this thread: https://powerusers.microsoft.com/t5/General-Power-Automate/Get-email-from-shared-mailbox-Invalid-Mailbox-ID/m-p/486261#M46669

     

    In summary:  you have exploited a bug in Delete email (v2) action. Now it seems they have fixed a bug and your flow stops working.

    There exists a non-direct way to delete a message using MS GRAPH API though. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    "That is because the trigger you are using is when an email is arrived in a Shared Mail Box and then the action for deleting it is using the mailbox associated to the mail box that is authenticating the connector and not the shared mail box."

    The owner of the shared mailbox also configures the connector and flow

    "I believe that the delete email action cannot delete an email from a shared mailbox"

    It worked before last week for over month.

     

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
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard