<?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 a report using Power BI Rest API - NOT using API to refresh a report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-a-report-using-Power-BI-Rest-API-NOT-using-API-to/m-p/2055841#M31528</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7492"&gt;@collinq&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please try to connect to your REST API using Web connector, and switch to &lt;STRONG&gt;Advanced&lt;/STRONG&gt; setting page.&amp;nbsp; To add HTTP request header parameter: &lt;STRONG&gt;Authorization&lt;/STRONG&gt; just as Figure 1. The parameter value can get from the related rest API page as Figure 2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1630653725802.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/586678i746E476744743692/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1630653725802.png" alt="yingyinr_0-1630653725802.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_3-1630653941546.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/586687i039442CC7EB7FA8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_3-1630653941546.png" alt="yingyinr_3-1630653941546.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then please refer the solution in the following links to resolve the invalid credentail error.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.kloud.com.au/2018/07/23/use-anonymous-authentication-on-web-data-sources-with-a-api-key-in-url/" target="_self"&gt;&lt;STRONG&gt;Power BI: Using anonymous authentication on Web data sources with a API key in URL&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;H3&gt;&lt;FONT size="3"&gt;update the data source from API to the Proxy&lt;/FONT&gt;&lt;/H3&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Service/Anonymous-access/td-p/19136" target="_self"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Anonymous access&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2021 07:48:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-03T07:48:06Z</dc:date>
    <item>
      <title>Refresh a report using Power BI Rest API - NOT using API to refresh a report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-a-report-using-Power-BI-Rest-API-NOT-using-API-to/m-p/2049583#M31455</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a desktop report that is using the Power BI rest api.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;My desktop report has the source as&amp;nbsp;= Json.Document(Web.Contents("&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/zzzzzzee9f8-d046-3a-8ad2-ae746e17a5ec%2F/reports" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/zzzzzzee9f8-d046-3a-8ad2-ae746e17a5ec%2F/reports&lt;/A&gt;", [Headers=[Authorization="xxxxxxxx"]]))&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works fine - I am getting the list of all of the reports in that workspace.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I publish this to the Service.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand that I have to use "anonymous" but I keep getting messages like "failed to update data source credentials: the credentials provided forthe Web source are invalid...."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 18:19:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-a-report-using-Power-BI-Rest-API-NOT-using-API-to/m-p/2049583#M31455</guid>
      <dc:creator>collinq</dc:creator>
      <dc:date>2021-08-31T18:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh a report using Power BI Rest API - NOT using API to refresh a report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-a-report-using-Power-BI-Rest-API-NOT-using-API-to/m-p/2055841#M31528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7492"&gt;@collinq&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please try to connect to your REST API using Web connector, and switch to &lt;STRONG&gt;Advanced&lt;/STRONG&gt; setting page.&amp;nbsp; To add HTTP request header parameter: &lt;STRONG&gt;Authorization&lt;/STRONG&gt; just as Figure 1. The parameter value can get from the related rest API page as Figure 2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_0-1630653725802.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/586678i746E476744743692/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_0-1630653725802.png" alt="yingyinr_0-1630653725802.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yingyinr_3-1630653941546.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/586687i039442CC7EB7FA8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="yingyinr_3-1630653941546.png" alt="yingyinr_3-1630653941546.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then please refer the solution in the following links to resolve the invalid credentail error.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.kloud.com.au/2018/07/23/use-anonymous-authentication-on-web-data-sources-with-a-api-key-in-url/" target="_self"&gt;&lt;STRONG&gt;Power BI: Using anonymous authentication on Web data sources with a API key in URL&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;H3&gt;&lt;FONT size="3"&gt;update the data source from API to the Proxy&lt;/FONT&gt;&lt;/H3&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Service/Anonymous-access/td-p/19136" target="_self"&gt;&lt;STRONG&gt;&lt;SPAN&gt;Anonymous access&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 07:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-a-report-using-Power-BI-Rest-API-NOT-using-API-to/m-p/2055841#M31528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-03T07:48:06Z</dc:date>
    </item>
  </channel>
</rss>

