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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sierranevadita
Regular Visitor

Connecting to a OneDrive file not working

Hello everybody,

 

I hope you are very well. I am trying to connec a OneDrive (personal) Excel file with power BI:

sierranevadita_0-1746897660218.png

But when I prees Connect, I get this message:

sierranevadita_1-1746897723936.png

Then I try to connect with an organizational account, but this happens:

sierranevadita_2-1746897798284.png

Anyone has any idea hw to solve this issue?

 

Thanks a lot. Best regards,

 

Chema Ortega

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @sierranevadita  - Power BI doesn't support OAuth2 login (used by Microsoft accounts for OneDrive Personal) in the "Web" connector properly.

 

In Power BI Desktop:

Go to Home > Get Data > Excel.

Do not paste the OneDrive web link. Instead:

Go to your OneDrive Sync Folder on your local PC (OneDrive folder in File Explorer).

Select the .xlsx file from there.

This works because OneDrive syncs that file locally and Power BI treats it as a local file.

 

hope try the above approach and let us know.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

5 REPLIES 5
V-yubandi-msft
Community Support
Community Support

Hi @sierranevadita ,

Thanks for sharing the details and screenshots  this is a known limitation when using OneDrive Personal with Power BI. In addition to @rajendraongole1  respone.

Alternatively, you can create a public sharing link from OneDrive by right clicking the Excel file, selecting  Share, and choosing  Anyone with the link can view.  Then, copy the link and use it in Power BI via Get Data > Web.

 

However, note that Power BI doesn’t officially support OneDrive Personal as it does for OneDrive for Business. For stable integration, a Work or School account is recommended.

Vyubandimsft_0-1747032510248.png

I came across a similar discussion in the Power BI Community that might be helpful for your case.

Solved: Connecting a personal OneDrive to Power BI - HTML ... - Microsoft Fabric Community

 

For more details, please refer to the official Microsoft documentation   it provides additional guidance and clarifies current limitations.

View Power BI files in OneDrive and SharePoint - Power BI | Microsoft Learn

 

Please Accept as solution if this meets your needs and a Kudos would be appreciated.

 

Yugandhar.

danextian
Super User
Super User

Hi @sierranevadita 

 

OneDrive Personal is different OneDrive for Business.  Please try the approach in this post:

https://community.fabric.microsoft.com/t5/Power-Query/PowerBI-support-for-OneDrive-Personal-as-data-...

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
rajendraongole1
Super User
Super User

Hi @sierranevadita  - Power BI doesn't support OAuth2 login (used by Microsoft accounts for OneDrive Personal) in the "Web" connector properly.

 

In Power BI Desktop:

Go to Home > Get Data > Excel.

Do not paste the OneDrive web link. Instead:

Go to your OneDrive Sync Folder on your local PC (OneDrive folder in File Explorer).

Select the .xlsx file from there.

This works because OneDrive syncs that file locally and Power BI treats it as a local file.

 

hope try the above approach and let us know.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi Rajen... If you connect to an Excel local file... Will yo have to use a gateway to access it?

 

Thanks so much for your help!

If you're connecting a local Excel file and need to publish your report to Power BI Service with scheduled refresh, you will need an on premises data gateway. Since Power BI Service (cloud) can't directly access files on your local machine, the gateway acts as a bridge, allowing seamless data updates.

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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