cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Problem writing to a SQL table from a PowerApp - Read Only Message

Hi!

 

I've created a few PowerApps that use SQL connections successfully, reading and writing data. On this new PowerApp I'm creating, connected to the same database but using different tables, I'm getting an error when using the Collect / Patch and similar functions. The error message is "Data origin is read only, Collect function can't write to it".

If I select some older tables it works just fine, but any newly created tables has this same issue. 

 

I've tried creating the connection again, creating new tables, I'm using a super user with full read-write access. 

 

I don't know what else to check, is there a chance some new permission is being set up that I don't know?

The PowerApp can read the data from these tables, the issue is to write to them for some read-only error, so the connection works just fine.

 

Hope someone can have some ideas.

 

Thanks!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @Slopez ,

 

Is there the PrimaryKey in your SQL Table ?

Could you please check that? You need to set one PK  in your tables if you test.

 

Best Regards.

Yumia

 

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @Slopez ,

 

Is there the PrimaryKey in your SQL Table ?

Could you please check that? You need to set one PK  in your tables if you test.

 

Best Regards.

Yumia

 

View solution in original post

It’s always the little things! I can’t believe I missed that.

 

Thank you!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (6,935)