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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Expression.Error: Access to the resource is forbidden (sharepoint)

hi

 

since today i have issues accessing files which are on our sharepoint and i get this message: Expression.Error: Access tot the resource is forbidden.

am using a web connector to retrieve data: https://our.sharepoint.com/teams/JUVCI1/CI4/PowerBISources/SXXX_BV/BV_ea_RR_AllReviewsReport_2019070...

also, other connections to this sharepoint environment, which used to work perfectly, are suddenly no longer accessible....

please advise, it is urgent...

thnx 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

as unlikely it may seem, check if you still have access to the underlying document library, maybe someone changed permissions.

 

From my experience using Sharepoint as a "host" for my data, I just used this https://my-sharepoint.sharepoint.com/teams/site/

 

But this may be different, if your sites are organized in a different way.

 

If you still have access and your path is correct, then just delete all the existing data source connections that exist in your local Power BI Desktop file and your global permissions that point to your Sharepoint:

File --> Options and settings --> Data source settings

After you deleted all the connections, just refresh your data, when you get asked to authenticate make sure you select "Organizational account".

 

Do not use "Windows" to authenticate with Sharepoint online.

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey,

 

as unlikely it may seem, check if you still have access to the underlying document library, maybe someone changed permissions.

 

From my experience using Sharepoint as a "host" for my data, I just used this https://my-sharepoint.sharepoint.com/teams/site/

 

But this may be different, if your sites are organized in a different way.

 

If you still have access and your path is correct, then just delete all the existing data source connections that exist in your local Power BI Desktop file and your global permissions that point to your Sharepoint:

File --> Options and settings --> Data source settings

After you deleted all the connections, just refresh your data, when you get asked to authenticate make sure you select "Organizational account".

 

Do not use "Windows" to authenticate with Sharepoint online.

 

Regards,

Tom

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

hi Tom,

thanks for helping out, it works!

Mrt

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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