PL-200 · Question #327
You are creating a model-driven app that has an embedded Power BI report. Another functional consultant set up an environment variable for the report. You add the dashboard to a solution in the…
The correct answer is B. Remove the environment variable current value. When a managed solution carries a development environment variable current value into production, you must remove that current value from the development environment before redeploying so each environment maintains its own independent value.
Question
Options
- AUpdate the environment variable current value
- BRemove the environment variable current value.
- CUpdate the environment variable default value.
- DCreate a new environment variable.
How the community answered
(43 responses)- A2% (1)
- B77% (33)
- C7% (3)
- D14% (6)
Why each option
When a managed solution carries a development environment variable current value into production, you must remove that current value from the development environment before redeploying so each environment maintains its own independent value.
Updating the current value in development still includes that value in the exported solution, continuing to overwrite the production environment's value on the next import.
Environment variable current values are environment-specific overrides; if a current value exists in the development environment it gets packaged into the solution and overwrites the production value on import. Removing the current value from development ensures production can define its own current value independently, resolving the data bleed between environments.
Updating the default value affects all environments uniformly and does not resolve the per-environment isolation issue caused by the current value being included in the solution package.
Creating a new environment variable does not fix the existing variable's scoping problem and would require reconfiguring the embedded Power BI report reference throughout the solution.
Concept tested: Environment variable current value isolation across managed solution environments
Source: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/environmentvariables
Topics
Community Discussion
No community discussion yet for this question.