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 / Azure SQL (SaaS) as da...
Power Apps
Answered

Azure SQL (SaaS) as data source in PowerApps

(0) ShareShare
ReportReport
Posted on by 43

Hello Team,

 

I have created Azure SQL SaaS database and connected to PowerApps.

 

I have data table control on my app which display the data and then I have form on the same screen. when I add field to the form as data card, It(data card) containts key and value cards as labels. I need Key as Lable and value as Input text box so when I submit the form I can write those values to Azure SQL DB. 

 

What I have noticed is, When I add a field to the form, I see "EDIT" control type for the field is missing. Can you please help? Appreciate your response.

 

ControlType.png 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,117 Most Valuable Professional on at

    Did you make sure that it was an 'Edit' form that you added to the Screen?  The form itself is specific to either edit or display.  Edit forms can be set to View mode, but Display forms don't have an Edit mode. If you add the wrong one then the fields will default to that mode. If the form doesn't have a Default Mode property then its not an Edit form its a Display form.

  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @vshah804 ,

    Do you mean that only ActivityID filed can't be edited or all the fields can't be edited?

    Could you tell me the data type of ActivityID?

    Is this a system field?

    If so, the system field is read-only in PowerApps. You could only view it without editing it.

    What's more, make sure that you insert an Edit form and its mode is edit or new, not view.

     

     

    Best regards,

    Community Support Team _ Phoebe Liu

     

  • Verified answer
    timl Profile Picture
    36,774 Super User 2026 Season 1 on at

    Hi @vshah804 

    In addition to the other comments above, can you confirm that your table in Azure SQL has a primary key defined?

    Here is a related post on the same issue.

    https://powerusers.microsoft.com/t5/Connectors/Issue-with-SQL-not-allowing-EDIT/m-p/96092#M35756

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for posting in the community @vshah804 - can you review the above replies and update the thread if they were helpful? 

     

    Thank you,

     

    @Anonymous 

  • vshah804 Profile Picture
    43 on at

    Hello, You are correct. I was missing the primary Key in the table. Thank you for your help.

  • anuragsharma311 Profile Picture
    3 on at

    I was facing same problem, after going through with this solution I tried to create primary key in my SQL tables and this solution worked perfectly the way I wanted.

    Many thanks!!!

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard