cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SamDixey
New Member

Error: Saving Excel Attachment from Outlook to SharePoint Causes Power BI to Break

Hi all,

 

I've been building a Power Automate flow that will each morning, take an Excel attachment with a specific file name and save it to SharePoint. A PowerBI Dashboard will then use the data from the latest Excel spreadsheet to populate the report.

 

The flow itself works well (details below).

 

SamDixey_1-1647354830802.png

 

 

The issue I am having, however, is that when the file is saved into SharePoint, the file seems to be corrupted. this does not appear when I manually save the file. When Power Automate saves it, I get the following message:

File contains corrupted data Details: Binary

 

When I look into the newly saved file the following message is present at the top:

SamDixey_0-1647354285107.png

 

From my investigations so far I believe this may be an issue with the spreadsheet having a limited XML scheme (https://techcommunity.microsoft.com/t5/excel/quot-the-input-couldn-t-be-recognized-as-a-valid-excel-...

  

  

Does anyone have any ideas on the root cause + possible fixes? (In as simple as possible English please as I'm still working my way around it). 

  

Thanks! 

0 REPLIES 0

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,166)