<?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: Unable to get embed token for embeding reports in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294726#M8705</link>
    <description>&lt;P&gt;Hi, I have been finding issues in generating the embed token for javascript embeding of report. I have registered an app on Azure portal and got Client id and secret but unable to figure out what to do do next in order to get Embed token.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 05:12:22 GMT</pubDate>
    <dc:creator>pragati2405</dc:creator>
    <dc:date>2017-11-02T05:12:22Z</dc:date>
    <item>
      <title>Unable to get embed token for embeding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294729#M8702</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I have been finding issues in generating the embed token for javascript embeding of report. I have registered an app on Azure portal and got Client id and secret but unable to figure out what to do do next in order to get Embed token.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 05:24:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294729#M8702</guid>
      <dc:creator>pragati2405</dc:creator>
      <dc:date>2017-11-02T05:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get embed token for embeding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294478#M8706</link>
      <description>&lt;P&gt;&amp;nbsp;I registered an app on Azure portal and got the client id and secret but cannot figure out how to get the Embed token.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 17:49:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294478#M8706</guid>
      <dc:creator>pragati2405</dc:creator>
      <dc:date>2017-11-01T17:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get embed token for embeding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294724#M8704</link>
      <description>&lt;P&gt;Hi, I have been finding issues in generating the embed token for javascript embeding of report. I have registered an app on Azure portal and got Client id and secret but unable to figure out what to do do next in order to get Embed token.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 05:09:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294724#M8704</guid>
      <dc:creator>pragati2405</dc:creator>
      <dc:date>2017-11-02T05:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get embed token for embeding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294726#M8705</link>
      <description>&lt;P&gt;Hi, I have been finding issues in generating the embed token for javascript embeding of report. I have registered an app on Azure portal and got Client id and secret but unable to figure out what to do do next in order to get Embed token.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 05:12:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/294726#M8705</guid>
      <dc:creator>pragati2405</dc:creator>
      <dc:date>2017-11-02T05:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get embed token for embeding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/295292#M8703</link>
      <description>&lt;P&gt;It sounds like you are trying to embed from the Power BI service, this forum is specific to Power BI On-Prem. You can post your question to the Power BI developer forum here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Developer/bd-p/Developer" target="_self"&gt;https://community.powerbi.com/t5/Developer/bd-p/Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They should be able to point you in the right direction.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:50:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/295292#M8703</guid>
      <dc:creator>mgmeyer</dc:creator>
      <dc:date>2017-11-02T15:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get embed token for embeding reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/295805#M8710</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="45880" data-lia-user-login="pragati2405" class="lia-mention lia-mention-user"&gt;pragati2405&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I have been finding issues in generating the embed token for javascript embeding of report. I have registered an app on Azure portal and got Client id and secret but unable to figure out what to do do next in order to get Embed token.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="45880" data-lia-user-login="pragati2405" class="lia-mention lia-mention-user"&gt;pragati2405&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;To get the embed token, you can reference the code in &lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples/blob/master/User%20Owns%20Data/integrate-dashboard-web-app/PBIWebApp/redirect.aspx.cs" target="_self"&gt;redirect.aspx.cs&lt;/A&gt;&amp;nbsp;in the lib&amp;nbsp;&lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples/tree/master/User%20Owns%20Data" target="_self"&gt;Users Owns Data&lt;/A&gt; in Github. You can download the whole C# project and open it in Visual Studio to play and test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively in other language, you can call a POST API as below.&lt;/P&gt;
&lt;PRE&gt;POST /common/oauth2/token HTTP/1.1
Host: login.windows.net
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache

client_secret={your client secret}&amp;amp;client_id={your client id}&amp;amp;grant_type=password&amp;amp;resource=https%3A%2F%2Fanalysis.windows.net%2Fpowerbi%2Fapi&amp;amp;username={your Power BI account}&amp;amp;password={your Power BI password}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2017 09:09:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Unable-to-get-embed-token-for-embeding-reports/m-p/295805#M8710</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-11-03T09:09:00Z</dc:date>
    </item>
  </channel>
</rss>

