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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors