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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Possibility to add 2 o...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard