Skip to main content

Notifications

Power Automate - General Discussion
Suggested answer

Unable to edit Outlook eMails saved to SharePoint by Power Automate

Posted on 19 Nov 2024 02:16:29 by 6
I have a power automate flow which is initiated when certian emails arrive.
The flow captures the email and saves it to a sharepoint folder.
I can open the file to view but not to edit. When I attempt to open the file (using open "in app" from SP). I get this error...


I am the owner of the sharepoint folder.

The power automate flow has 3 actions:

  1. When new eMail arrives
  2. Export eMail
  3. Create File




    I want to be able to save eMails from outlook into sharepoint and then open those eMails to edit in either outlook or Word.
    I have also tried saving the emails with the .docx extension but I get the same error.
Categories:
  • Suggested answer
    JC-27112049-0 Profile Picture
    JC-27112049-0 on 27 Nov 2024 at 20:52:39
    Unable to edit Outlook eMails saved to SharePoint by Power Automate
    Create File step.... save as .eml
     
     
    concat(item()?['subject'], '.eml')
     
    When I did this to create an email archive, it saves the entire email, which then can be replied to or forwarded.
  • JC-19110207-0 Profile Picture
    JC-19110207-0 6 on 19 Nov 2024 at 15:26:45
    Unable to edit Outlook eMails saved to SharePoint by Power Automate
    Note: to edit the saved files I'm using the "Open In App" selection in SharePoint after the files are saved.
  • JC-19110207-0 Profile Picture
    JC-19110207-0 6 on 19 Nov 2024 at 15:23:15
    Unable to edit Outlook eMails saved to SharePoint by Power Automate
    Thomas, thanks for your response.
     
    I want to be able to save eMails in sharepoint and then modify their content.
    The eMails do not have to be in a .msg format. Any editable format would suffice.
    I did try saving them as .docx but the same error is generated.
     
    Also, if we save the eMails (.msg) manually directly into sharepoint from outlook they are editable.
    It's only when I add the automation using Power Automate that they are not editable.
     
  • Suggested answer
    trice602 Profile Picture
    trice602 10,929 on 19 Nov 2024 at 04:10:00
    Unable to edit Outlook eMails saved to SharePoint by Power Automate
    Hi,
     
    You cannot directly edit a .msg file (an Outlook email file format) in SharePoint because .msg files are static representations of email messages.  What exactly do you want to do with messages in SP and edits?  Sorry, I don't understand the question here.
     
    You can get the body of the message into a docx file but then it is not an email message but a Word document.
     
    ------------------------------------------------


    If this was helpful, please like and/or mark as a verified answer to help others find this too!


    Always glad to help! 💯💯💯💯💯

    Tom 

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     


     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,137

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,813

Leaderboard

Featured topics