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 / Export report to excel...
Power Automate
Unanswered

Export report to excel and mail to user.

(0) ShareShare
ReportReport
Posted on by 16

Hi.

I have created a flow to export my report to excel and the flow is running properly with a mail being sent to the user.

The issue which is arising is that the exported file is giving an error as "excel cannot open the file because the file is corrupted".

Sanket7030_0-1632401651342.png

Sanket7030_1-1632401704306.png

 

If anybody can provide any input, then it would be of great help.

 

Regards,

Sanket Bhagwat

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Hi Sankey,

     

    Unfortunately, this is a Power Automate Flow issue and you posted to Power Automate Desktop.  I am not as familiar with the flows as they do not correlate.  The "\Excel.xlsx" looks suspicious.

     

    Are you able to open this file on your own computer after it is created?

  • Sanket7030 Profile Picture
    16 on at

    Hi @MichaelAnnis .

    I have created that flow in Power Automate Desktop, so I posted it here.

    The flow is running perfectly in one drive file.

    But when I add 'Send an email' flow, the file which I am getting in mail is not opening.

    And I am getting the below error;

    Sanket7030_0-1632465842244.png

     

     

    Regards,

    Sanket Bhagwat

  • Sanket7030 Profile Picture
    16 on at

    I have added the below steps in my 'send to mail' action.

    Sanket7030_1-1632466369634.pngSanket7030_0-1632466345631.png

  • VJR Profile Picture
    7,635 on at

    Hi @Sanket7030 

     

    What is in the Power Bi data of Attachment Content

     

    VJR_0-1632472519718.png

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard