cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
koreluk
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
v-yuazh-msft
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
v-yuazh-msft
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

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

 

koreluk
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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,029)