Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
zulu2020
New Member

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,sample_power_bi_apps.png

1 ACCEPTED SOLUTION
aj1973
Community Champion
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...

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

6 REPLIES 6
zulu2020
New 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.

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

vjianpengmsft_0-1722482597467.png

 

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

 

vjianpengmsft_1-1722482685080.png

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.

 

 

aj1973
Community Champion
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.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

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
Community Champion
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...

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

I'm new to Power BI. I'm attaching a screen shot which is different than MS Learn version. See attached screen shot:

In Development section of Deployment Pipeline, on the bottom it shows "Publish app" and "Deploy to test" options and so is in test section of Deployment Pipeline.

That's not exactly what I see on mine. What I see is:

In Development section of Deployment Pipeline, on the bottom it shows "View app" and "Deploy" options and in test section it shows "Publish app" and "Deploy". I re-created my app in test then published it. Then in Prod I can only see the theme of the app, I've to add all the contents and audience again 😞

It sounds simple but the service is complex to perform.

 

zulu2020_0-1722439108185.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.