cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
msalerno
New Member

How to Update a Report theme via Power BI REST APIs

tldr; How can I update report theme via REST API? 

 

I have a set of reports residing in muliple workspaces.  Each workspace has a custom theme for the reports (set in Power BI Desktop manually).  As part of my new CI/CD process, I would like to automate publishing PBIX files to each worksapces and set the appropriate theme.   I do not see a way to set/update report themes in the REST API... maybe I am missing it...?  Halp meh!

 

Thanks!

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

You can't do that, but you can upload reports/datasets into workspaces via the API.  Apply the theme to a local pbix and then upload that.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

why not helpful?  Let the automation tool do its job, even if it means 1000 loops.

lbendlin
Super User
Super User

You can't do that, but you can upload reports/datasets into workspaces via the API.  Apply the theme to a local pbix and then upload that.

Hmm... that is not helpful from an automation perspective.  If I have 10 reports and 100 customers, each with different themes, then I have to apply a theme 1,000 times and upload to their customer workspace before updating their customer app. 

 

 

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors