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.