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
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.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps