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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.