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
I am trying to import/deploy a dataflow using the REST API.
Documentation: https://docs.microsoft.com/en-us/rest/api/power-bi/imports/postimportingroup
The error I get is this:
Did you ever get this to work as I'm in the exact same boat as you? Looks like the only artefact type a service principal cannot deploy is a dataflow for some mad reason. I receive the error: "ALM_InvalidRequest_ServicePrincipalNotSupported"
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
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.
Hey @Anonymous - were you able to figure this one out ? I get the exact same behaviour.
Did you follow these instructions?
Required scope: Dataset.ReadWrite.All
To set the permissions scope, see https://docs.microsoft.com/en-us/power-bi/developer/embedded/register-app.
Yes!
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 | |
| 34 | |
| 28 | |
| 20 |