Skip to main content

Notifications

Community site session details

Community site session details

Session Id : IJ09Fn683oiXFzvi52u6lH
Power Apps - Building Power Apps
Unanswered

Connecting to Internal Company SQL Server from Powerapps using Windows Authentication

Like (0) ShareShare
ReportReport
Posted on 5 Mar 2024 18:32:46 by

Hello,

 

I have been trying to connect a SQL database to my Canvas app as part of a feature that autocompletes a form based on user data. The SQL server I plan on using is closed access and as such only specifically authorized Windows accounts (including my own company account) would be allowed to query/connect. It is mentioned here: Use Microsoft SQL Server securely with Power Apps - Power Apps | Microsoft Learn that Windows Authentication can be done implicitly (No Credentials for an App User Required) meaning I can serve other users of my app with my own SQL data access. How can this be setup? Whenever I try to make a new connection to said server and set the authentication mode to Windows authentication, it asks for specific credentials and for a gateway. Where would I go from here to set things up? Company policy forbids me from 'installing' a gateway onto my pc, but ideally I would want this connection to run completely in the cloud (with Windows Authentication to my account of course). Attached is an image of the new connection.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 262 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 134

#3
stampcoin Profile Picture

stampcoin 123

Overall leaderboard
Loading started