Forum Discussion
Anonymous
6 years agoNot applicable
Error using REST API to deploy/import dataflow using Service Principal
I am trying to import/deploy a dataflow using the REST API. https://api.powerbi.com/v1.0/myorg/groups/{groupid}/imports?datasetDisplayName=model.json&nameConflict={nameConflictResolution}&skipRep...
Anonymous
6 years agoNot applicable
HI Anonymous,
So you mean direct upload to import data flow works, but rest API failed? If this is a case, did other rest API works on your account? I'd like to suggest you check your azure account and related permission and setting to confirm if you have the permissions to use rest API.
Regards,
Xiaoxin Sheng
- Anonymous6 years agoNot applicable
Using the exact same api and the spn, upload is successful with a pbix file.
Using the same api and my login, upload of dataflow is successful.
Using the spn and the same api, the upload fails with a dataflow.
I have checked to make sure dataflow read write all has been set on spn via azure portal.
- CatalinC3PO5 years agoNew Member
Hey Anonymous - were you able to figure this one out ? I get the exact same behaviour.