Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Not applicable

Power query cant read from group SharePoint documents if file put there by Power automate

Hi all,

I have manged to create a Power BI query that pulls data from a spreadsheet on the Group sharepoint - shared documents library.

I also created a Power Automate to save the spreadsheet to the SharePoint when it arrives via email (arriving in a group mailbox in Outlook).


The issue is that the Power query in Power BI can pull the data from the spreadsheets on the SharePoint only when they are put there via a file upload or dragged and dropped from desktop or email.

If the file is placed on the SharePoint by the Power Automate flow the Power BI query says:

"DataFormat.Error: File contains corrupted data.


Can anyone help to understand what the difference is between a file saved there by the Power Automate or my me?



Super User
Super User

I would advise asking this on the Power Automate forum with your Flow laid out. There are multiple ways to get files to SharePoint and doing it wrong can cause these types of failures. I have files added from other folders in flows to SharePoint and it works fine, but I've had issues getting files out of emails and into OneNote without corrupting them, so you may be running into a similar issue here.

Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling

Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors