Hello,
I'm trying the usage of the new environment variables and experience a behavior I'm not sure what to think about it.
Question:
Hi @LarsMartin ,
Could you please share a bit more about your issue?
Do you mean that the current value is overwritten automatically when deploying your solution to another Environment?
Further, do you want the current value to remain the same across different environments?
Based on the issue that you mentioned, I think you have some misunderstanding with the Default value or Current Value of Environment Variable.
Currently, within PowerApps, only the Default value of Environment variable could remain the same across different environments. The Current value is scope to your current PowerApps environment, when you deploy the Solution including Environment variable to another different Environment, the Current value would be lost.
Please check the following blog for more details:
https://powerapps.microsoft.com/en-us/blog/environment-variables-available-in-preview/
If you want the Environment Variable value to remain the same across different environments, please consider set a Default value for it rather than Current value.
Best regards,
Failure was in front of the display.
I created the current value within the solution and did not remove it before exporting the solution.
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72