web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Simple MS Flow to crea...
Power Automate
Answered

Simple MS Flow to create excel file in SharePoint = always corrupted file

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone,

 

I have created a very simple flow to query SharePoint list and then populate the results into the excel file. I'm easily able to do it with .csv file but my customer doesn't like it because he needs to expand all columns manually 🙂 So I wanted to do the same but create an .xlsx file, but whatever file content I put into the property, I'm never able to open it in Excel online or desktop app.

Any help would be greatly appreciated. 

 

The main steps of the flow are:

  1. Multiple SharePoint 'Get Items' queries to get list items.
  2. 'Create CSV table' for each query to format the results.
  3. Create .csv file (works!) and .xlsx file (no luck) populated with the query results.Step1.png

     

    Step2.png

     

Categories:
  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    hI @Anonymous 

     

    Check this thread

     

    https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-to-convert-a-CSV-file-to-Excel/td-p/190817

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard