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 / Issue Connecting with ...
Power Apps
Unanswered

Issue Connecting with SQL Server

(0) ShareShare
ReportReport
Posted on by

Hello everyone!

 

I have 2 issues here from building my first power app and I can't seem to find the right solution anywhere on the internet so I'm turning to this forum. I have already created a SQL database on Microsoft Azure, and when I tried to create a power app directly from it, the screen was loading for a while before it says '404 resource not found'. After the connection failed, I went into the list of connections inside power apps, and the SQL server, which previously failed to connect, was already there. When I tried to manually connect it at that point and create the app from there, it was able to connect successfully. However, it only generated 2 screens instead of the 3 I was expecting to get (the EditScreen was missing). I've tried recreating a new database as well as restarting everything from scratch, but the same problem remains.

 

The second problem, which could be a result of the first problem, is when I tried to manually create the edit screen and create a new form, I was able to add the column names directly from the app, but the text field did not show up at all. This meant that the app is able to display the data from the SQL server, but cannot edit the data. The power app simply does not seem to have 'write' access to the database on Azure. Is there any pointers as to how I can connect SQL server to power apps more seamlessly?

 

Any help is appreciated,

Thank you!!

 

Categories:
I have the same question (0)
  • timl Profile Picture
    37,229 Super User 2026 Season 1 on at

    Hi @dlin63 

    Do you have a primary key on your table? Power Apps cannot write to a table without a primary key, and this is the most likely cause of the issue.

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Write-Back-to-SQL-Default-screens/m-p/543001

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard