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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update OneDrive file w...
Power Automate
Unanswered

Update OneDrive file with content from an email attachment

(0) ShareShare
ReportReport
Posted on by 5

Hello,

 

New Flow user here trying to automate a common business situation. 

 

I receive a report daily from an old ERP system that is an input I use for a Power BI report. File comes as a .txt file attached to the email. I want to take that attachment and write it to a file one my OneDrive for business account. 

 

I have the logic for taking an action when I receive this particular email working flawlessly, but I haven't been able to get  create file or update file to work at all.

 

This is the error I'm getting with create file:

Capture.PNG

 

I have verified that Include Attachments is set to "Yes" on the "When a new email arrives" step of the flow.

 

I really don't care if the file lives on OneDrive or a network location but my understanding is storing it on a network location isn't a feature provided in my E3 license. I just need the same file updated every time this email arrives.

 

Any help would be appreciated

Categories:
I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    on at
    Re: Update OneDrive file with content from an email attachment

    Hi @grayishfiber ,

     

    Could you share a detailed screen shot on how is the flow set up?

     

    From your description, it seems that you would like to create email attachments to OneDrive for Business.

     

    I have tried with the following flow, which is working properly to save the attachments to OneDrive for Business.

    1.PNG

     

    Best regards,

    Mabel

     

  • grayishfiber Profile Picture
    5 on at
    Re: Update OneDrive file with content from an email attachment

    @v-yamao-msft 

     

    Thanks for your reply! I was actually able to figure it out based on the working flow you provided. I was missing the "get attachment" action. Once I added that my flow functioned as expected. 

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard