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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Connection to access S...
Power Apps
Answered

Connection to access SQL Database with different port

(0) ShareShare
ReportReport
Posted on by 83

I am facing the problem that I can not establish a connection to the DB stored in our company network.
To make some tests I set up a test DB on Azure and the connection to Power Apps worked like a charme.

Changes I made:
In the firewall settings I added a rule for Power Apps with the IP-Range from 52.174.88.1 to 52.174.88.255 (like I did for my test DB on Azure before)

those are my information I got from PortQry*:
The DB is stored on server:
TestServer.compnanyAddress.com

ServerName: TestServer
InstanceName: TestInstance
IsClustered: No
Version 15.0.2000.5
tcp 64432

Those are the information I use in Power Apps to connect to SQL Server:

SQL Server-Authentification
(•) Connect directly (cloud services)
SQL server name:
TestServer.companyAddress.com\TestInstance
SQL database name:
TestDB
Username:
TestUser
Password:
TestPassword

 

Additional Information:

In a webinar (https://www.youtube.com/watch?v=x0V0-QjSGtg) I saw this Power Apps connection to a SQL DB:

2020-03-18 10_12_44-Power Apps – Submit Data to a SQL Database_ Qdabra Webinar 2018-10-11 - YouTube.png

Do I have to enter my information similiar to these with the additional port? If yes how do the typed in information look like?

 


*PortQry: https://support.microsoft.com/en-us/help/310099/description-of-the-portqry-exe-command-line-utility

I have the same question (0)
  • Verified answer
    leo41 Profile Picture
    83 on at

    Got the wrong information from out IT. It is an SQL server stored in Azure, but on a virtual machine. So the IT had to provide a gateway for the on-premise server.
    Works fine now.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard