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
mnkumar249
New Member

Switch Snowflake Environments (UAT → PROD) Using Parameters & Deployment Pipelines

I have a Power BI report connected to Snowflake with multiple environments:

  • UAT
  • PROD

Currently, I manually change Snowflake connection details (warehouse, role, database) in Power BI Desktop when moving from UAT to PROD. This is time-consuming.

I tried using parameters to switch environments. It works in Desktop (sometimes needs applying changes twice), but in Power BI Service, I get this error:

mnkumar249_0-1763222291061.png

 

This means my approach is treated as a dynamic data source, so refresh is blocked.

mnkumar249_1-1763222361529.png

 

Goal:

  • Publish report in UAT workspace with UAT Snowflake details.
  • After approval, use Deployment Pipelines to push to PROD workspace.
  • Automatically switch Snowflake details without manual edits or republishing.
  • Ensure scheduled refresh works in Service.
  • Prevent direct changes in PROD workspace.

What is the best way to switch Snowflake environments (UAT → PROD) using parameters or other methods ?

@Mxd24 @Ritaf1983 @danextian @Shubham_rai955  @grazitti_sapna @MasonMA  

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @mnkumar249 

 

There are some details on how to use the deployment pipeline Rules. Create deployment rules for Fabric's ALM - Microsoft Fabric | Microsoft Learn





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

4 REPLIES 4
v-hjannapu
Community Support
Community Support

Hi @mnkumar249,

I would also take a moment to thank @GilbertQ  , @Mauro89  for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Regards,
Community Support Team.

Thank you All, Issue is resolved.

Created three parameters (Warehouse, Role, Name) and assigned it. Configured deployment rules at power bi service to switch between UAT to PROD.

Now it's working successfully.

GilbertQ
Super User
Super User

Hi @mnkumar249 

 

There are some details on how to use the deployment pipeline Rules. Create deployment rules for Fabric's ALM - Microsoft Fabric | Microsoft Learn





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Mauro89
Power Participant
Power Participant

Hi @mnkumar249,

 

what you basically can do to switch environment details is by using the Fabric deployment pipelines and their deployment rules. There you can change values for several Fabric items. 

Best regards!

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.