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 / Trying to add SQL conn...
Power Apps
Answered

Trying to add SQL connector to on premise SQL server linked server

(0) ShareShare
ReportReport
Posted on by 260

I have successfully created an on premise gateway to a 2019 server and have 2019 SQL Express installed as well.  Using an ODBC product, I have created a linked server instance for SQL server.  When I try to add a SQL server connection in Power Apps, I choose:

 

  • SQL server authentication
  • Use the SQL server name as <computername>\SQLEXPRESS
  • Use linked server object name (also shown in linked server properties)
  • Use sa as username
  • Use password for sa
  • Use gateway name that appears

I get an authentication error that credentials are missing or not valid.  

 

On the security tab on the linked server properties, I also added a local account administrator; authentication is allowed for Windows and SQL.  I tried that, too, but get the same error.

 

Are linked servers allowed in SQL on premise connector?  Am I missing a correct setting?

 

Thanks in advance.  Really anxious to get this to work.

I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @lmheimendinger :

    I suggest you check the authentication mode of SQL server.Change authentication it to mixed mode by selecting radio button SQL Server and windows authentication mode and restart SQL Server service again.

    1.JPG

    I think these links will help you a lot:

    Choose an Authentication Mode 

    Best Regards,

    Bof

  • Verified answer
    lmheimendinger Profile Picture
    260 on at

    I was able top get an actual database instance created and that worked.  Linked server for another day

     

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 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard