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 / Updating rows in SQL d...
Power Apps
Answered

Updating rows in SQL database not working

(1) ShareShare
ReportReport
Posted on by 6

I have a PowerApp connected to an SQL database (in Azure). Showing the data in my app works fine. Now I want to make changes to the data within the app, and send the update command back to my database. But when I click the button with my 'Submit Form' command, nothing happens. 

It seems to be related to my source, because when I insert an 'Edit form' to my app, this Edit form doesn't have all the capabilities it should have. For one it is missing the 'Update' option. When I connect to a different source (SharePoint list) and add an Edit form, it works fine.

 

I have thought of two reasons for this: 

  1. It involves a premium connector. However, I now have a premium license and it still doesn’t work.
  2. It has something to do with the data source. Somehow PowerApps isn’t allowed to communicate back to my SQL database?!

 

Does anybody have any thoughts on this?

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,797 Super User 2026 Season 1 on at

    Hi @NatP 

    Can you clarify that you've defined a primary key on your source table? If there's no primary key, Power Apps won't be able to update the record.

  • NatP Profile Picture
    6 on at

    Hi @timl . That has actually fixed my problem! Feel like a bit of an ass that is was something so simple and I didn't manage to solve it myself. But a very happy ass, at least.  😉 Many thanks for you quick reply and help!

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 522

#2
WarrenBelz Profile Picture

WarrenBelz 437 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 405

Last 30 days Overall leaderboard