Skip to main content

Notifications

Community site session details

Community site session details

Session Id : GzeAuY0y4UrcMgwDG0pCWU
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started