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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / email attachments flow...
Power Automate
Unanswered

email attachments flow auto delete attachment from outlook after syncing to onedrive

(2) ShareShare
ReportReport
Posted on by

is there a way to add an additional step to the email flow the takes all attachments from outlook and saves the to one drive, can we add another step that deletes the attachment from outlook once synced to onedrive so that we can free up email storage space automatically with such flows?

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    on at
    Re: email attachments flow auto delete attachment from outlook after syncing to onedrive

    Hi @ zheidemann,

     

     

    Do you want to  save all attachments from outlook to onedrive and then deletes the attachment from outlook?

     

    You could create a flow to save all attachments from a folder(Such as Inbox) in outlook  to onedrive currently refer to screenshot below:

     

    Capture.PNG

     

    Note: There is a limit in the amount of emails that the “Get emails” action retrieves, the “Get emails” action could only retrieve at most top 25 emails once, if your original "Site Alpha" e-mail is not in top 25 emails, the “Get emails” action would not retrieve it.

     

     

    Do you want to delete all the attachments from outlook?

     

    If you would like to delete the email which has attachment, Microsoft flow support to delete a email currently, you could add a "Delete email" action under the "Apply to each" and refer to screenshot below to create the flow:

    Capture.PNG

    If you only want to delete the attachment and don't delete the email, delete the attachment and don't delete the email in not supported in Microsoft flow currently,I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Regards,
    Alice Zhang

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard