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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.