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
Anonymous
Not applicable

Connect excel data in One drive as a data source for Power BI

 Hello,

 

I am trying to connect some excel data stored in One Drive as described in the article attached (https://docs.microsoft.com/en-us/power-bi/desktop-use-onedrive-business-links). I am getting an error message that says: "Access to the resource is forbidden".

Can you please support with this?

 

Many thanks,

MariosChr90

1 ACCEPTED SOLUTION

Hi @Anonymous,

After test,i t has no issues that I am logging in with different accounts in Power BI and One Drive. But when you get data from OneDrive, you must type OneDrive credentials rather than use your Power BI account, please follow the steps below.

1. Click File->Options and Settings->Data source settings->clear your previous permission.

1.PNG

2. In Power BI desktop, type the link, please choose the Organizational Account to sign in(because use OneDrive for business, type your Organizational Account of OneDrive here), it will work fine after clicking connect. In this part, if you use windows authentication, it will return the error message, because you current power BI account is not windowns account.

1.PNG

Best Regards,
Angelia

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Please also note that on One Drive when I was copying the link I set permission "Anyone with the link can view and edit", thus it must not have any issues that I am logging in with different accounts in Power BI and One Drive. Furthermore, the dashboards I am creating are for broad use (i.e. various people in my team should have the access to view and edit).

 

 

Hi @Anonymous,

After test,i t has no issues that I am logging in with different accounts in Power BI and One Drive. But when you get data from OneDrive, you must type OneDrive credentials rather than use your Power BI account, please follow the steps below.

1. Click File->Options and Settings->Data source settings->clear your previous permission.

1.PNG

2. In Power BI desktop, type the link, please choose the Organizational Account to sign in(because use OneDrive for business, type your Organizational Account of OneDrive here), it will work fine after clicking connect. In this part, if you use windows authentication, it will return the error message, because you current power BI account is not windowns account.

1.PNG

Best Regards,
Angelia

Anonymous
Not applicable

Many thanks Angelia, now it works properly!

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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
Top Kudoed Authors