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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with automatical...
Power Automate
Unanswered

Issue with automatically saving attachments in OneDrive that I received via Outlook

(1) ShareShare
ReportReport
Posted on by 5

Hi all, 

 

I tried to create a flow which automatically saves attachments, received via mail in Outlook, in OneDrive. Setting up the flow wasn't difficult as there was a template in Power Automate. I tested the flow and got a succeeded status. The issue is that I couldn't open the attachment in OneDrive and got below error message. 

 

Jonas8_0-1719842167254.jpeg

You can also see that the files all have 1kb memory which isn't the case for the original file in Outlook. 

Jonas8_1-1719842167256.jpeg

Does anyone have an idea what I'm doing wrong? Something is going wrong between Outlook and OneDrive but I'm not sure if it has something to do with Nitto settings or if it's just something that I should change in my flow in Power Automate. 

 

Kind regards, 

 

Jonas Vreys

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Jonas8 It's hard to provide recommendations without seeing your full flow. If you are using the new designer,toggle it off and click each action to expand them. Upload a screenshot of your flow in edit mode and the error you are receiving, it would help to provide more insight.

     

    In the meantime you might find the YT Tutorial linked below helpful. Although this tutorial covers how to get the Email attachments from Outlook to SP—the concepts covered in this flow can be applied to your flow as well. Just select the OneDrive actions instead of the SP actions.

     

    Save Email Attachments to SharePoint with Microsoft Power Automate

    Power Automate doesn’t have a download attachment from outlook action. In this Power Automate Video tutorial, I’ll show you how to use the Get Attachment (V2) action in combination with the Create File action to get your email attachments onto SharePoint.

     

    The Create File action will overwrite any files that already exist with the same name. In this tutorial, I’ll show you how you can append a timestamp to the end of a file name to prevent your file from being overwritten.

     

    I’ll also show you how to set up your flow so that you can trigger it manually while building it so you don’t need to wait for an email to arrive. At the end of the video I’ll show you how adding trigger conditions to your flow can prevent it from triggering if certain conditions aren’t met. Although the final flow uses the When a new email arrives in a shared mailbox (V2) trigger, you can use any of the When a new email arrives triggers for your flow. Adjust this flow to suit your needs!

     

    IN THIS VIDEO:

    ✅ How to Automate Downloading and Uploading Email Attachments to SharePoint

    ✅ How to Use a the Get Email (V2) action

    ✅ How to Use the Get Attachment (V2) action

    ✅ How to Create Attachment Files using the Create File Action

    ✅ How to Prevent the Create File Action from Overwriting a File

    ✅ How to use Split the Filename from its Extension

    ✅ How to Append a Timestamp to a File Name

    ✅ How to use the When a New Email Arrives in a Shared Mailbox (V2) trigger

    ✅ How to use the Convert Time Zone action

    ✅ How to add Trigger Conditions to your Flow

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
  • Jonas8 Profile Picture
    5 on at

    Hi, 

    Thank you for your reply! This are fields I filled in in the Outlook options and the flow: 

    Jonas8_0-1719900332648.png


    This is in the OneDrive Parameters: 

    Jonas8_1-1719900364818.png

    And the OneDrive Settings: 

    Jonas8_2-1719900389121.png

    I tried to set 'Allow Chunking' on and off but both didn't change the outcome of the process. 

    After executing the flow, and receiving the file in OneDrive, I tried to open the attachment in OneDrive but got this error message: 

    Jonas8_5-1719900551916.png

    And it shows like this in my OneDrive folder with 1kb memory: 

    Jonas8_6-1719900660569.png

     

    I guess that the file is damaged somewhere between the transfer from Outlook to OneDrive but I have no idea on what the reason can be. 

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Jonas8 I believe you need to add a Get Attachments (V2) action as I've demonstrated in the tutorial I linked. Can you try that and let me know if it helps?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard