Forum Discussion
Anonymous
4 years agoNot applicable
Uploading dataset to power bi premium workspace using xmla endpoints
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.j...
Anonymous
4 years agoNot applicable
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.