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

Become a Certified Power BI Data Analyst! Prepare for Exam PL-300 with expert-led live sessions. Get registered!

Reply
spencer_sa
Super User
Super User

Bulk deployment rule creation in deployment pipelines

I've got a development workspace with around 50 notebooks that I'm trying to use a deployment pipeline to move through test into production.
Each notebook has a development lakehouse as their default lakehouse.  I'm assuming that when I deploy this to test, the default lakehouse will remain as the development one - rather than the test.
I know I can create rules to change the default lakehouse on the deployment.  I am just balking at having to create 50 deployment rules that are effectively doing the same thing.  Is there a way of changing the default lakehouse 'in bulk' or creating the deployment rules in one go?  (Hells, even API calls might be better than this)

2 REPLIES 2
Anonymous
Not applicable

Hi @spencer_sa ,

That's right, I think you can use the API to bulk update.

First authenticate and get the deployment pipeline ID as well as the workspace. Create a script to update the deployment rules and finally deploy the changes to the target workspace.

 

Best Regards,

Ada Wang

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

APG
Frequent Visitor

Hi @Anonymous , which APIs are you referring to?

Currently Fabric Deployment Pipelines REST API (Deployment Pipelines - REST API (Core) | Microsoft Learn) seems to be very limited:

APG_0-1721988267848.png

Can you share any link/documentation about the APIs you mentioned?

 

regards

 

APG

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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