<?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 Modify the Expiration of Embed Access Token in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Modify-the-Expiration-of-Embed-Access-Token/m-p/4104703#M54822</link>
    <description>&lt;P&gt;Hi Microsoft Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to modify the &lt;A href="https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/refresh-token" target="_self"&gt;expiration&lt;/A&gt; of the access token for embed URL from one hour to say 30 mins or no expiration?&lt;/P&gt;&lt;P&gt;I'm currently using the &lt;A href="https://learn.microsoft.com/en-us/power-bi/guidance/powerbi-implementation-planning-usage-scenario-embed-for-your-customers" target="_self"&gt;Embed for Your Customers&lt;/A&gt; method, as this is for customers outside the organization who do not have PowerBI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 17:09:33 GMT</pubDate>
    <dc:creator>fxs7576_02</dc:creator>
    <dc:date>2024-08-16T17:09:33Z</dc:date>
    <item>
      <title>Modify the Expiration of Embed Access Token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Modify-the-Expiration-of-Embed-Access-Token/m-p/4104703#M54822</link>
      <description>&lt;P&gt;Hi Microsoft Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to modify the &lt;A href="https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/refresh-token" target="_self"&gt;expiration&lt;/A&gt; of the access token for embed URL from one hour to say 30 mins or no expiration?&lt;/P&gt;&lt;P&gt;I'm currently using the &lt;A href="https://learn.microsoft.com/en-us/power-bi/guidance/powerbi-implementation-planning-usage-scenario-embed-for-your-customers" target="_self"&gt;Embed for Your Customers&lt;/A&gt; method, as this is for customers outside the organization who do not have PowerBI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 17:09:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Modify-the-Expiration-of-Embed-Access-Token/m-p/4104703#M54822</guid>
      <dc:creator>fxs7576_02</dc:creator>
      <dc:date>2024-08-16T17:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Modify the Expiration of Embed Access Token</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Modify-the-Expiration-of-Embed-Access-Token/m-p/4105944#M54830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="765878" data-lia-user-login="fxs7576_02" class="lia-mention lia-mention-user"&gt;fxs7576_02&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, there are some&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/generate-embed-token#considerations-and-limitations" target="_self"&gt;Considerations and limitations for Embed token&lt;/A&gt;.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;For security reasons, the lifetime of the embed token is set to the remaining lifetime of the Microsoft Entra token used to call the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;GenerateToken&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;API. Therefore, if you use the same Microsoft Entra token to generate several embed tokens, the lifetime of the generated embed tokens will be shorter with each call.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You may try to more details about access token and token lifetime.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-tokens?tabs=embed-for-customers#microsoft-entra-token" target="_self"&gt;Microsoft Entra token&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/entra/identity-platform/configurable-token-lifetimes#token-lifetime-policies-for-access-saml-and-id-tokens" target="_self"&gt;Configurable token lifetimes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/entra/identity-platform/access-tokens#token-lifetime" target="_self"&gt;Access tokens in the Microsoft identity platform&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/active-directory-b2c/configure-tokens?pivots=b2c-user-flow" target="_blank"&gt;Configure tokens - Azure Active Directory B2C | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 02:13:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Modify-the-Expiration-of-Embed-Access-Token/m-p/4105944#M54830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T02:13:12Z</dc:date>
    </item>
  </channel>
</rss>

