Skip to main content
Community site session details

Community site session details

Session Id : NZMiHhzTDErZpWSwCZrGdD
Power Automate - Building Flows
Unanswered

O365 Mail export .msg to sharepoint

Like (0) ShareShare
ReportReport
Posted on 7 Feb 2019 13:57:45 by 8

Hi

 

I am writing flow to :

- When receiving a email (with filter option)

- Export Email

- Store export to sharepoint library as .msg file

 

Flow creation is ok : see screenshoot

 

But when I am trying to donwload the file from sharepoint i'v got an error message : "file couldn't be open, maybe file is already open or check security...."

 

More the .msg file created in sharepoint is not index by sharepoint.

 

Any Idea ? Help ?

 

 

Regards

Emmanuel

  • Elenore Profile Picture
    6 on 26 Jan 2022 at 09:35:37
    Re: O365 Mail export .msg to sharepoint

    Hi again - I found the solution to my problem on a different feed. The "Body" selected was not the correct one, which must be "from the export".  I'm still not clear on the difference or how I found the correct one vs. the wrong one I had originally, 🤔 but now its working. 

  • Elenore Profile Picture
    6 on 25 Jan 2022 at 15:47:04
    Re: O365 Mail export .msg to sharepoint

    Hi Guys,  I had the same issue as above and using ".eml" helped me open the email (in concat). However, now I have the problem that the email file is empty. None of the original email text or header info is in the new file that gets created. Can anyone help me with this? Why is my .eml file empty?

     

    Elenore_1-1643125598513.png

     

     

    image.png

     

  • Barbara_G Profile Picture
    3 on 23 Mar 2020 at 20:14:46
    Re: O365 Mail export .msg to sharepoint

    I have the exact same issue.

    It appears that Flow only creates a .eml formatted email. However Sharepoint online does not appear to index this file type.

    If I manually upload a regular.msg formatted email to Sharepoint Online, it does get indexed and its content is searchable.

    If I manually upload a regular .eml formatted email to Sharepoint Online is does not get indexed and its contents are not searchable.

    So how to we get Flow to create email files as .msg files or how do we get Sharepoint Online to index .eml files.

  • SOULOUMIAC Profile Picture
    8 on 13 Feb 2019 at 15:33:29
    Re: O365 Mail export .msg to sharepoint

    hi,

     

    Thanks for answer, i also perform the test with .eml file and that is working.

     

    But .... .eml file are not index by 365 sharepoint, so could not use search power of sharepoint on this file.

     

    Regards
    Emmanuel

  • v-bacao-msft Profile Picture
    on 08 Feb 2019 at 06:18:38
    Re: O365 Mail export .msg to sharepoint

    Hi @SOULOUMIAC,

     

    I did a test on my side and encountered the same problem as you. Please try changing the extension type of the file to ".eml".

    40.PNG

    After I use ".eml" as the extension of the file, the saved emails can be opened normally.

    Please take a try.

     

    Best Regards,

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Loading complete