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 and gateway connections. Created deployment rules to deploy dataflow and semantic models in the test workspace through the deployment pipeline. Could you please help me by answering the below questions.

 

1. when we push the dataflow and semantic models from dev to test workspace with deployment rules. I still see dev sources for dataflows in test workspace. how to change the sources to test from dev or how to delete the dev sources in test workspace?

2. how deployment rules works and how to setup a gatway for test workspace?

 

Thanks,

SP

  • 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. 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi SaiPraveen ,

     

    Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.

     

    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. 

    • SaiPraveen's avatar
      SaiPraveen
      Frequent Visitor

      Hi Neeko Tang,

      I still confused on it. Could you please answer the questions I have mentioned above?

      Thanks,

      SP

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.