Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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.

  • Verified answer
    EricZZZZ Profile Picture
    on at
    Re: Possibility to add 2 or more site environment variables?

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard