Forum Discussion

Emranit's avatar
Emranit
Helper II
1 year ago
Solved

Power BI unable to connect with SQL database server using an encrypted connection.

When a power BI connected with SQL database server with only server IP address, it's connected without database name. But not showing my expected table "Dyelots" in the list. But this table "Dyelots"...
  • v-dineshya's avatar
    1 year ago

    Hi Emranit ,

    Thanks for reaching out to the Microsoft fabric community forum. 

     

    Please follow below steps:

    1. Encrypted Connection Issue in Power BI:
    Power BI by default tries to use encrypted connections. If your SQL Server doesn't support SSL/TLS encryption (or uses a self-signed certificate), the connection fails. That’s why you get the "encryption support" error.

    2. Database Not Fully Accessible via Server IP Only
    When you don’t specify the database name, Power BI connects to the default database for that user. If "Dyelots" is in a different DB, or under a different schema, it won't show.

    3. Table Visibility Issue
    Sometimes Power BI doesn't show all tables due to:

    Permissions (user login doesn't have rights to see certain tables). The table being under a non-default schema. Table being a temporary or system object


    Please follow the below steps to Fix It:

    1. Disable Encryption in Power BI (Manually)
    Since there is no visible checkbox in the Power BI UI for encryption:

    Go to Advanced Options in the SQL Server connection screen. In the SQL Server Name field, add this at the end of your server name:

    ;Encrypt=False

    Example:

    192.168.57.83;Encrypt=False
    Also, ensure that the database name is still entered in the Database field. Leave the SQL statement blank unless needed.

    2. Verify SQL Permissions
    Make sure the SQL login you're using in Power BI:

    Has read access to the “Dyelots” table. Is connected to the correct database. Use this query in SSMS while logged in with the same credentials as Power BI:


    SELECT * FROM ORGATEX-INTEG.INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'Dyelots';

    3. Try DirectQuery Mode Temporarily
    If Import mode fails, try selecting DirectQuery to see if that changes how it retrieves table metadata.

    4. Use a SQL Query
    In the Advanced Options of Power BI, instead of navigating the table list, you can directly write a SQL query like:

    SELECT * FROM Dyelots

    This often bypasses metadata issues.

     

    Please check community forum threads.

    Solved: unable to connect to the data source using an encr... - Microsoft Fabric Community

    Solved: Unable to connect to the data source using an encr... - Microsoft Fabric Community

     

     

    If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS. Feel free to reach out if you need further assistance.
    Thanks and Regards