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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
PeterMansion
Frequent Visitor

On Premises Data Gateway - Managed Service Account for SQL Connection

We're building a Power BI report that uses data on an on-premises SQL server.

 

Does anyone know if it's possible to use a Managed Service Account for the SQL connection (which will manage it's own password resets)?

 

Thanks.  

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @PeterMansion 

 

Yes, it is possible to use a Managed Service Account (MSA) for the SQL connection when using the On-Premises Data Gateway with Power BI.

 

To do this, you will need to configure the On-Premises Data Gateway to use the MSA account when connecting to the SQL Server. This can be done by following these steps:

  • 1. Install the On-Premises Data Gateway on a server that has access to the SQL Server.
  • 2. Configure the On-Premises Data Gateway to use the MSA account by selecting "Use Windows Authentication" and entering the MSA account name in the "Username" field.
  • 3. Configure the data source in Power BI to use the On-Premises Data Gateway as the gateway for the data source.
  • 4. Test the connection to ensure that it is working correctly.

Keep in mind that using a MSA for the SQL connection requires some additional setup and configuration, so you may want to consult with your IT department or a qualified SQL Server administrator to ensure that everything is set up correctly.

 

Best Regards,

Community Support Team _Charlotte

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-zhangti
Community Support
Community Support

Hi, @PeterMansion 

 

Yes, it is possible to use a Managed Service Account (MSA) for the SQL connection when using the On-Premises Data Gateway with Power BI.

 

To do this, you will need to configure the On-Premises Data Gateway to use the MSA account when connecting to the SQL Server. This can be done by following these steps:

  • 1. Install the On-Premises Data Gateway on a server that has access to the SQL Server.
  • 2. Configure the On-Premises Data Gateway to use the MSA account by selecting "Use Windows Authentication" and entering the MSA account name in the "Username" field.
  • 3. Configure the data source in Power BI to use the On-Premises Data Gateway as the gateway for the data source.
  • 4. Test the connection to ensure that it is working correctly.

Keep in mind that using a MSA for the SQL connection requires some additional setup and configuration, so you may want to consult with your IT department or a qualified SQL Server administrator to ensure that everything is set up correctly.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks, I'll give this a try.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.