<?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 How Data Refresh programmatically? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2826392#M26682</link>
    <description>&lt;P&gt;Is there another way to do a data refresh for a PowerBI report (via PowerShell or Rest API, how to access the Rest API, do we enable this?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a query to check what powerBI report has failed, but in order to do the refresh, i either go to the report and do the refresh, or run the job that corresponds to the Schedule GUID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do a Data Refresh just by knowing the Catalog Item?&amp;nbsp; &amp;nbsp;Without doing a Schedule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Oct 2022 16:47:16 GMT</pubDate>
    <dc:creator>MeiSalas</dc:creator>
    <dc:date>2022-10-07T16:47:16Z</dc:date>
    <item>
      <title>How Data Refresh programmatically?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2826392#M26682</link>
      <description>&lt;P&gt;Is there another way to do a data refresh for a PowerBI report (via PowerShell or Rest API, how to access the Rest API, do we enable this?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a query to check what powerBI report has failed, but in order to do the refresh, i either go to the report and do the refresh, or run the job that corresponds to the Schedule GUID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do a Data Refresh just by knowing the Catalog Item?&amp;nbsp; &amp;nbsp;Without doing a Schedule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 16:47:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2826392#M26682</guid>
      <dc:creator>MeiSalas</dc:creator>
      <dc:date>2022-10-07T16:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: How Data Refresh programmatically?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2827641#M26690</link>
      <description>&lt;P&gt;yes to all - plus you can do it via Power Automate. You can even get more granular and refresh individual tables and even partitions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh" target="_blank"&gt;Enhanced refresh with Power BI REST API - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 21:39:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2827641#M26690</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-10-08T21:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: How Data Refresh programmatically?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2830040#M26836</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/453303"&gt;@MeiSalas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to do a Data Refresh just by knowing the Catalog Item?&amp;nbsp; &amp;nbsp;Without doing a Schedule?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, for the on-prem Report Server you can only trigger a refresh via a schedule. Note that you can create a schedule with a one off date in the past and trigger that, but there is no API to refresh with just the catalog item reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;- Power Automate is a great solution for the cloud service, but it's not a solution for the on-prem Report Server.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 06:40:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2830040#M26836</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2022-10-10T06:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How Data Refresh programmatically?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2830824#M26842</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/109790"&gt;@d_gosbell&lt;/a&gt;&amp;nbsp;noted. I never know if a question posted in the report server section is actually related to report server. The "catalog" wording should have been my hint to leave this alone as I have no experience with report server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to use the SQL scheduler?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 11:44:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2830824#M26842</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-10-10T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How Data Refresh programmatically?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2831963#M26866</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I never know if a question posted in the report server section is actually related to report server. The "catalog" wording should have been my hint to leave this alone as I have no experience with report server.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; it can be hard to tell. A lot of people do not differentiate between "Server" and "Service"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to use the SQL scheduler?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not easily, the SQL agent jobs are created with Schedule GUID so you are faced with the orignal issue of having to link a ScheduleID and a catalog item&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 19:37:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/2831963#M26866</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2022-10-10T19:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How Data Refresh programmatically?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/3097360#M29007</link>
      <description>&lt;P&gt;You can alternatively run an SQL Query to do that and call it from PowerShell. We do it directly with SQL in some agent jobs since we want to refresh after certain updates in the database for our datawarehouse. We have a custom view with all subscriptions and relative agent jobs and then it's very easy to trigger subscriptions and schedule refresh this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DECLARE @SQLAgent_Job_Name NVARCHAR(36) = (&lt;BR /&gt;SELECT [SQLAgent_Job_Name]&lt;BR /&gt;FROM [Reports].[AllSubscriptionsAndJobs]&lt;BR /&gt;WHERE ReportName = 'Your report name in Report Server / PBRS'&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;EXEC msdb.dbo.sp_start_job &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/485306"&gt;@job&lt;/a&gt;_name = @SQLAgent_Job_Name&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 12:10:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-Data-Refresh-programmatically/m-p/3097360#M29007</guid>
      <dc:creator>enricocorizza</dc:creator>
      <dc:date>2023-02-27T12:10:29Z</dc:date>
    </item>
  </channel>
</rss>

