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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.