Forum Discussion

olimilo's avatar
olimilo
Post Prodigy
2 years ago
Solved

Unable to connect to the data source using an encrypted connection when creating a dataflow

I'm trying to use a SQL On-prem gateway when creating a new dataflow query. However, when I try to set up the query, it is asking me to uncheck encrypted connections but there is no option in the set...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, olimilo 

    I'm happy to answer your questions. If you want to connect to SQL Server on Power BI Service, we need to provide the relevant credentials to connect to your SQL Server through the gateway. I've tried to connect SQL to create a dataflow. The main process can be seen in the picture below:

    The first step is to copy our SQL Server name:

    The second step is to enter our server, which is the one that was copied in the first step, and then select an already online gateway and enter the login credentials:

    You can then see that you can connect to the database normally:

    If you can't connect to SQL Server when you create a dataflow in Power BI Service, I recommend the following steps to troubleshoot:

    1. Try connecting to your SQL Server with Power BI Desktop and see if you can read the data. If the encrypted connection is displayed in this step, the problem is on the SQL Server side.
    2. If the power bi desktop can connect to the SQL server normally, then check the running status of the gateway and the gateway version, and you can export the logs on the gateway to see the error message.
    3. If the gateway is working, check the gateway status and connection credentials in Power BI Service >>Manage connections and gateways>>. Check the gateway status as well as the connection credentials.

    If the above suggestions help you find the problem, that's great.

     

     

     

    How to Get Your Question Answered Quickly

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

    Best Regards

    Jianpeng Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.