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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ziyabikram96
Helper V
Helper V

Excel Files contains Corrupted Data-Web Connection with Onedrive

Hi,

I am trying to establish a connection with an excel file via Web Connection shared with me on onedrive but, it has thrown an error saying file contains corrupted data. What could be the problem here?

1 ACCEPTED SOLUTION

The Excel Workbook had a password on it. Removing that password somehow resolved the issue.

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @ziyabikram96 ,

 

There may be an issue about the Power BI Desktop. You may need to install and reinstall the latest version of Power BI Desktop, see the similar cases :File contains corrupted data.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

The Excel Workbook had a password on it. Removing that password somehow resolved the issue.

amitchandak
Super User
Super User

@ziyabikram96 , hope you are following these steps

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-use-onedrive-business-links

 

OPen edit query/ data transformation mode, You should get some additional error. What is that.

 

See if you can fix some of those

refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTs
debug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s



Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

There won't be anythong in data transformation mode as there is no data source. The problem occurs at the very first step where you have to copy the URL of that excel file.

I also tried to connect to the same file locally but it threw the same error. I guess, the problem is with the excel file.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors