Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jbrandt
Advocate I
Advocate I

Import pbix using Flow

Greetings all, thank you in advance for reading this and more so if you can assist!  

 

I am attempting to use Flow to retrieve a .pbix file from a bitbucket repository and import it to a workspace.     To simplify the problem I've created this flow to illustrate the issue, simply pulling the .pbix from Sharepoint:

 

1-15-2019 2-11-16 PM.png

 

I'm nearly there but am getting an error from PBI Service when posting to the workspace.  When I search for this error I get zero hits.  Makes me feel lonely 😉 

{
  "error": {
    "code": "MultiPartMimeStreamFormatException",
    "pbi.error": {
      "code": "MultiPartMimeStreamFormatException",
      "parameters": {},
      "details": [],
      "exceptionCulprit": 1
    }
  }
}

Any guidance is much appreciated, thanks!

3 REPLIES 3
Anonymous
Not applicable

Hi,

 

Did you solve this issue ?

I am trying to do something similar and I can't find the  solution.

 

Thanks

Hi all, 

I submitted this to the pbi community as well, trying to get some insights. 

You can read the response here: https://community.powerbi.com/t5/Issues/PBI-REST-API-Import-PBIX-from-OneDrive-for-Business/idc-p/61...

Essentially MS is changing their documentation to fit reality: you can only import .xlsx files from OneDrive for Business, not .pbix files. 

Still working for some solution… 

 

Anonymous
Not applicable

Thanks for your answer. So I guess it does not work either with sharepoint online.

 

Do you know if it is possible to import .pbix files from another source using the API and flow ?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.