cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
grayishfiber
Level: Power Up

Update OneDrive file with content from an email attachment

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

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

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

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

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

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

grayishfiber
Level: Power Up

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. 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 87 members 3,244 guests
Please welcome our newest community members: