<?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 embedded: load report into web control in winforms application in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153241#M5181</link>
    <description>Yes it's to embed in a winforms based application.&lt;BR /&gt;&lt;BR /&gt;I believe the token expires after an hour ? How does charging/licensing work with a token that never expires, as i thought each new token generated is the used for charging purposes?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 04 Apr 2017 06:45:47 GMT</pubDate>
    <dc:creator>powerbi-oe</dc:creator>
    <dc:date>2017-04-04T06:45:47Z</dc:date>
    <item>
      <title>Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/152431#M5174</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;So I want to load a report hosted in an Azure workspace into a desktop application.&lt;BR /&gt;&lt;BR /&gt;Using the power bi cli, I've created a workspace and uploaded a pbix file. I've also got the embedurl for my report.&lt;BR /&gt;&lt;BR /&gt;All the examples I've see are using an iframe to load the report. Can I not use URL directly in a browser control on my desktop application? If so, what URL do I need to use?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 02 Apr 2017 16:16:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/152431#M5174</guid>
      <dc:creator>powerbi-oe</dc:creator>
      <dc:date>2017-04-02T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153153#M5176</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt; wrote:&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;So I want to load a report hosted in an Azure workspace into a desktop application.&lt;BR /&gt;&lt;BR /&gt;Using the power bi cli, I've created a workspace and uploaded a pbix file. I've also got the embedurl for my report.&lt;BR /&gt;&lt;BR /&gt;All the examples I've see are using an iframe to load the report. Can I not use URL directly in a browser control on my desktop application? If so, what URL do I need to use?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It is not possible to access a URL to visit reports in Power BI Embedded. When embeding a report, besides the embed URL, a token is required for authentication purpose.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One exception is &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-service-publish-to-web/" target="_self"&gt;Publish to web&lt;/A&gt; in Power BI Service, as it is public so no authentication required. The reports can be accessed via a single URL, any one who has that URL can access the reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 02:48:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153153#M5176</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-04-04T02:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153190#M5178</link>
      <description>I've managed to create a static HTML on disk and using the power bi JavaScript library load the report. I can then load the html file into a web browser control on a form.</description>
      <pubDate>Tue, 04 Apr 2017 05:41:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153190#M5178</guid>
      <dc:creator>powerbi-oe</dc:creator>
      <dc:date>2017-04-04T05:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153233#M5180</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt; wrote:&lt;BR /&gt;I've managed to create a static HTML on disk and using the power bi JavaScript library load the report. I can then load the html file into a web browser control on a form.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You can do that but the embed token may expire. Although a token never expires can be generated but it is not recommended.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 06:34:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153233#M5180</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-04-04T06:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153241#M5181</link>
      <description>Yes it's to embed in a winforms based application.&lt;BR /&gt;&lt;BR /&gt;I believe the token expires after an hour ? How does charging/licensing work with a token that never expires, as i thought each new token generated is the used for charging purposes?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 04 Apr 2017 06:45:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153241#M5181</guid>
      <dc:creator>powerbi-oe</dc:creator>
      <dc:date>2017-04-04T06:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153246#M5182</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt; wrote:&lt;BR /&gt;Yes it's to embed in a winforms based application.&lt;BR /&gt;&lt;BR /&gt;I believe the token expires after an hour ? How does charging/licensing work with a token that never expires, as i thought each new token generated is the used for charging purposes?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;How do you get your token at this moment?&lt;/P&gt;
&lt;P&gt;Regarding a token never expires, check &lt;A href="https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app/search?utf8=%E2%9C%93&amp;amp;q=CreateReportEmbedToken&amp;amp;type=" target="_self"&gt;the sample in github&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var embedToken = PowerBIToken.CreateReportEmbedToken(this.workspaceCollection, this.workspaceId, report.Id,Convert.ToDateTime("2099-12-31"));&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Apr 2017 06:50:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153246#M5182</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-04-04T06:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153268#M5183</link>
      <description>&lt;P&gt;I'm using the power bi CLI tool (&lt;A href="https://github.com/Microsoft/PowerBI-Cli" target="_blank"&gt;https://github.com/Microsoft/PowerBI-Cli&lt;/A&gt;) to upload my pbix into a Azure workspace and then generate the required tokens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that makes sense? And thanks for your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 07:43:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153268#M5183</guid>
      <dc:creator>powerbi-oe</dc:creator>
      <dc:date>2017-04-04T07:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153300#M5184</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If the "create-embed-token" doesn't accept an expire date parameter in your link, I'm afraid you'll have to download the git sample in my previous reply and following &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-get-started-sample" target="_self"&gt;this tutorial&lt;/A&gt;. Then change the code by adding an extra parameter in the sample to get a token never expires.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 08:32:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153300#M5184</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-04-04T08:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153302#M5185</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6971" data-lia-user-login="Eric_Zhang" class="lia-mention lia-mention-user"&gt;Eric_Zhang&lt;/a&gt;&amp;nbsp;Thanks will take a look. Re my question on charging. Looking at charging again, this in done each time a session is generated or after an hour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"A&lt;SPAN&gt; session is a set of interactions between an end user and a Power BI Embedded report. Each time a Power BI Embedded report is displayed to a user, a session is initiated and the subscription holder will be charged for a session. Sessions are billed at a flat rate, independent of the number of visual elements in a report or how frequently the report content is refreshed. A session ends either when the user closes the report, or one hour after the session was initiated, whichever comes first."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this hour tied to the report token which also lives for an hour ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 08:38:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/153302#M5185</guid>
      <dc:creator>powerbi-oe</dc:creator>
      <dc:date>2017-04-04T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/160209#M5388</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6971" data-lia-user-login="Eric_Zhang" class="lia-mention lia-mention-user"&gt;Eric_Zhang&lt;/a&gt;&amp;nbsp;Thanks will take a look. Re my question on charging. Looking at charging again, this in done each time a session is generated or after an hour.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"A&lt;SPAN&gt; session is a set of interactions between an end user and a Power BI Embedded report. Each time a Power BI Embedded report is displayed to a user, a session is initiated and the subscription holder will be charged for a session. Sessions are billed at a flat rate, independent of the number of visual elements in a report or how frequently the report content is refreshed. A session ends either when the user closes the report, or one hour after the session was initiated, whichever comes first."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is this hour tied to the report token which also lives for an hour ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="23978" data-lia-user-login="powerbi-oe" class="lia-mention lia-mention-user"&gt;powerbi-oe&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;AFAIK, the token is independent of the session. The token is used to access the reports, it can be expired in one or more hours.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 06:58:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/160209#M5388</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-04-18T06:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI embedded: load report into web control in winforms application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/1145767#M24057</link>
      <description>&lt;P&gt;Hi, I was wanting to try something similar. Was planning to pass credentials through an http request as put the response in the browsercontrol - could this work? If not, could you explain your method, eg what you use the JavaScript for? Many thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jun 2020 08:53:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-embedded-load-report-into-web-control-in-winforms/m-p/1145767#M24057</guid>
      <dc:creator>JMOed</dc:creator>
      <dc:date>2020-06-07T08:53:31Z</dc:date>
    </item>
  </channel>
</rss>

