cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
patlaff
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?

 

Thanks.

2 REPLIES 2
cnschulz
Helper IV
Helper IV

@patlaffDid you ever get anywhere with this?

patlaff
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

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

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.