<?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: Powerbi Rest API PHP: Get access token in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Powerbi-Rest-API-PHP-Get-access-token/m-p/1481020#M26394</link>
    <description>&lt;P&gt;Add&amp;nbsp;CURLOPT_RETURNTRANSFER&amp;nbsp;&amp;nbsp;=&amp;gt;&amp;nbsp;true in options Array of cURL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CURLOPT_URL&amp;nbsp;=&amp;gt;&amp;nbsp;"&lt;A href="https://login.windows.net/common/oauth2/token" target="_blank" rel="noopener"&gt;https://login.windows.net/common/oauth2/token&lt;/A&gt;",&lt;/P&gt;&lt;P&gt;CURLOPT_RETURNTRANSFER&amp;nbsp;=&amp;gt;&amp;nbsp;true,&lt;/P&gt;&lt;P&gt;CURLOPT_ENCODING&amp;nbsp;=&amp;gt;&amp;nbsp;"",&lt;/P&gt;&lt;P&gt;CURLOPT_MAXREDIRS&amp;nbsp;=&amp;gt;&amp;nbsp;10,&lt;/P&gt;&lt;P&gt;CURLOPT_TIMEOUT&amp;nbsp;=&amp;gt;&amp;nbsp;30,&lt;/P&gt;&lt;P&gt;CURLOPT_HTTP_VERSION&amp;nbsp;=&amp;gt;&amp;nbsp;CURL_HTTP_VERSION_1_1,&lt;/P&gt;&lt;P&gt;CURLOPT_CUSTOMREQUEST&amp;nbsp;=&amp;gt;&amp;nbsp;"POST",&lt;/P&gt;&lt;P&gt;CURLOPT_POSTFIELDS&amp;nbsp;=&amp;gt;&amp;nbsp;Array(&lt;/P&gt;&lt;P&gt;'grant_type'&amp;nbsp;=&amp;gt;&amp;nbsp;'password',&lt;/P&gt;&lt;P&gt;'scope'&amp;nbsp;=&amp;gt;&amp;nbsp;'openid',&lt;/P&gt;&lt;P&gt;'resource'&amp;nbsp;=&amp;gt;&amp;nbsp;'&lt;A href="https://analysis.windows.net/powerbi/api" target="_blank" rel="noopener"&gt;https://analysis.windows.net/powerbi/api&lt;/A&gt;',&lt;/P&gt;&lt;P&gt;'client_id'&amp;nbsp;=&amp;gt;&amp;nbsp;'',&amp;nbsp;// Registered App ApplicationID&lt;/P&gt;&lt;P&gt;'username'&amp;nbsp;=&amp;gt;&amp;nbsp;'',&amp;nbsp;// for example john.doe@yourdomain.com&lt;/P&gt;&lt;P&gt;'password'&amp;nbsp;=&amp;gt;&amp;nbsp;''&amp;nbsp;// Azure password for above user&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
    <pubDate>Sun, 08 Nov 2020 13:52:20 GMT</pubDate>
    <dc:creator>viniciusosousa</dc:creator>
    <dc:date>2020-11-08T13:52:20Z</dc:date>
    <item>
      <title>Powerbi Rest API PHP: Get access token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powerbi-Rest-API-PHP-Get-access-token/m-p/961927#M22610</link>
      <description>&lt;P&gt;I am using powerbi rest api in php to get the acces token via curl. I am following this tutorial&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.msbiblog.com/2018/01/12/power-bi-embedded-example-using-curl-and-php/" target="_blank"&gt;https://www.msbiblog.com/2018/01/12/power-bi-embedded-example-using-curl-and-php/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However it returns nothing , No error or warning is shown&lt;/P&gt;&lt;P&gt;Kindly advice me&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 09:49:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powerbi-Rest-API-PHP-Get-access-token/m-p/961927#M22610</guid>
      <dc:creator>nazishzehra</dc:creator>
      <dc:date>2020-03-06T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Powerbi Rest API PHP: Get access token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Powerbi-Rest-API-PHP-Get-access-token/m-p/1481020#M26394</link>
      <description>&lt;P&gt;Add&amp;nbsp;CURLOPT_RETURNTRANSFER&amp;nbsp;&amp;nbsp;=&amp;gt;&amp;nbsp;true in options Array of cURL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CURLOPT_URL&amp;nbsp;=&amp;gt;&amp;nbsp;"&lt;A href="https://login.windows.net/common/oauth2/token" target="_blank" rel="noopener"&gt;https://login.windows.net/common/oauth2/token&lt;/A&gt;",&lt;/P&gt;&lt;P&gt;CURLOPT_RETURNTRANSFER&amp;nbsp;=&amp;gt;&amp;nbsp;true,&lt;/P&gt;&lt;P&gt;CURLOPT_ENCODING&amp;nbsp;=&amp;gt;&amp;nbsp;"",&lt;/P&gt;&lt;P&gt;CURLOPT_MAXREDIRS&amp;nbsp;=&amp;gt;&amp;nbsp;10,&lt;/P&gt;&lt;P&gt;CURLOPT_TIMEOUT&amp;nbsp;=&amp;gt;&amp;nbsp;30,&lt;/P&gt;&lt;P&gt;CURLOPT_HTTP_VERSION&amp;nbsp;=&amp;gt;&amp;nbsp;CURL_HTTP_VERSION_1_1,&lt;/P&gt;&lt;P&gt;CURLOPT_CUSTOMREQUEST&amp;nbsp;=&amp;gt;&amp;nbsp;"POST",&lt;/P&gt;&lt;P&gt;CURLOPT_POSTFIELDS&amp;nbsp;=&amp;gt;&amp;nbsp;Array(&lt;/P&gt;&lt;P&gt;'grant_type'&amp;nbsp;=&amp;gt;&amp;nbsp;'password',&lt;/P&gt;&lt;P&gt;'scope'&amp;nbsp;=&amp;gt;&amp;nbsp;'openid',&lt;/P&gt;&lt;P&gt;'resource'&amp;nbsp;=&amp;gt;&amp;nbsp;'&lt;A href="https://analysis.windows.net/powerbi/api" target="_blank" rel="noopener"&gt;https://analysis.windows.net/powerbi/api&lt;/A&gt;',&lt;/P&gt;&lt;P&gt;'client_id'&amp;nbsp;=&amp;gt;&amp;nbsp;'',&amp;nbsp;// Registered App ApplicationID&lt;/P&gt;&lt;P&gt;'username'&amp;nbsp;=&amp;gt;&amp;nbsp;'',&amp;nbsp;// for example john.doe@yourdomain.com&lt;/P&gt;&lt;P&gt;'password'&amp;nbsp;=&amp;gt;&amp;nbsp;''&amp;nbsp;// Azure password for above user&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 13:52:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Powerbi-Rest-API-PHP-Get-access-token/m-p/1481020#M26394</guid>
      <dc:creator>viniciusosousa</dc:creator>
      <dc:date>2020-11-08T13:52:20Z</dc:date>
    </item>
  </channel>
</rss>

