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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
edhans
Super User
Super User

Change Data Gateway Settings, and best practice for SQL Server?

When I initally set up our Power BI gateway to connect to an on prem SQL Server, I foolishly used my network login info. I need to change it in the gateway to use a different account so it isn't dependant on my user ID.

  1. How do I do this? I've launched the gateway on our local machine and logged in, but cannot find a way to change the account.
  2. For SQL server, is it best to use a domain account, or a SQL Server account with the appropriate read permissions to the relevant databases. I am thinking a SQL Server account as it doesn't have the additional security risks of a domain account with network permissions.

If I can make the change to one of our nodes, should I change the other two nodes in the cluster, or just wipe them off the PCs they are on and reinstall/restore from the correctly configured node in #1 above.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@edhans,


Firstly, you can directly go to settings->Managa gateways in Power BI Service, find the SQL data source within the configured gateway, then change account as shown in the following screenshot.
1.JPG

Secondly, you can use domain account or SQL account in this scenario, as Power BI uses this account to connect to your SQL instance, it will not access your network resources.

Thirdly, do you configure gateway in several machines? If so, you just need to change account as I describe in step 1.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yuezhe-msft
Employee
Employee

@edhans,


Firstly, you can directly go to settings->Managa gateways in Power BI Service, find the SQL data source within the configured gateway, then change account as shown in the following screenshot.
1.JPG

Secondly, you can use domain account or SQL account in this scenario, as Power BI uses this account to connect to your SQL instance, it will not access your network resources.

Thirdly, do you configure gateway in several machines? If so, you just need to change account as I describe in step 1.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Lydia. Super useful info. Since I set it up on the PC, I was expecting to modify it on the PC. My mistake. 🙂

On the network account, my concern wasn't the gateway posing a security risk but the existence of another domain user account being another attack surface.

I am going to try to modify this week. Also want to get the new gateway MS just released installed. Finally can mashup on-prem data with cloud (Sharepoint) data!



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors