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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Kurren
Helper II
Helper II

Refresh data from an intranet REST api

I want to refresh a report on the Power BI service which gets data from a REST api held on the intranet using

Json.Document(Web.Contents(intranetUrl))

 

Even if I install a gateway on the server, the Power BI service tries to directly make the rest call to the intranet url, so it fails. Is there a way to force this to be refreshed via the gateway?

 

Thanks

2 REPLIES 2
Anonymous
Not applicable

Hi @Kurren 

Did you create the report in Power BI Desktop ? Which connector you used to connect to the data source ?

 

Best Regards,
Community Support Team _ Ailsa Tao

Hi @Anonymous 

 

Yes, the report was created in power BI desktop. There is no connector, I am using the above code snippet directly in power query. It works because my desktop is connected to the intranet, but it doesn't work from power BI service. I have the gateway installed on my desktop but it makes no difference, as the gateway is not being used to make the REST api call. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors