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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Environment Variable Dependency in Pipeline

(0) ShareShare
ReportReport
Posted on by 9
I have a solution with a power app,
and an environment variable (type "Site") points to a SharePoint site "Shopping",
and an environment variable (type "List") points to a list "Grocery" based on the variable "Shopping".
 
Both variables are set without the Default value and "Remove value" (during export) box checked.
The "Current Value" have been populated in both Dev and Test environment.
 
When I run the pipeline to deploy the solution, the deployment page (environment variable) correctly displays the SharePoint site ("Shopping") value associated with the Test environment, but it leaves the SharePoint List ("Grocery") value empty.
 
A simple Chatgpt search results:
Now — the SharePoint list variable depends on the SharePoint site variable.
Even though the pipeline knows the site’s value (it’s prefilled), it doesn’t automatically cascade that dependency at deployment time.
That’s why your site variable prefilled correctly, but the list variable did not.
 
I want to confirm this with the Power Platform team and see if this is true.
If so, is there any plans to resolve cascading dependency in the future?
 
Thank you.
 
Categories:
I have the same question (0)
  • stum Profile Picture
    89 on at
    Environment Variable Dependency in Pipeline
    Hi,
     
    Are you using Azure DevOps pipelines? If so, you can create a json file for your environment variables and update the values when you are importing your solution by using Deployment Settings File.
     
    See the example below:
     
    {
        "environmentVariables": [
            {
                "schemaName": "schemanameof_YourEnvironmentVariable",
                "value": "Value to be set in target environment"
            }
        ]
    }
     
  • LT-28102202-0 Profile Picture
    9 on at
    Environment Variable Dependency in Pipeline
    Thank you for your reply.
    I am using the Power Platform Pipelines (the little rocket icon) with different stages.
     
    Can I use the Deployment Settings File in conjunction with the existing pipeline?
    Meaning, do I need to define all the environment variables in the file or only the ones I specified?
    Currently the SharePoint Site variable picks up the current value, the list ones do not.
     
    Do I also need to specify connection reference as well?
     
     
    Thank you.
     

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 651 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 385 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 230 Super User 2025 Season 2

Last 30 days Overall leaderboard