cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ram_ESP
Helper I
Helper I

Save an Email to a document Library via Power Automate

Hi Team,

 

I have created a shared mailbox and provided necessary permissions. I wanted to save email received to this shared mailbox in a sharepoint document library in .msg format. Is this possible?

 

Thanks,
Ram

8 REPLIES 8
Pstork1
Dual Super User
Dual Super User

Here's the flow.  Tested and working

image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks. This worked for me. I wanted to try the scenario mentioned below:

 

I wanted to save an email in .MSG format and respective attachment on the email to a document library. Is this possible? 

 

Regards,
Ram

When saving to a document library each entry is a single file.  So you can save the message as a .msg, but then there is no where to attach the attachments.  You can save them in the same library, but there won't be a connection to the .msg unless you add something to the metadata.  You could save them as attachments to a list item, but the .msg would also have to be saved as an attachment.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thank you for your email. I have completed the requirements. This is working great on my end.

 

Save Email and Attachments to a document library:

ram_ESP_3-1629283845288.png

 

 

ram_ESP_1-1629283598315.png

ram_ESP_2-1629283680972.png

 

Save Email to a document library:

 

ram_ESP_4-1629283968347.png

 

ram_ESP_5-1629284042345.png

 

 

 

Thanks,

Ram

I get an error message when trying to open the message that was saved. Any idea?

Double check that you added the .msg extension when you saved the email.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

The problem occurs when opening the .msg file on the desktop, not when opening it in the browser.
If I change the file extension to .EML than it works both in the desktop and in the browser.
The official documentation states that a .EML file is generated, so I probably best to save is as a .EML file, not .msg. 

Office 365 Outlook - Connectors | Microsoft Docs

Sebastiendb9
Advocate IV
Advocate IV

Is there a possibility to save a hyperlink to the original e-mail message from the shared mailbox?
Then no need to copy the mail and waste space.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,404)