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 : D9q6vVJV3SJI5pIGsumJpJ
Power Apps - Power Apps Pro Dev & ISV
Unanswered

Environment Variables not Retaining Values after Deployment

Like (0) ShareShare
ReportReport
Posted on 24 Jan 2023 10:34:27 by 256

Okay guys I have a question:

 

When you deploy solutions with env variables, you are adviced to remove the values from the solution before the deployment so that the target environment can prompt you to fill in the values for that environment. Weird, but I get.

 

What I don't understand is about the claim that the env variables on the source environment (say dev) still somehow retains the original value that was removed from the solution before deployment. This didn't make sense to me but if it worked then it worked.

 

However, now that I'm using this method, whenever I try to edit a flow that uses an env variable in the source environment, I'm getting an error because the flow can't find a value in the env variable!

 

So that means whenever I need to deploy to a new environment, I need to first, remove all the values from the solution, deploy, and then re-add the values back to the variables.

 

I don't know if anybody else has this experience.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete