Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Trying again... Excel file created in PA is corrupt and can not be open in Sharepoint or One Drive

(0) ShareShare
ReportReport
Posted on by 31

Whenever I save the excel file; either in Sharepoint or One Drive I get the corrupt file /extension not same issue as I am reading all through PA Community.  However, I have not found a solution to work for me yet.  I have tried the Compose option and change the output to the script body and can not get that to work as well

Here is the scenario:

I have created a form, which the questions/responses are based off the time of day.  An excel template is filled in based off the time of the selected response and an email is sent with this template.  I should only have one email sent at the given time selected.  Ex: emails sent at 9AM with the 9AM responses, 1PM with the 1PM responses, etc.

The file is created into Sharepoint with a file name of time and date.  There will be 5 files saved a day.

I also have to create file that does not have a date in the file name, to build off for the next time submission. This will keep the prior time(s) answers as well as the current time answers.  I use this file to get file details for the next submission.

Forms First question choices are

Krist1969_0-1694529609573.png

How to I stop the file being corrupt when saved from PA

 

This is the flow.  I have Case 1-5 (only 1 & 2 showing)

Krist1969_1-1694529623802.png

 

 

This is the output

Krist1969_2-1694529694593.png

 

Krist1969_3-1694529734303.png

 

Thank you. 

  • Kris-t1969 Profile Picture
    31 on at
    Re: Trying again... Excel file created in PA is corrupt and can not be open in Sharepoint or One Drive

    Is there any help ??? 

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow