<?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: Power Bi access token in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/191061#M6069</link>
    <description>&lt;P&gt;perfect !&lt;BR /&gt;Thats exactly what i figured out later !&lt;BR /&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I went on a step further and created a page where i perform the oauth just once if there is a redeployment and then access_token and refresh_token takes care of everything else !&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2017 06:57:49 GMT</pubDate>
    <dc:creator>shivprasads</dc:creator>
    <dc:date>2017-06-09T06:57:49Z</dc:date>
    <item>
      <title>Power Bi access token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/186243#M5932</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I need to generate a token for embedding power bi report, but i am not using power bi embed for this and I wont be performing authorization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;since its not power bi embed,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id,"username",new string[] { "role1", "role2", "role3" });&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;isnt helping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how do i go abt this, I got the embed url for the report but a valid access token is a must.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 14:45:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/186243#M5932</guid>
      <dc:creator>shivprasads</dc:creator>
      <dc:date>2017-06-01T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi access token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/190943#M6067</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/15791"&gt;@shivprasads&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I need to generate a token for embedding power bi report, but i am not using power bi embed for this and I wont be performing authorization.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;since its not power bi embed,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id,"username",new string[] { "role1", "role2", "role3" });&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;isnt helping.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how do i go abt this, I got the embed url for the report but a valid access token is a must.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/15791"&gt;@shivprasads&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;To get a valid access token to embed reports from Power BI Service, you could see such a &lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples/search?utf8=%E2%9C%93&amp;amp;q=AcquireTokenAsync&amp;amp;type=" target="_self"&gt;repo in github&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;You can also see this &lt;A href="https://community.powerbi.com/t5/Developer/Access-Power-BI-API-with-Python/m-p/190087#M6029" target="_self"&gt;thread&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 03:08:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/190943#M6067</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-06-09T03:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi access token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/191061#M6069</link>
      <description>&lt;P&gt;perfect !&lt;BR /&gt;Thats exactly what i figured out later !&lt;BR /&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I went on a step further and created a page where i perform the oauth just once if there is a redeployment and then access_token and refresh_token takes care of everything else !&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 06:57:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-access-token/m-p/191061#M6069</guid>
      <dc:creator>shivprasads</dc:creator>
      <dc:date>2017-06-09T06:57:49Z</dc:date>
    </item>
  </channel>
</rss>

