Here’s what’s happening and how you can solve it:
1. What credentials do you need? If your SQL Server is part of a domain, use the format: DOMAIN\Username (plus the Windows password for that user). If you’re not on a domain (just a workgroup), or domain login isn’t possible, you’ll need a SQL Server login (something like “sa” or another SQL user with a password).
2. Enabling SQL Server Authentication (if needed): Open SQL Server Management Studio (SSMS). Right-click the server (top node) > Properties > Security. Make sure “SQL Server and Windows Authentication mode” is checked. Restart the SQL Server service if you had to change this
3. Create a SQL Login (if you don’t have one): In SSMS, expand Security > Logins. Right-click > New Login. Choose a username (like “powerbi_user”), pick “SQL Server authentication,” set a password, and map it to your database with at least “db_datareader” permissions
4. Set up the gateway connection in Power BI: Go to Power BI Service > Manage Gateways. For authentication, use the SQL login and password you created (not your Windows credentials). If you can’t create a SQL login: You’ll need someone with SQL admin rights to do it for you and give you the details.
The gateway machine can reach the SQL Server (network/firewall) The account isn’t locked or missing permissions. You’re using the right authentication mode for your setup.
This stuff can be confusing if you’re not used to Windows domains and SQL permissions, but once you have the right login, it just works.