<?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: API calls no longer working in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/449966#M13824</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3732"&gt;@kirby&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That might be the changes or the issues of AAD.&amp;nbsp;According to the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-oauth-code#use-the-authorization-code-to-request-an-access-token" target="_self"&gt;#use-the-authorization-code-to-request-an-access-token&lt;/A&gt;, the grant_type should be&amp;nbsp;&lt;SPAN&gt;authorization_code. Please check it out. Please also refer to the below posts for the similar approaches.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/programmatic-data-refresh-using-api/m-p/223051#M7045" target="_self"&gt;https://community.powerbi.com/t5/Developer/programmatic-data-refresh-using-api/m-p/223051#M7045&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/Authentication-in-Powershell-and-API-to-update-a-dataset/td-p/229470" target="_self"&gt;https://community.powerbi.com/t5/Developer/Authentication-in-Powershell-and-API-to-update-a-dataset/td-p/229470&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/walkthrough-push-data-get-token" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/developer/walkthrough-push-data-get-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 05:53:34 GMT</pubDate>
    <dc:creator>v-jiascu-msft</dc:creator>
    <dc:date>2018-06-28T05:53:34Z</dc:date>
    <item>
      <title>API calls no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/448851#M13800</link>
      <description>&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been using the auth URL below to authenticate against the Power BI API (Using Powershell) for months now and yesterday it just stopped working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://login.microsoftonline.com/common/oauth2/token" target="_blank"&gt;https://login.microsoftonline.com/common/oauth2/token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I now receive the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The remote server returned an error: (400) Bad Request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to debug the call in Postman and it appears the grant_type parameter is not being validated correctly. Even though it is specified, I always receive the error:&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="Power BI API Error.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/103363i4AF3E2561C99C213/image-size/large?v=v2&amp;amp;px=999" role="button" title="Power BI API Error.png" alt="Power BI API Error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please could this be investigated as none of my Power BI refreshes are currently running&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 02:03:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/448851#M13800</guid>
      <dc:creator>kirby</dc:creator>
      <dc:date>2018-06-27T02:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: API calls no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/449966#M13824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3732"&gt;@kirby&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That might be the changes or the issues of AAD.&amp;nbsp;According to the&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-oauth-code#use-the-authorization-code-to-request-an-access-token" target="_self"&gt;#use-the-authorization-code-to-request-an-access-token&lt;/A&gt;, the grant_type should be&amp;nbsp;&lt;SPAN&gt;authorization_code. Please check it out. Please also refer to the below posts for the similar approaches.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1.&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/programmatic-data-refresh-using-api/m-p/223051#M7045" target="_self"&gt;https://community.powerbi.com/t5/Developer/programmatic-data-refresh-using-api/m-p/223051#M7045&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Developer/Authentication-in-Powershell-and-API-to-update-a-dataset/td-p/229470" target="_self"&gt;https://community.powerbi.com/t5/Developer/Authentication-in-Powershell-and-API-to-update-a-dataset/td-p/229470&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/walkthrough-push-data-get-token" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/developer/walkthrough-push-data-get-token&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Best Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: 'Segoe UI'; font-size: 10.5pt; color: #333333;"&gt;Dale&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 05:53:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/449966#M13824</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-06-28T05:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: API calls no longer working</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/450085#M13835</link>
      <description>&lt;P&gt;Hi Dale&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the info. I did visit most of these sites yesterday but without any luck. I tried the same thing now and it seems to be working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 07:39:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/API-calls-no-longer-working/m-p/450085#M13835</guid>
      <dc:creator>kirby</dc:creator>
      <dc:date>2018-06-28T07:39:04Z</dc:date>
    </item>
  </channel>
</rss>

