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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
njrandell
Helper I
Helper I

Create workspace in Power BI Embedded using Rest API

I'm working on a solution for a customer. Currently we build reports in desktop, publish to a group and then update the app.

 

More recently I've got the import working via the API, so I can import the pbix, upload to multiple workspaces, modify parameters on the dataset for each specific workspace and then refresh the dataset.

 

However when I upload a new report, I want to be able to update the app with the new report. Is there any way of doing this via the API?

 

4 REPLIES 4
Anonymous
Not applicable

Hi @njrandell,

 

when you upload the report and import it in a app workspace (group) in PBI Service, you can get the id of the imported report.

Then, using the REST API for reports you can get the report with the report you've just imported.

 

Hope it helps,

 

Thanos

I know that bit, but is there a way I can update the app? From the web site I can add a report into an app and then update the app, but could not see a way to do this via the api.

Anonymous
Not applicable

Hi @njrandell,

 

Sorry, probably you're talking about updating a PowerBI App and not a usual web app. 

AFAIK there's no way to simulate the button "Update App" of the PowerBI service with a rest api call or an sdk call. 

 

If you would like to go the other way (web app), you can start by something like this.

Also I have written a blog post about templating in a multitenant environment if you'd like to give it a look.

 

Hope it helps.

 

Regards,

 

Thanos

Thanks for that. It's pretty much what I thought. Hopefully the API will be udpated soon to add in more functionality around managing Power BI Apps.

 

I've already got the embedded links working.

 

BTW- just read your blog post and it describes almost exactly what I'm doing! Good to see similar thinking.

 

Nick

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.