Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
brockoff
New Member

Do I need two gateways to access data on a shared SQL Server from two domains?

I have a client I have been working with, accessing data from an on-premise SQL Server instance (SQLServer.Domain.1) using Power BI (Domain1.com) using an on-premise gateway. All good.

 

He has a business relationship with another company  (Domain2.com) that uses the same on-premise SQL Server instance (SQLServer.Domain1.com).  Domain2.com would like to access their data on Domain1.com's servers (SQLServer1.Domain1.com) from within Domain2.com using PowerBI. 

 

(I hope I described this clearly. [:-}]

 

1) Do I need to install a second gateway to allow Domain2.com to access data? 

2) If not how do I configure it to allow access?

3) Is better/best practice to have a gateway for each domain rather than configuring one domain to allow access from two domains?

 

Thanks for the help!!

2 REPLIES 2
AbhiSSRS
Solution Sage
Solution Sage

You cannot install 2 standard gateways on a single machine and for 2 different tenants you will always need 2 different gateways signed in with the relevant tenant ids.

Now there are 2 possibilities you can explore :

Install 1 personal and 1 standard ( personal will cater to limited datasources only )

 

In case your datasets are import mode , you may explore to create a powershell script to change gateway configuration and sync with your dataset refreshes for respective tenants.

 

https://community.powerbi.com/t5/Community-Blog/Data-Gateway-Automation-using-PowerShell-Part-1/ba-p...

 

 

selimovd
Super User
Super User

Hey @brockoff ,

 

if I understand it right you want 2 Power BI Tenants (@domain1.com and @domain2.com) to connect to the on premises SQL Server database, right?

 

As far as I know a gateway is always connected with one Power BI Tenant. So from my understanding you need 2 different gateways that are both connecting to one tenant each and accessing the SQL Server.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.