Forum Discussion
Gateway for SQL Server and oData (on prem)
- 3 years ago
Hello,
I contacted the Power BI support team regarging this issue and the following procedure solved the issue:
When setting up the SQL connection, I entered the IP address XXX.XX.XX.XX - the solution was, to simply change this to the domain name of the server.
As a reason, I will copy this answer from PBI support team here (I'm no DBA or something, so this doesn't mean a lot to me):
We discussed this issue with our internal team, we found two scenarios causing this issue; firstly you are using any other IP address not the VPN to connect with the gateway. Secondly, You need to add your Power BI Gateway server IP in your Azure SQL firewall rule. Below is the document for your reference.
IP firewall rules - Azure SQL Database and Azure Synapse Analytics | Microsoft Learn
We suspect that, any one of these scenario causes the issue here in configuring the gateway in power bi. Whenever you tried with IP address make sure it should be "Public".I am pretty sure that I entered the correct IP address (as it worked in stand-alone mode as well) so not quite sure what they want to tell me with the first possibility, but as I have a running refresh now, I am happy 🙂
Best
hashtag_pete
Hello lbendlin
I'm not quite sure what you mean: I have the below two tables. They are not joined in Power Query and (as it is just a sample) not even in Power BI Desktop. Just pulled into the dataset and done.
When combined, however, the connection fails for the oData connector,
Please clarify what your issue is.
- hashtag_pete3 years agoHelper V
Hello lbendlin
sorry for being so unprecise, it's hard for me to grab...In this scenario, I have just one data source, being Business Central (on prem), and I can auto-refresh my data just fine. I need to toggle the Gateway on, and then no further steps (it has the little red cross, but nevertheless, I can access the source and don't need to enter further credentials)
in the scenario where I need help, I have exactly the same data source as above, plus a SQL Server data source. Now suddenly I am asked for credentials, and when I enter them it says "the remote server can not be resolved". Thus, I can not auto refresh the two sources
- lbendlin3 years agoSuper User
I assume you have a Pro license - you can consider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/