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.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)