Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Apply a Shared Refresh Schedule to Power BI Reports in Powershell

Hi All, I am looking to use a Powershell script to programmatically apply an existing shared refresh schedule to all Power BI Reports on my Report Server. It looks like I should be able to use the POST command on /CacheRefreshPlans SwaggerHub to do this by simply sending the shared refresh plan ID to Schedule.ScheduleID with the Power BI Report Path in CatalogItemPath, but that gives me an error saying that none of those fields exist on that object, which directly contradicts SwaggerHub... Does anyone have any insight into this, or have any workarounds to accomplish this?



Helper IV
Helper IV

@patlaffDid you ever get anywhere with this?

Frequent Visitor

Hey @cnschulz , unfortunately not. At the time, we accepted that it wasn't going to be possible, and I've since moved on to other projects and haven't had a chance to circle back around...

Helpful resources

PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

Get Ready for Power BI Dev Camp

Power BI Dev Camp - September 30th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.