March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Gateway shows up, says "Online: You are good to go." Type in everything and get this.... What's going on? Others are able to create the datasource but me using same information...
Solved! Go to Solution.
The gateway keys data source off of server name/database name...you can't have two connections to the same source in the gateway. A data souce only need be added once.
How are you trying to authenticate?
Hi @Anonymous ,
Please check if you are the admin of the gateway. Please refer to this official document.
To use an on-premises data source in a dataflow, any user creating the dataflow must have an Enterprise Gateway installed and configured. The user creating the dataflow also must be the Enterprise Gateway's administrator in order to use that gateway for a dataflow.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The error just happens trying to create a new connection to SQL Server? The users it is working fine for are using other connections?
I have to enable HTTPS in the gateway config on the host computer in my company for it to work. You can also enabling logging in the gateway and see if there's more useful error messages in there: https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot
This is the first connection, again... this is just a test walkthru we're doing with the gateway. The local MSSQL server has just a single DB that we're using to test with. We installed MSSQL, loaded the DB, installed the gateway, init'ed the gateway with our pbi tenant. A user then was able to create a datasource using the gateway without issue, then the next user (me) tried the same thing and got "unexpected error"
The gateway keys data source off of server name/database name...you can't have two connections to the same source in the gateway. A data souce only need be added once.
Also, FYI, if you do need two connections with different credentials, you can edit the HOSTS file and alias IP addresses. You would add something like:
127.0.0.1 myconnection
127.0.0.1 otherconnection
and then you could refer to the data source as "myconnection" or "otherconnection" in the gateway with different creds.
You would have to update the HOSTS file on your computer(s) running Power BI Desktop, and server running the gateway...and in your reports, refer to the data source as one of those names. 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
32 | |
24 | |
12 | |
11 | |
9 |
User | Count |
---|---|
47 | |
46 | |
23 | |
12 | |
9 |