Reply
Frequent Visitor
Posts: 23
Registered: ‎12-15-2016

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!

Regular Visitor
Posts: 26
Registered: ‎05-30-2016

Re: Import pbix using Flow

Hi,

 

Did you solve this issue ?

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

 

Thanks

Frequent Visitor
Posts: 23
Registered: ‎12-15-2016

Re: Import pbix using Flow

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… 

 

Regular Visitor
Posts: 26
Registered: ‎05-30-2016

Re: Import pbix using Flow

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 ?