Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Power App can edit, but won't start after removing Environment Variables - says it's Not Found

Posted on by 280
I had an app with four workflows that was working well, but it was complicated to deploy because I had the URL to the SharePoint site hardcoded. So, I replaced the connection using an Environment Variable. That caused several issues. The app ran fine, but the flows wouldn't run. After trying different options I was told to try, I finally decided the nightmare and bugginess of Environment Variables were not worth the time saved during deployment.
 
I went in to the app and removed the data connections (Uses three lists in the same site). Got the app running, so I deleted the Environment Variables from my environment through the "Default Solution".
 
Now when I try to click "Play" to run the app from the existing environment (not deployed to any other environment), I get an error that says "Sorry, we didn't find that app" and the "More" link reveals that it is looking for an environment variable.
 
WHAT???!!! What does it need any environment variable for to FIND the app?!  
I can't find anywhere to recover the environment variables I deleted, and my app won't run now. Any help is greatly appreciated.
 
Categories:
  • Verified answer
    rkirk2k Profile Picture
    rkirk2k 280 on at
    Power App can edit, but won't start after removing Environment Variables - says it's Not Found
    BIZARRE - after some time, this just resolved itself.
     
    WHAT AN ABSOLUTE NIGHTMARE IT CAN BE WORKING IN POWER APPS. 
  • MarkBAndR Profile Picture
    MarkBAndR 801 on at
    Power App can edit, but won't start after removing Environment Variables - says it's Not Found
     
    Did you republish the app? When you select Play, it is using the last Published Version. If things work in Edit, then maybe that version has not been published.
     
    If you go to "Details" - "Versions" you can see the current Published Version.
     
    Also if you have not made too many changes to your App, you could restore a prior version where things were working. i.e. before you tried using Environmental variables.
     
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a Like.
     
    Thanks
    -Mark
  • ronaldwalcott Profile Picture
    ronaldwalcott 903 on at
    Power App can edit, but won't start after removing Environment Variables - says it's Not Found
    You probably have a formula referencing the environmental variable connection and you didn't realise because the direct connection and the connection using the environmental variable will work hand in hand until you remove one.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard