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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Environment Variable T...
Power Apps
Unanswered

Environment Variable Trouble

(0) ShareShare
ReportReport
Posted on by 21

I have an app that uses environment variables to reference a SharePoint site and a list on that site.  This app is developed in a Dev environment and then exported to a Prod environment in a managed solution.  I need some help understanding how changing the value of the environment variables in the production environment will impact the app in the managed solution.

These are the steps I followed and the behavior I have observed:

 

  1. Exported solution (managed) from the dev environment with the current and default values of the site and list variables set as blank.
  2. Imported the solution into the prod environment.  During the import process I was prompted to provide values for both Site and List variables.  These were set to the production assets
  3. Verified that the app correctly referenced the production assets
  4. In the Default Solution in the production environment, I changed the current value of the site and list variables to reference the development assets
  5. Verified that the default values were still blank
  6. Opened the app for edit in the default solution and verified that it now referenced the development assets

So far this is as I would expect.  Next I did this:

  1. "Played" the app in the default solution - it still referenced the production assets
  2. "Played" the app in the managed solution - it also still referenced the production assets

I have verified that the latest version of the app is the published version and I have tried restarting my browser session but still can't get the apps to correctly reference the development sites when played.  I am totally baffled by this behavior and would like some help understanding what is happening and how to change environment variables so that they impact managed solutions as expected.

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 993

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 545

Last 30 days Overall leaderboard