Forum Discussion

SaiPraveen's avatar
SaiPraveen
Frequent Visitor
2 years ago
Solved

Deployment rules in deployment pipeline

Hi, We have created a Power BI deployment pipeline and assigned appropriate dev, test, and production workspaces to dev, test, and production. Connected dev workspace with on premises dev source...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi SaiPraveen ,

     

    When you push dataflows from the development workspace to the test workspace using deployment rules, the dataflow sources remain connected to the development environment.

    • Go to the deployment pipeline and select the test stage.
    • Click on Deployment rules.
    • For each dataflow and semantic model, set up or modify the Data source rules to point to your test data sources instead of the development ones.

    Remember, after setting or modifying the rules, you need to redeploy the content from the development to the test stage for the changes to take effect. For more detailed instructions, please refer to the documentation on creating deployment rules.

     

    To set up a gateway for your test workspace:

    1. Ensure that you have an on-premises data gateway installed and configured. If not, you can download and install it from the Power BI gateway documentation.
    2. In the Power BI service, go to Settings > Manage gateways.
    3. Find the gateway you wish to use for the test workspace and add a new data source that points to your test database or data source.
    4. Configure the data source with the necessary details (server name, database name, authentication method, etc.).

    Best Regards,

    Neeko Tang

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