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 / Possibility to add 2 o...
Power Apps
Answered

Possibility to add 2 or more site environment variables?

(0) ShareShare
ReportReport
Posted on by

Hey guys,

 

I have built an app in my DEV environment, where I used 4 datasets (lists) from 2 sharepoint sites.  (1 list from 1 site, 3 lists from the other site).

 

Both sites have been defined as environment variables in this DEV environment. 

 

However when I checked the app's Dependencies -> Required objects, only 1 site environment variable is listed out. The other is missing:

 

EricZZZZ_0-1677947258793.png

 

The export & import to PROD environment also did not work. When launching this app in PROD environment, there was an error message displaying the red boxed dataset cannot be found.

 

Does this mean powerapps only supports 1 site environment varialbe?

 

Thanks in in advance.

Categories:
I have the same question (0)
  • Verified answer
    EricZZZZ Profile Picture
    on at

    Hi again all,

     

    I have found the issue.  It was because I refered to the same dummy Sharepoint site for the two DEV site environment variables for my testing.  The Powerapps somehow merged those site environment variables with same site address, and kept the very last site variable.

     

    Changing one of the site variable to another site address value, and by removing & adding dateset back in powerapps - two variables are now both listed as Required objects. And exporting & importing solution also works.

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 305 Most Valuable Professional

#2
11manish Profile Picture

11manish 212

#3
Valantis Profile Picture

Valantis 167

Last 30 days Overall leaderboard