<?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 Embedded: Embed Token Expiration? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56310#M1776</link>
    <description>&lt;P&gt;Well you can set the expiration span as it's described here:&amp;nbsp;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/&lt;/A&gt; (search for exp). But my question is more about best practices around how the embedding application can catch a situation where the report embed token has already expired and must be refreshed. Currently when you hit a dashboard where the token has already expired it just shows ugly errors.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Aug 2016 14:48:36 GMT</pubDate>
    <dc:creator>daniel12</dc:creator>
    <dc:date>2016-08-07T14:48:36Z</dc:date>
    <item>
      <title>PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/54535#M1706</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;simple question: PowerBI embedded embed tokens require to specify a time span for validity of the tokens. What is the best practice for the time span - eg. can I simply set the validity (exp: claim in JWT token) to large values like +8 hours to minimize issues with expiring tokens? How can an application embedding PowerBI embedded react to expired tokens? Currently when a token expires I seem to just get a "content is not available" from PowerBI. Any insights are highly welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 19:48:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/54535#M1706</guid>
      <dc:creator>daniel12</dc:creator>
      <dc:date>2016-08-01T19:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56171#M1770</link>
      <description>&lt;P&gt;There seems not way to change the expiration span, the demo shows it in 5 mintues.&lt;/P&gt;&lt;P&gt;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-what-is-power-bi-embedded/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-what-is-power-bi-embedded/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2016 07:19:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56171#M1770</guid>
      <dc:creator>KumarDarmesh</dc:creator>
      <dc:date>2016-08-06T07:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56310#M1776</link>
      <description>&lt;P&gt;Well you can set the expiration span as it's described here:&amp;nbsp;&lt;A href="https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/" target="_blank"&gt;https://azure.microsoft.com/en-us/documentation/articles/power-bi-embedded-app-token-flow/&lt;/A&gt; (search for exp). But my question is more about best practices around how the embedding application can catch a situation where the report embed token has already expired and must be refreshed. Currently when you hit a dashboard where the token has already expired it just shows ugly errors.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Aug 2016 14:48:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56310#M1776</guid>
      <dc:creator>daniel12</dc:creator>
      <dc:date>2016-08-07T14:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56587#M1788</link>
      <description>&lt;P&gt;It is normally best to keep the token as short as needed. One hour is usually standard. This is just in case the tokens happen to leak out. There are good reasons why you may want to make them longer; 2 - 8+ hours. It really depends on the scenario and how much of a risk long lived tokens would be for you.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 16:45:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/56587#M1788</guid>
      <dc:creator>jocaplan-MSFT</dc:creator>
      <dc:date>2016-08-08T16:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/59107#M1866</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11164"&gt;@daniel12﻿&lt;/a&gt;&amp;nbsp; did you find out a way to prevent the ugly errors? &amp;nbsp;Here's what my embedded site looks like after a short time (sometimes 3 minutes--sometimes somewhat longer) if I select a new report tab. &amp;nbsp;Spectacularly awful, no? &amp;nbsp;Any ideas here?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/11350i94BC736459E8CBC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 13:42:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/59107#M1866</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-16T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/59160#M1874</link>
      <description>&lt;P&gt;In a server generated app you can get around this by generating a token for each render of the page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a single page app (SPA) - one option is to set a client-side timer on your page/view that is shorter than your token expiration. &amp;nbsp;At that point you can regenerate the token and reload the report passing in the new access token.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:57:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/59160#M1874</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-16T15:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/4267273#M58107</link>
      <description>&lt;P&gt;I am using the example from Github 'Embed for your customers' - .Net Core version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to renew the token and apply it to the report without having to reload the whole page, using JavaScript running in an ASP.Net Core website with an iFrame containg the report?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 17:23:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/4267273#M58107</guid>
      <dc:creator>PowerBIUserHoop</dc:creator>
      <dc:date>2024-11-01T17:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/4267954#M58121</link>
      <description>&lt;P&gt;Please see this article regarding refreshing the token without page reload&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/refresh-token" target="_blank"&gt;Refresh the access token in Power BI embedded analytics | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Is it available for PBIX reports, not for paginated reports&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 09:20:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/4267954#M58121</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2024-11-03T09:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embedded: Embed Token Expiration?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/4268963#M58128</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at this article, but the &lt;SPAN&gt;getNewUserAccessToken(reportId, groupId) doesn't appear to be accessible.&amp;nbsp; An error message indicating that the funtion doesn't exist is displayed in the console.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a link which I should be including for a reference to that funtion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 10:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embedded-Embed-Token-Expiration/m-p/4268963#M58128</guid>
      <dc:creator>PowerBIUserHoop</dc:creator>
      <dc:date>2024-11-04T10:15:18Z</dc:date>
    </item>
  </channel>
</rss>

