Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi there,
I need to either create or clone dataSets from one workspace to another via API. The goal is creating a workspace per tenant, each with their own dataset and reports.
Each dataset have their Gateway data source (Direct Query to on-premises SQL Server)
The documentation show no options to create or clone a dataset (unless they are PUSH datasets, which are streaming-only).
Here are the options I beleive I can try, but I'd appreciate some guidance
In a video (https://youtu.be/G1vVFoKKrwE?t=1438) minute 24, you can see a C# wrapper funtion CreateDataset(targetWorkspaceId, datasetConfigPath). I would assume that if it can be done with the SDK, it can be done with the API directly (I'm not using C#)
Any ideas on the above or alternatives that you can think of?
Thanks!
Option 2 is what I have seen people use. Should be possible with the standard REST API calls. There are some small issues with taking over datasets but these can be worked around.
Thanks @lbendlin I can confirm that's a working option (uploading the PBIX)
If anyone has managed to clone a dataset using the API, please share! 🙂
thanks
Hi @dpiret - I would be really keen to see/understand your solution.
I am using a python script as my datasource. It pulls the data from a file S3 Bucket.
I was wondering If I can edit the python on the dataset, to pull from a different S3 object.
Jeff
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 41 | |
| 36 | |
| 36 | |
| 28 | |
| 20 |