<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PowerShell to set Report Server refresh schedule in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827611#M11960</link>
    <description>&lt;P&gt;I'm working on the same.&amp;nbsp; It should be possible, but currently am experiencing the same issue reported here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developercommunity.visualstudio.com/content/problem/760124/reporting-services-2017-rest-api-code-generated-fr.html" target="_blank"&gt;https://developercommunity.visualstudio.com/content/problem/760124/reporting-services-2017-rest-api-code-generated-fr.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The errors experience were using the client generation methods documented in the following thread by StolzHerz:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Report-Server/Swagger-URL-for-PBI-Report-Server/td-p/295076" target="_blank"&gt;https://community.powerbi.com/t5/Report-Server/Swagger-URL-for-PBI-Report-Server/td-p/295076&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further reading here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/report-server/rest-api" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/report-server/rest-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/info" target="_blank"&gt;https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/info&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In oder to refresh the report, there must first be an existing report schedule.&amp;nbsp; Once that's created, you can get the id of the Cache Plan from the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dbdev.livit.local/reports/api/v2.0/PowerBIReports(Path='/PowerBI_v1/Zahlungsanalyse%20(beta)')/CacheRefreshPlans" target="_blank"&gt;http://host/reports/api/v2.0/PowerBIReports(Path='{/ReportPath}')/CacheRefreshPlans&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then pass the CacheRefreshPlan id to the following "Refresh Now" API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://host/reports/api/v2.0/CacheRefreshPlans(bf907379-5ff9-4aec-bdba-973c98b092f2)/Model.Execute&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 14:56:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-24T14:56:25Z</dc:date>
    <item>
      <title>PowerShell to set Report Server refresh schedule</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827030#M11959</link>
      <description>&lt;P&gt;I am trying to use PowerShell to automate some of the more mundane tasks of day to day management of our Power BI Report Server using functions like Get-RsDataSource, Set-RsDataSource.&amp;nbsp; However, I am struggling with setting a refresh schedule in the same way.&amp;nbsp; Does anyone have any suggestions for me please?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 07:04:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827030#M11959</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T07:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell to set Report Server refresh schedule</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827611#M11960</link>
      <description>&lt;P&gt;I'm working on the same.&amp;nbsp; It should be possible, but currently am experiencing the same issue reported here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developercommunity.visualstudio.com/content/problem/760124/reporting-services-2017-rest-api-code-generated-fr.html" target="_blank"&gt;https://developercommunity.visualstudio.com/content/problem/760124/reporting-services-2017-rest-api-code-generated-fr.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The errors experience were using the client generation methods documented in the following thread by StolzHerz:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Report-Server/Swagger-URL-for-PBI-Report-Server/td-p/295076" target="_blank"&gt;https://community.powerbi.com/t5/Report-Server/Swagger-URL-for-PBI-Report-Server/td-p/295076&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Further reading here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/report-server/rest-api" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/report-server/rest-api&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/info" target="_blank"&gt;https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/info&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In oder to refresh the report, there must first be an existing report schedule.&amp;nbsp; Once that's created, you can get the id of the Cache Plan from the report:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://dbdev.livit.local/reports/api/v2.0/PowerBIReports(Path='/PowerBI_v1/Zahlungsanalyse%20(beta)')/CacheRefreshPlans" target="_blank"&gt;http://host/reports/api/v2.0/PowerBIReports(Path='{/ReportPath}')/CacheRefreshPlans&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then pass the CacheRefreshPlan id to the following "Refresh Now" API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http://host/reports/api/v2.0/CacheRefreshPlans(bf907379-5ff9-4aec-bdba-973c98b092f2)/Model.Execute&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 14:56:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827611#M11960</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T14:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell to set Report Server refresh schedule</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827630#M11961</link>
      <description>&lt;P&gt;Hi Karl&lt;/P&gt;&lt;P&gt;Thanks for this, really useful information.&amp;nbsp; Slightly different issue for me, I am just trying to create a new refresh schedule where one does not exist yet.&amp;nbsp; Not had time to check out all the references you very kindly quoted, but will get to that later this week.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 15:05:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/827630#M11961</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-24T15:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell to set Report Server refresh schedule</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/900042#M12675</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;Gday, Did you get anywhere with this? Im tring to figure out how to copy the reports (and schedules) from one PBIRS server to another. Cheers.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 00:32:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/PowerShell-to-set-Report-Server-refresh-schedule/m-p/900042#M12675</guid>
      <dc:creator>cnschulz</dc:creator>
      <dc:date>2020-01-15T00:32:43Z</dc:date>
    </item>
  </channel>
</rss>

