Forum Discussion

zulu2020's avatar
zulu2020
New Member
2 years ago
Solved

Power BI Apps in Test or Prod?

Hello,

We've have a power bi apps solution implemented in our environment. We've 3 different environments, Dev, Test, and Prod.

Developer build and test reports/dashbords and apps in Dev. Developers have no access to Test and Prod. Once the apps is deployed in Test then Testers will start doing their report/data validation. Once Test is passed then it will get deployed to Prod. The same test team validates  report/data in Prod as well.

Recently, one of the test user asked "How do I know whether the data points to Test or it points to Prod?" I know the deployment was done correctly and he also know the data is successfully validated but everyone wants to see whether the apps is running on Test or Prod.

Is there a way to display a small text or something in apps so when the user access it, the apps will display "Test" if they are running in Test and "Production" if they are running it in Prod.

Pease let me know how to do this in Power BI Apps.

 

Thanks,

  • aj1973's avatar
    aj1973
    2 years ago

    When you click on Update App you will see Logo and Theme of the App in the setup section. You can add and edit the title of the App...

     

6 Replies

  • Thank you aj1973 and Anonymous,

    I believe the issue is within my tenant. But it looks like the only option that I've to differentiate between Test and Prod environment is just the "Color". I can't put a text like "PROD" or "Test" for users to see who have access to both environments.

     

    Thanks.

  • aj1973's avatar
    aj1973
    Community Champion

    Hi zulu2020 

    Normally the data should be different from dev, test to prod. But you can change the color theme of the Apps like blue for dev orange for test and green for prod.

     

    • zulu2020's avatar
      zulu2020
      New Member

      Yes, the data is definitely different between the environment but they would like to quickly see the difference instead of checking the data.

      If the apps is same in dev/test/prod, how do we change the apps theme? wouldn't that require to re-deploy to another environment?

      Is it possible to add some text like "Test" or "Prod"?

       

      Thanks,

      • aj1973's avatar
        aj1973
        Community Champion

        When you click on Update App you will see Logo and Theme of the App in the setup section. You can add and edit the title of the App...

         

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thank you aj1973 

    Hi, zulu2020 

    If you want to get the stage of the Pipeline that the current report is in, you can do so through the Power BI REST API. Return the stage of the current Pipeline by calling the following API:

    Pipelines - Get Pipeline Stages - REST API (Power BI Power BI REST APIs) | Microsoft Learn

     

    GET https://api.powerbi.com/v1.0/myorg/pipelines/{pipelineId}/stages

     

    Put the captured data into your report and then display it with visual visual objects.

     

     

    Best Regards

    Jianpeng Li

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.