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 / 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 428

#2
Haque Profile Picture

Haque 338

#3
timl Profile Picture

timl 333 Super User 2026 Season 1

Last 30 days Overall leaderboard