web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connecting On Prem SQL...
Power Apps
Answered

Connecting On Prem SQL Server to Dataverse

(1) ShareShare
ReportReport
Posted on by 169

I am trying to connect a SQL Server table to Dataverse to be used in Power App Application.  The Gateway has been installed and recognized but when I enter the organization credentials, I am getting the following error:

We were unable to connect to the data source using an encrypted connection. To use an unencrypted connection, uncheck "Use encrypted connection" and try again. (Session ID: 76b6dc3f-3c26-4748-8f0b-675d1dfef502, Region: us)

Even if I uncheck the encrypted connection, I still get the same error.

Categories:
I have the same question (0)
  • Verified answer
    poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @billf24 

     

    The error message you're encountering may stem from several potential issues related to your data source connectivity:

    1. Confirm the Gateway Connection: Double-check that your gateway is online and in a good state. You can do this by logging into the Power Platform admin center, selecting "Data Gateways", and then checking the status of your gateway.

    2. Check the Data Source Configuration: Ensure the data source is properly set up within the gateway. From the same admin center, you can manage your data sources under the respective gateway.

    3. Credentials Verification: Double-check your credentials. Sometimes, the error occurs due to incorrect username/password, or you might need to use a different authentication method.

    4. Firewall or Network Restrictions: Your network may have restrictions that prevent the connection to your SQL Server. Make sure the necessary ports are open and that your SQL Server is accessible from the machine where the gateway is installed.

    5. Encryption Setting: Even though you mentioned you've tried unchecking the encrypted connection, do ensure this setting matches what your SQL Server is expecting. If your SQL Server doesn't support encrypted connections, this could be causing the issue.

    6. SQL Server Configuration: Verify that your SQL Server is configured to accept remote connections.

    7. Software Updates: Ensure that your gateway is updated to the latest version. Sometimes, connectivity issues

     

    Check if any of this helps @billf24 

  • billf24 Profile Picture
    169 on at

    Thanks for the reply.

    Tried Windows Credentials and it work.

    Thank you.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard