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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Save Office 365 email ...
Power Automate
Unanswered

Save Office 365 email attachments to OneDrive for Business: Action 'Create_file' failed, Code 400

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I am trying to set up an automated flow to upload emails (including attachments) from a specific Outlook folder to a specific OneDrive folder. I have set up my flow as such:

 

GeoffreyAequum_2-1667867595393.png

 

And I am getting this error:

 

GeoffreyAequum_0-1667867484846.png

GeoffreyAequum_1-1667867513776.png

From what I can see, it looks like it's ok with the input but having issues with the output. I've tried looking on here and elsewhere online and either I'm searching wrong or this isn't a common issue or use case.

 

Could anyone please assist? This could reduce my workload by at least an hour every day if I can get this working for every folder!

 

Cheers,

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,415 Most Valuable Professional on at

    The only thing I see wrong with the export is you are making it a .msg file.  When I've done this its always been an .eml.  I'm also not sure you can save it with attachments.  You may have to save the attachments separately

    image.png

  • Geoffrey-Aequum Profile Picture
    2 on at

    Hi Pstork1, thanks for your quick answer!

     

    I've updated it to .eml (and changed the filename to received time but besides the point):

     

    GeoffreyAequum_0-1667869252771.png

     

    And changed include attachments to no:

     

    GeoffreyAequum_1-1667869297554.png

     

    Still getting the same error 😞

  • Pstork1 Profile Picture
    69,415 Most Valuable Professional on at

    As a test I would also try selecting the folder using the default folder icon rather than inputting the full URL.  If you look at my screenshot you'll see the folder path is a relative path, not a full URL.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 815

#3
Haque Profile Picture

Haque 630

Last 30 days Overall leaderboard