Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello! We have an on-prem data gateway and can create connections using basic Authentication.
What is the most secure and supported method of authentication to an on prem sql server in the power bi service for data refreshes? An article for using service principals? Is it more secure? Thanks!
https://learn.microsoft.com/en-us/power-query/connectors/sql-server#summary
Authentication Types Supported | Database/Basic (Username/Password) Windows Organizational account (if the specified server supports it) Service principal |
Solved! Go to Solution.
Hi @ptmk
Thank you for reaching out microsoft fabric community forum.
The most secure and supported way to connect Power BI Service to an on-prem SQL Server is by using a Service Principal with Azure Active Directory (AAD) authentication.
It’s more secure than Basic Auth because it avoids user credentials, supports centralized access control, and scales better in enterprise environments. Just make sure your SQL Server and gateway are configured to support AAD.
If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community
Thank you.
Hi @ptmk
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi @ptmk
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you
Hi @ptmk
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @ptmk
Thank you for reaching out microsoft fabric community forum.
The most secure and supported way to connect Power BI Service to an on-prem SQL Server is by using a Service Principal with Azure Active Directory (AAD) authentication.
It’s more secure than Basic Auth because it avoids user credentials, supports centralized access control, and scales better in enterprise environments. Just make sure your SQL Server and gateway are configured to support AAD.
If this solution helps, please consider giving us Kudos and accepting it as the solution so that it may assist other members in the community
Thank you.
User | Count |
---|---|
47 | |
32 | |
30 | |
27 | |
25 |
User | Count |
---|---|
56 | |
55 | |
36 | |
33 | |
28 |