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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
SaiPraveen
Frequent Visitor

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

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

View solution in original post

4 REPLIES 4
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. 

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. 

Hi Neeko Tang,

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

Thanks,

SP

SaiTejaTalasila
Super User
Super User

Hi @SaiPraveen ,

 

Even i have seen similar issue when i'm using deployment pipelines.If you configured everything properly after deploying the items in one stage to other wait for 1 to 2 min's and i did the same.

You can refer this -https://learn.microsoft.com/en-us/fabric/cicd/deployment-pipelines/create-rules

 

 

Thanks,

Sai Teja

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors