Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zAIsdJJ9oqVX30elHW6kbS
Power Automate - Building Flows
Unanswered

Permanently delete email in Outlook?

Like (0) ShareShare
ReportReport
Posted on 13 Dec 2023 09:19:51 by 21

I have a flow that uploads a file to Sharepoint when it arrives to my inbox. After uploading the file, it deletes the email. While it does that job - is it possible for the email to be permanently deleted instead of just sitting on my Deleted Items folder until it gets permanently deleted after x days?

 

olimilo_0-1702459138645.png

 

  • VictorIvanidze Profile Picture
    12,214 on 13 Dec 2023 at 13:15:05
    Re: Permanently delete email in Outlook?

    Before deletion retrieve the "Internet Message ID" of a message. After deletion search this message in the Deleted Items folder by "Internet Message ID"  and then delete it permanently. 

  • v-yetonggu-msft Profile Picture
    on 13 Dec 2023 at 09:42:46
    Re: Permanently delete email in Outlook?

    Hi @olimilo ,

    I did a test for your reference.

    In my scenario:

    Note that the two dynamic content 'Message Id' come from different sources.

    The first one comes from the trigger and the second one comes from the 'Move email' control.

    vyetonggumsft_0-1702460261637.png

    vyetonggumsft_2-1702460487178.png

     

    Best Regards,

    Sunshine Gu

     

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!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started