Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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:
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!
Has anyone tried to get this API working to Update or Publish the app ? I'm curious if it only works for Premium since it uses Deployment pipelines?
This is now possible, well to update the published app, not to initially publish the app: Solved: Re: Power BI Rest API to Update Workspace App - Microsoft Power BI Community
Hi,
We are also planning to automate the reports deployment. So could you please share some source how did you do this?
Have you used Java to call PBI rest services? Also used any batch automation to run this deployment?
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
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.
We have automated this via Selenium (see selenium.dev) sripts for now. Works ok, we only have to do minor adjustments everytime MS changes the pbi web interface. This basically is screen scraping it and clicking the links to publish the apps.
User | Count |
---|---|
15 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
18 | |
11 | |
5 | |
4 | |
3 |