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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
gbarr12345
Post Prodigy
Post Prodigy

Power BI personal gateway not connecting

Hi there,

 

I have a Power BI report that I have linked to a Dataset that's in a folder in my company's SharePoint.

 

I have the Data source as follows below:

 

gbarr12345_0-1732567260323.png

 

This linked ok and I've published the report to a folder within the Power BI app now.

 

gbarr12345_1-1732567374539.png

 

What I'm trying to do now is when I update the Data source (add a new line in the excel that's within the SharePoint) then when I refresh the Semantic model the report in the Power BI app will update. 

 

I've downloaded the Power BI Personal Gateway and I got the above ask to happen when I had the dataset within my personal machine.

 

Now because the dataset is on an online SharePoint it doesn't seem to connect. Please see the setting in the Service below that I'm trying to do.

 

gbarr12345_2-1732567552963.png

 

gbarr12345_3-1732567600237.png

 

gbarr12345_4-1732567615403.png

 

Here's the full error - Failed to update data source credentials: The credentials provided for the Web source are invalid. (Source at https://CompanyName.sharepoint.com/:x:/r/sites/OperationsHub/Shared%20Documents/Power%20BI%20reports/Labour%20Cost%20per%20Hour%20per%20Liters%20dispatched/Labour%20Cost%20per%20Hour%20-%20FY25.xlsx.)

 

Can anmybody help me in the above ask please?

 

Thank you.

 

 

1 ACCEPTED SOLUTION
christinepayton
Super User
Super User

Hello, you don't need a gateway for SharePoint Online source refresh. But if you want to use it, select OAuth2 instead of Anonymous from the authentication method dropdown-- 

View solution in original post

6 REPLIES 6
lbendlin
Super User
Super User

Don't use Web data source. Use SharePoint Folder. No gateway required.

christinepayton
Super User
Super User

Hello, you don't need a gateway for SharePoint Online source refresh. But if you want to use it, select OAuth2 instead of Anonymous from the authentication method dropdown-- 

Thanks Christine, the OAuth worked for me now. Appreciate the help!

Hi Christine,

 

Thank you for your reply.

 

I tried this and I'm getting the following error:

 

gbarr12345_0-1732647923391.png

 

 

The /:x/r/ should not be in the path - update your query with the more clean path of the file (you can copy the "right" path from the properties pane under "more details", there's an icon for "copy path" there if you're connecting to a single file). It's very picky about the url structure. 

 

Here's a working example:

christinepayton_1-1732642243602.png

 

Hello @gbarr12345 ,

Your sharepoint online needs to be: After Operations.. texts aren't include.
https://giesenwines.sharepoint.com/sites/Operations..
Here is the example: https://medium.com/microsoft-power-bi/power-bi-with-sharepoint-images-and-reports-1d4db6fb61ce

uzuntasgokberk_0-1732604522582.png

 



Best Regards,
Gökberk Uzuntaş

LinkedIn: https://www.linkedin.com/in/g%C3%B6kberk-uzunta%C5%9F-b43906198/

Medium: https://medium.com/@uzuntasgokberk

 

İf this post helps, then please consider Accept it as solution and kudos to help the other members find it more quickly.



Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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