Forum Discussion
Connecting to a local API via data gateway
- 3 years ago
Well, that's not really "local". How are you planning to do development work? Running Power BI Desktop on a VM that is in the same subnet?
Ok - that sounds reasonable - how do I do that?
go to Power Platform admin center (microsoft.com) and add a new Web connection with the base URL.
- stevemccall13 years agoFrequent Visitor
Ok - I've done this in the admin center. It's showing as status Online but still getting the same "unable to connect to remote server" error in PowerBI.
- lbendlin3 years agoSuper User
Do you have the April 2023 version of Power BI Desktop?
- stevemccall13 years agoFrequent Visitor
Yep -
- lbendlin3 years agoSuper User
There were some comments on the interwebs that that might be buggy. Try reverting to the March version.
Re: DataSource.Error: Web.Contents failed to get c... - Microsoft Power BI Community
- stevemccall13 years agoFrequent Visitor
Still the same unfortunately. Even with the March version
- lbendlin3 years agoSuper User
Are you able to consume that API from your PC via other means? Like, through a browser or wget or curl ?
- stevemccall13 years agoFrequent Visitor
No - it is on a VM in azure - only accessible via the data gateway.
- lbendlin3 years agoSuper User
Well, that's not really "local". How are you planning to do development work? Running Power BI Desktop on a VM that is in the same subnet?
- stevemccall13 years agoFrequent Visitor
Ah, so it's not possible for PowerBI desktop to use the data gateway directly?
What if I create a custom connector? Use custom data connectors with the on-premises data gateway - Power BI | Microsoft Learn - lbendlin3 years agoSuper User
Still no. Power BI Desktop must have direct line of sight to the on-premise data sources.
- stevemccall13 years agoFrequent Visitor
Ok , thanks - I've managed to get access directly and it's all working as expected!