cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ralf_hein Frequent Visitor
Frequent Visitor

Publish App via REST API

We are running a potentially large number of individual reports (individualised via Parameters) that are made available to users as Apps. Basically, the reports are identical but the data content and some details are individual per workspace/app.

 

Our current workflow is like this:

  1. Develop / Update Reports etc. in PBI Desktop
  2. Save under a common Name, e.g. "Reports.pbix" with all Parameters set to empty
  3. Import this "generic" pbix file into all PBI Workspaces via REST API
  4. Update/Individualise Parameters per Workspace via REST API
  5. Trigger data load into the newly imported dataset via REST API

 

Now, whats missing is a way to actually publish the updated app to the users. We always have to go manually via the web interface and click "Publish App" for each and every workspace.

 

We have tried to imitate the web interface json requests via scripting, but had no luck with this so far.

 

Is there any workaround or undocumented API for this?

 

Any idea or help is highly appreciated. Thank you!

2 REPLIES 2
v-micsh-msft New Contributor
New Contributor

Re: Publish App via REST API

Thanks for the good idea.

But I am afraid currently it is not available for Power BI Embedded API to publish the App created in Power BI Service.

Take a look at what could be done through the Power BI Embedded through the article below:

https://docs.microsoft.com/en-us/power-bi/developer/overview-of-power-bi-rest-api

 

Besides, if you would like Power BI Embedded to be able to update App through API, then please rise it as an idea:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Regards,

Michael

ralf_hein Frequent Visitor
Frequent Visitor

Re: Publish App via REST API

Michael, thank you for the clarification!

 

There is actually already an idea that is pretty much identical listed here:

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/20468686-publish-app-via-rest-api

 

For the meantime, do you have any idea on how to handle this? We are speaking about >100 Apps, with updates and enhancements coming in every 2-3 weeks for the comming months. So doing the "publish" step manually really does not sound like an option.

 

Does maybe anyone know about some resources regarding scripting the PBI web UI? Think Greasemonkey, iMacros or similar.