Forum Discussion
Syndicate_Admin
Administrator
2 years agoHelp connecting to a server using Windows authentication on a virtual machine using Power BI
Hello, good afternoon I'm having a problem and would appreciate your help. I'm trying to make a connection to my SQL Server using Windows authentication from a virtual machine, but I'm not sure how ...
suparnababu8
Super User
2 years agoI will walk through the steps to ensure your setup is correct and that you can connect to your SQL Server using Windows authentication from your virtual machine.
Steps to Connect SQL Server Using Windows Authentication
Enable TCP/IP Protocol:
- Open SQL Server Configuration Manager on your virtual machine.
- Navigate to SQL Server Network Configuration > Protocols for [Your SQL Instance].
- Ensure TCP/IP is enabled.
Configure Firewall:
- Open Windows Firewall on your virtual machine.
- Create a new inbound rule to allow traffic on port 1433 (default port for SQL Server).
Set Up On-premises Data Gateway:
- Ensure your On-premises Data Gateway is correctly installed and configured on your server.
- Verify that the gateway is online and connected.
Connect from Power BI Desktop:
- Open Power BI Desktop on your local machine.
- Go to Home > Get Data > SQL Server.
- Enter the server name and database name.
- For Authentication Method, select Windows.
- Ensure you are using the correct credentials that have access to the SQL Server.
If you need more information pls go through the follow URLs
https://www.youtube.com/watch?v=AvRUWFq-9ZA
Thanks