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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Cannot write to List a...
Power Apps
Unanswered

Cannot write to List after Import to Environment (Environment Variables)

(0) ShareShare
ReportReport
Posted on by 64

Hello

 

I've been using the Environment Variables function during my app development. This has worked (mostly) fine during the build, but now that I've got a good enough App to put into our test environment, I can no longer write to any of the lists.

 

I could select the variable site and lists during the import process no problem at all, but I get the 'specified record is not found' error when trying to write anything after the import process is done. (If I go into the App via the mobile App, I also get 'list not found' included alongside the record error)

 

The weird thing is, one of my buttons - which does a simple write of the DateTime to a list to make sure it's connected to Wifi/Data - is directly connected to a specific sharepoint list without using an environment variable and this throws the same error too. If I import the solution as unmanaged and reconnect this button to the exact same source, it then works perfectly fine.


I've made sure all the variables (even the 'static' ones PowerApps creates for non-variable lists) have their dependent objects etc. I've deleted the solution in the test environment and imported it afresh, but I'm absolutely baffled at what to try next.

 

Categories:
I have the same question (0)
  • Socrates Profile Picture
    64 on at
    Re: Cannot write to List after Import to Environment (Environment Variables)

    As a follow up, I did have some joy in deleting the Env. Variables and doing them again, but that never seems to stick; always get the 'list not found' / 'record not found' error again at some point.

     

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 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard