<?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: Refresh Execution Details API status 405 in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2493486#M35898</link>
    <description>&lt;P&gt;Is the service principal admin for the workspace where dataset is?&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 13:09:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-05-04T13:09:07Z</dc:date>
    <item>
      <title>Refresh Execution Details API status 405</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2472075#M35653</link>
      <description>&lt;P&gt;I am testing the REST call for&amp;nbsp;Refresh Execution Details in PowerBI and getting a 405 Method not Allowed. I understand that this endpoint does not work for scheduled and manual refreshes. But I am trying to do an asynchronous refresh with this API&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh#post-refreshes" target="_blank" rel="noopener"&gt;Asynchronous refresh with the Power BI REST API - Power BI | Microsoft Docs&lt;/A&gt;&amp;nbsp;(POST /refreshes) using Postman. This refresh shows as refreshType: ViaApi. I try to get this refresh execution details (via Postman) and get the same response and error as the scheduled and manual refreshes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nahimmtv_0-1650645144263.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/703766i2F7B674FF130C024/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nahimmtv_0-1650645144263.png" alt="nahimmtv_0-1650645144263.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something? Is ViaApi not an Asynchronous refresh?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 16:33:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2472075#M35653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-22T16:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Execution Details API status 405</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2474468#M35692</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ViaApi indicates refresh was triggered by an API call. I think Get Refresh Execution Rest API returns execution details of an&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/connect-data/asynchronous-refresh" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;asynchronous refresh operation&lt;/A&gt;&amp;nbsp;for the specified dataset from the specified workspace.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For reference:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-execution-details" target="_self"&gt;Datasets - Get Refresh Execution Details&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-execution-details-in-group" target="_self"&gt;Datasets - Get Refresh Execution Details In Group&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please make sure&amp;nbsp;Asynchronous refresh has completed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please make sure the app you use to get token has&amp;nbsp;Dataset.ReadWrite.All or Dataset.Read.All.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.ionos.com/digitalguide/hosting/technical-matters/error-405-method-not-allowed-explanation-and-solutions/" target="_self"&gt;HTTP Error “405 Method Not Allowed”: How to solve the problem&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 09:35:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2474468#M35692</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-25T09:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Execution Details API status 405</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2475113#M35703</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;what kind of request are you using to get infromations about refresh? I'm using&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes/{refreshId" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes/{refreshId&lt;/A&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-execution-details-in-group," target="_blank"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-execution-details-in-group,&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sometime we get error with this API when there was mistake in JSON body for refresh api.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:41:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2475113#M35703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-25T13:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Execution Details API status 405</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2491469#M35883</link>
      <description>&lt;P&gt;Hi Marky,&lt;/P&gt;&lt;P&gt;Thanks for the insight!&lt;/P&gt;&lt;P&gt;Yes I am using a service principal with&amp;nbsp;&lt;SPAN&gt;Dataset.ReadWrite.All and Dataset.Read.All permissions. I actually use that one to get the refresh history via the api and works just fine. The problem comes when I use the request you posted here (&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/%7BgroupId%7D/datasets/%7BdatasetId%7D/refreshes/%7BrefreshId" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/refreshes/{refreshId&lt;/A&gt;})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am still facing this issue&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 17:08:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2491469#M35883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-03T17:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Execution Details API status 405</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2493486#M35898</link>
      <description>&lt;P&gt;Is the service principal admin for the workspace where dataset is?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 13:09:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/2493486#M35898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-04T13:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Execution Details API status 405</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/3060212#M41025</link>
      <description>&lt;P&gt;Hi, this question was never solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my experience, you cannot get the execution details of 'ViaApi' refreshes. Only 'ViaEnhancedApi' refreshes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps, I never found any information about this (I'm not saying there is not information) but in my experience this is what I discovered.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 11:40:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-Execution-Details-API-status-405/m-p/3060212#M41025</guid>
      <dc:creator>ljt5</dc:creator>
      <dc:date>2023-02-03T11:40:01Z</dc:date>
    </item>
  </channel>
</rss>

