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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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