Tag not monitored by Microsoft.
The error occurs because the on-premises SQL Server data source isn’t correctly configured on the gateway, or the connection details/credentials don’t match what was used in Power BI Desktop. To resolve it, configure a matching data source on the gateway and ensure valid credentials.
Follow these steps in Power BI service:
- Go to Settings (gear icon) → Manage connections and gateways.
- Select the gateway cluster (PBI_Gateway) and choose New to add a data source.
- On New connection:
- Select On-premises.
- Enter the Gateway cluster name.
- Enter a Connection name.
- Set Data Source Type to SQL Server.
- Under data source information, enter Server and Database values that exactly match what was used in Power BI Desktop (including using the same form such as
SERVER\INSTANCE, machine name, or IP address). If Desktop useddesktop-1smpqqm\sqlexpressandpython_etl_pipeline, use those exact values. - Under Authentication method, choose Windows or Basic (SQL Authentication) as appropriate and enter a username and password that can connect to that SQL Server database.
- Save the data source.
- Ensure the account that owns the dataset is listed under the Users tab of this data source so it can use the gateway.
- Return to the dataset’s Settings → Gateway and cloud connections and select this gateway/data source. The status should change from “Not configured correctly” once the server/database names and credentials match.
If connection still fails:
- Confirm the gateway machine can connect to the SQL Server instance directly (for example, using SQL tools from that machine).
- If the error indicates invalid credentials, verify the username/password and that the account has permission on the specified database.
- If the error indicates the database can’t be opened, verify the database name and permissions.
These steps align with the requirements that the server and database names must match between Desktop and the gateway configuration, and that valid credentials and user access are required for the gateway to appear and work for the dataset.
References: