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

View all the Fabric Data Days sessions on demand. View schedule

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
Skilled Sharer
Skilled Sharer

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors