Microsoft

PL-200 practice question 283

Microsoft Power Platform Functional Consultant · free question 283 of 309

Question

You develop a model-driven app that has an embedded Power BI report in the development environment. Another environment has a Power BI workspace that corresponds to the development environment. All deployments must take place by using the maker portal. When you manually deploy changes to the other environment, you observe that the report from the development workspace is displayed. You need to resolve the issue. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
  • A. Use a solution settings file.
  • B. Replace the Report component with a Power BI Dashboard component.
  • C. Add an environment variable. Correct
  • D. Include the current value in the solution.
  • E. Remove the current value in the solution. Correct

Explanation

Add an environment variable (C): an embedded Power BI report in a model-driven app can use a Power BI environment variable that holds the workspace and the report. Each environment can then point at its own workspace instead of the hard-coded development workspace. Remove the current value in the solution (E): if the current value is exported with the solution, the target environment keeps using the development workspace. If you remove the current value from the solution before export, the development environment keeps its value, and the target environment is asked for its own value when the solution is imported in the maker portal. A solution settings file is used for automated deployments with pac CLI or pipelines, not for manual deployments from the maker portal. Including the current value causes the problem described. Switching to a dashboard component does not change which workspace is used.

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.