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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
emveha
Resolver III
Resolver III

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

hi Tom,

thanks for helping out, it works!

Mrt

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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