Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
I tried uploading .json file datset using PostImportWithFileInGroup Power Bi RestAPI but am getting error as Bad request.
How to upload dataset(.json file) from specified location (c:\testing\test.json) to power bi premium workspace using xmla endpoint?
Hi @Anonymous
Please check whether you register an app correctly. Make sure the app is not a service principal. Post import is not supported for dataflows with service principal.
You will need to assign Dataset.ReadWrite.All in API Permission in your app. You can have a test from this link.
For reference: Import dataflow model.json example
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |