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 / Can not edit record to...
Power Apps
Answered

Can not edit record to the app connected to SQL server database

(0) ShareShare
ReportReport
Posted on by 155

Hi,

 

I am using a gateway to connect to Microsoft SQL database, using username and password which has permission to insert/update to the database. but there is no add or update button after I created app automatically. 

I am also created app connected to sharepoint list and it is working good.

 

Regards

Steven

Categories:
  • StevenZhang Profile Picture
    155 on at

    This article solved my problem.

    https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-with-SQL-server-connection/m-p/92901

    SQL table must include a primary key field.

    I used wizzard to create an app, it is working good. thank you.

     

    Regards

    Steven

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @StevenZhang ,

    Have you solved your problem?

     

    Yeah, you are right. Currently, when you are working with SQL Server table within canvas app, there are some known limits you need to know:

    https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations

     

    The Primary Key is required in your SQL Table when you want to add a new record or update existing record from your canvas app. If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard