Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi there!
I'm having some trouble setting up a PowerBI Gateway Data source to appear for a user. Here are the details:
Gateway is installed on Server1 (Azure). Datasource exists on Server 2 (different Azure server).
Steps Attempted:
Further Steps we're attempting:
You've mentioned this is an Azure database. That means its already hosted in the cloud correct? Is there a reason you are using a gateway for a cloud source?
Azure has IP restrictions, are any of the IPs outside of the White list?
That's a fair question. Let me clarify, the sql server is hosted in an Azure instance. The data source itself is a SQL Server/Database.
Would there be a separate way to connect to a sql server hosted in azure? The method I was using was the SQL Server connection method by specifying the server name and then the database name.
To the whitelist question, the sysadmin over the server was able to see the gateway and apply it to another report successfully, so I don't think the IP would be at issue.
I'll also note that the successful deployment was done on the sysadmin's personal workspace, but the user's workspace would not proffer access to the gateway (would not show up).
What sort of Server Address does it have? Its still possible it doesn't need a gateway. Does it end with ".database.windows.net"?
When you said it worked in the sys-admins' personal workspace. Do you mean he was able to successfully connect the gateway to it?
Thanks Ross,
It does indeed have a .database.windows.net ending. Given that reality, does the user simply not need to schedule a refresh? What's the cadence?
To the second question: yes, the sysadmin was able to successfully connect his report to the gateway. I tried having the user in question publish to their personal gateway to see if they could connect to the gateway from there, but it was not successful.
This user (not sysadmin) is able to connect using this gateway to another server.
The purpose of a gateway is to be a "gateway" between the cloud and your internal network. If your source is already in the cloud a gateway is not required. This is assuming your data model doesn't include more than 1 source where at least 1 of those sources is an on-premise.
Refreshing is a separate thing, its the method of updating the dataset. The gateway is an option of how to make that route occur. Anything inside your network is behind firewalls and internal security. The gateway sets up how that will all work. A cloud source already has those set up and gateway is not required.
To simplify things, attempt a refresh without the gateway. You will need to go into the schedule refresh section and turn off the gateway, then put the required credentials into "Data Source Credentials"
So that was a good thought, Ross.
The user is showing that the credentials section where he would normally enter them is greyed out.
Is there an alternative datasource he would use in the PBIX file when designing the query? It seems like SQL Server is going to default to needing a gateway and then we're stuck with the error we're running into.
SQL is certainly the correct connector. I've used it Azure databases and the gateway certainly wasn't required. It still gives you the option, you can just leave it off and enter the credentials into that area. If you have selected a gateway, then the credentials will be greyed out because the gateway will be handling it.
It will say above the gateway selection section that a gateway isn't required.
I'd inspect the PBIX file because i wonder if something else is in play here that hasn't been described.
To provide maybe a little more clarity, this is what the user sees:
Normally, I would think you would be right - he should be able to provide his own credentials (or another set) down in that section but both the gateway and the data source credentials are greyed out. I'm not sure why this isn't the case here.
I took a look at the pbix file and it's set to use the user's micrsoft account, and the gateway credential type is set to basic. Would that mismatch be at issue?
While you are in the file, have a look at the Data Source Settings and see the full list. Ensure there is only that single cloud source you are expecting.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
37 | |
26 | |
23 | |
19 | |
17 |
User | Count |
---|---|
49 | |
40 | |
24 | |
20 | |
20 |