Forum Discussion
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,
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
- zulu2020New Member
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.
- zulu2020New 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,
- aj1973Community 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...
- AnonymousNot 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}/stagesPut 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.