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
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
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 Kudoed Authors