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 Automate - Building Flows
Answered

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard