Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Delete Email (V2) isn't deleting Emails

(0) ShareShare
ReportReport
Posted on by

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

  • Community Power Platform Member Profile Picture
    on at
    Re: Delete Email (V2) isn't deleting Emails

    "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.

     

  • VictorIvanidze Profile Picture
    12,214 on at
    Re: Delete Email (V2) isn't deleting Emails

    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. 

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Delete Email (V2) isn't deleting Emails

    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!

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow