cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TomiS
New Member

Delete email attachment

Tried using 'Save office 365 email attachments to specified onedrive for business folder' but took me only so far. Had some help getting the folders renamed but now, I just want to remove the attachment without deleting the email.

3 REPLIES 3
abm
Super User
Super User

Hi @TomiS 

 

There is no out of the box action step in Power Automate to delete the attachments. You need to look Microsoft GRAPH API.

 

Delete attachment - Microsoft Graph v1.0 | Microsoft Docs

 

DELETE /me/messages/{id}/attachments/{id}

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
MageshP
Regular Visitor

Can you please help me with the code and how to add it to the cloud flow? I'm not finding a way to add the code from the GRAPH API. I'm new to Power Automate. 🙂

Hi @MageshP 

 

Could you please create a new post and explain your requirements?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,226)