web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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
    36,387 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard