Forum Discussion

Haribaskar_11's avatar
Haribaskar_11
Regular Visitor
1 year ago
Solved

Power BI Template App

My template app is in testing phase under release management. I used the notification to change from sample data to my desired environment data. It works fine but when I want to change from that envi...
  • Nasif_Azam's avatar
    1 year ago

    Hey Haribaskar_11 ,

    Based on the message and screenshot you've shared from your Power BI Template App during testing, When testing a Power BI Template App, you initially see this message: "You're viewing this app with sample data. Connect your data". After clicking "Connect your data", you're allowed to bind the app to one target workspace/environment. Once you've done this, the app no longer allows you to switch to a different environment in the same testing session. This is expected behavior during the testing phase of a template app. This is a limitation of the Template App testing environment, not a mistake on your part.

    Solution

    If you want to test your app against another environment, you need to:

    1. Go back to App Designer and select "Edit" on your template app.

    2. Make any minimal change (like changing a description).

    3. Re-publish the app for testing.

    4. This resets the testing environment and restores the "Connect your data" option.

    5. Now, connect to the new environment instead of the previous one.

    This is effectively a "re-test" with a new environment.

     

    Things to remember:

    • If you're building a multi-environment app (e.g., Dev, QA, Prod), consider parameters or dynamic data source bindings.
    • Users will see the "Connect your data" prompt on first install.
    • They can connect to any supported environment/workspace, but only once per install.
    • If they want to switch, they’ll need to reinstall or rebind manually by editing the template setup.

     

    If you found this solution helpful, please consider accepting it and giving it a kudos (Like) it’s greatly appreciated and helps others find the solution more easily.


    Best Regards,
    Nasif Azam