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 variables ...
Power Apps
Unanswered

Environment variables in an app not working when installing in different tenant

(0) ShareShare
ReportReport
Posted on by 1,207

I have a solution that I frequently install on environments in other tenants. I have created environment variables for SharePoint lists that are used in the apps. When I install the solution in the destination environment and update the environment variables the SharePoint sites aren't updated in the apps, they are still pointing the lists on the source tenant. They update in Power Automate fine.

 

I added the SP lists in the app by selecting the Advanced tab, then I select the site environment variable and select advanced again and the environment variables.

 

This is critical to me being able to easily install the solution and keep it all managed. Has anyone else got this working or experienced the same problem?

Categories:
  • SebS Profile Picture
    4,882 Super User 2026 Season 2 on at

    @Digital 

     

    There are two Environment Variables when You create them, one for the Site and One for the List. Did You create one for the Site that driving than all List Variables?

     

    SebS_0-1671148801219.png

     

    Than list variable will look like this

     

    SebS_1-1671148891647.png

     

  • Digital Profile Picture
    1,207 on at

    Hi @SebS , yes I created the site one first then did the list ones afterwards. It works perfectly in my Flows but the apps never update.

  • SebS Profile Picture
    4,882 Super User 2026 Season 2 on at

    @Digital 

     

    So before You move App you remove all connections in the Variable leaving it blank then on Import of the Solution in the destination You pick Site and list from the Import. if yes that is strange.

  • Digital Profile Picture
    1,207 on at

    @SebS , thanks for getting back to me. I leave the default values in place when I export and update them to point at the new site and lists after import.

     

     

  • SebS Profile Picture
    4,882 Super User 2026 Season 2 on at

    @Digital 

     

    I will try to remove them when you do that on import You will see a prompt asking for pointing to them maybe this will sort the issue

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard