cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Microsoft Flow corrupts Excel file

Hi!

 

I have created very simple flow: to save Excel attachment in sharepoint folder on new email (please, see printscreen 1).

All Excel files saved are of typical structure, but among 200 files there is half of them which are corrupted.

When I am trying to open them Excel gives me error (please, see printscreen 2).

 

Kindly help me to understand what is the issue.

 

Best regards, Kateryna.

 

 

Printcreen 1Printcreen 1

 

Printscreen 2Printscreen 2

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @ koreluk,

 

Could you please share a full screenshot of the configuration of your flow which contain the details of each action?

 

The error message told that the file format or expression is not valid,waht have you filled in the "File Name" field of the "Create file"action? 

please take a try to create the flow as screenshot below:

Capture.PNGCapture1.PNG

 

Please let me know if your issue still exists.

 

 

 

Regards,
Alice Zhang

View solution in original post

6 REPLIES 6
Community Support
Community Support

Hi @ koreluk,

 

Could you please share a full screenshot of the configuration of your flow which contain the details of each action?

 

The error message told that the file format or expression is not valid,waht have you filled in the "File Name" field of the "Create file"action? 

please take a try to create the flow as screenshot below:

Capture.PNGCapture1.PNG

 

Please let me know if your issue still exists.

 

 

 

Regards,
Alice Zhang

View solution in original post

Hello @v-yuazh-msft!

Thank you much for prompt response!

I will try to re-perform your Flow - it slightly differs, so perhaps that is the reason. Mine is also attached (printscree 1, 2 and 3).

Will test for few days and let you know if error still exists.

 

Thank you!

 

Best regards,

   KaterynaPrintscreen 1Printscreen 1Printscreen 2Printscreen 2Printscreen 3Printscreen 3

 

Frequent Visitor

everything is working! thank you very much!

Hi, I'm trying to pull this off in my organisation too. But "Content" is not appearing in my Dynamic Content.  I just have "Current item" - referring to the current item of the for each loop.

 

But this is leading to corrupted Excel files - presumbably because this is not actually putting the Excel file contents into the files on SharePoint.

@RichardBoland 

Had the same issue here... "content" is not available one "current item" from the "apply to each" step... 

BUT... you can click on the grey "see more"... to see all available options... (picture inline..)

 

@MicrosoftTodd Maybe an idea to make the "see more" black instead of grey as it is really not clear at first sight.

 

Capture.JPG

   

 

Capture.JPG

definely Works!! 

thank you very much

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (9,344)