Microsoft

PL-200 practice question 278

Microsoft Power Platform Functional Consultant · free question 278 of 309

Question

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 development environment and then import the changes to a production environment as a managed solution. When you test the report, the data appears the same as it did in the development environment. You delete the solution in production. You need to resolve the development environment issue before redeploying the solution. What should you do?
  • A. Update the environment variable current value
  • B. Remove the environment variable current value. Correct
  • C. Update the environment variable default value.
  • D. Create a new environment variable.

Explanation

The current value of an environment variable takes precedence over the default value. If the current value is part of the solution, it is exported and imported with the solution. That is why the report in production still pointed at the development data. Microsoft's guidance is to remove the current value from the solution before exporting: in the solution, select the environment variable, then under Current Value select ... > Remove from this solution. The value stays in the development environment, but it is not exported, so a production value can be entered when the solution is imported. Updating the current value in development would still carry a development value into production. Changing the default value has no effect while a current value is present. Creating a new environment variable does not fix how the value is packaged.

Need the theory? Learn it free in the PL-200 course on Godlike Academy

Practice the whole free set

PL-200 is a free exam: all 319 questions with instant feedback, plus Learn and Exam modes and PDF export, free.