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
We noticed odd behavior in our instance of Fabric. Previously in Power BI, for SQL connections, a developer could only use the database we explictly listed for a server, whether it was for a dataflow, a semantic model, or a pipeline using the Copy Assistant. If someone tries to modify or create a Copy Data block in a pipeline, in the Source tab, they have the ability to select databases that aren't configured in the gateway connection.
That includes databases we don't have Gateway connections for. Is this expected behavior or a bug in Data Factory / Pipelines? Originally we had a service account being leveraged for each server / database. Giving security concerns, this would require a service account for every individual database as well.
Solved! Go to Solution.
It was always (and still is) possible to seemingly login to one database but then run queries against another database on the same server, provided the connection user has access to both databases.
One subtle hint at that is the presence of both Sql.Database and Sql.Databases Power Query functions.
It was always (and still is) possible to seemingly login to one database but then run queries against another database on the same server, provided the connection user has access to both databases.
One subtle hint at that is the presence of both Sql.Database and Sql.Databases Power Query functions.
Interesting, I know some have used more advanced scripting in Power Query against the gateway connections, but by default, if a developer tries to use another database that isn't associated with the connection it won't allow them to leveage the connection initially. At least not with the default options available in the GUI they normally use.
So is our only option to secure other databases using the same server different accounts with different permissions? There's no way to lock this functionality down in the gateway, gateway connections, or in the service itself for Power BI / Fabric?
yep, pretty much. Use separate logins.
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 |
---|---|
8 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
14 | |
10 | |
9 | |
5 | |
4 |