I have a SQL Server Backend and I had my PowerApps app working fine until I tried to change a field on my form linked to the primary key of my data source. After I did that, I received a message "The specified record was not found. Server Response: Resource not found". I read on the forum that changing the primary key on a record after it has been created is not supported. That disappointing. What's worse is that after I close and restarte the App, I continually get the same error message. I deleted all the data from all of my tables in my SQL Server Database and I still get the same error mesage. I even tried to drop and recreate the table that I thought was impacted and it still doesn't resolve the issue. I also tried recovering from an earlier version of my app and it still didn't work. It's as if trying to change the primary key on a form corrupted my application or my database or both. I'm basically dead in the water. This happened to me 2 days ago as well on a different screen in my app. I recreated the form from scratch and that was the only way I could get things working again. This points to the app somehow being corrupted, but recovering from an earlier version of the app didn't solve the problem this time so I am stumped.
I should point out that I have foreign key relationships/dependencies set up in my sql server database which was doing a nice job maintaining referential integrity in my App.
Has anyone run into these issue and do you have a resolution.
Thanks,
Jeff