<?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 Embed token maximum timeout in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-maximum-timeout/m-p/592448#M18045</link>
    <description>&lt;P&gt;I am trying to set the maximum timeout for embed token using C#, can someone tell me if it possible to change it from default 1 hour?&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2018 10:11:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-28T10:11:41Z</dc:date>
    <item>
      <title>Embed token maximum timeout</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-maximum-timeout/m-p/592448#M18045</link>
      <description>&lt;P&gt;I am trying to set the maximum timeout for embed token using C#, can someone tell me if it possible to change it from default 1 hour?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 10:11:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-token-maximum-timeout/m-p/592448#M18045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-28T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Embed token maximum timeout</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embed-token-maximum-timeout/m-p/593020#M18057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you can. You need to configure it in the Azure. Please refer to&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes#example-manage-an-organizations-default-policy" target="_self"&gt;active-directory-configurable-token-lifetimes#example-manage-an-organizations-default-policy&lt;/A&gt;. I tried it like below successfully.&lt;/P&gt;
&lt;PRE&gt;New-AzureADPolicy -Definition @('{"TokenLifetimePolicy":{"Version":1,"AccessTokenLifetime":"&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;02:00:00&lt;/STRONG&gt;&lt;/FONT&gt;","MaxAgeSessionSingleFactor":"&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;02:00:00&lt;/STRONG&gt;&lt;/FONT&gt;","MaxInac
tiveTime":"30.00:00:00","MaxAgeMultiFactor":"until-revoked","MaxAgeSingleFactor":"180.00:00:00"}}') -DisplayName "WebApiDefaultPolicyScenario" -IsOrganizationDefault $true -
Type "TokenLifetimePolicy"&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://ibb.co/4JV2vrB" target="_blank"&gt;&lt;IMG src="https://ip1.i.lithium.com/ff8d9e75e5e285c32d10426954dde23165b88e94/68747470733a2f2f692e6962622e636f2f38583762765a462f456d6265642d746f6b656e2d6d6178696d756d2d74696d656f75742e706e67" border="0" alt="Embed-token-maximum-timeout" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Dale&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 08:44:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embed-token-maximum-timeout/m-p/593020#M18057</guid>
      <dc:creator>v-jiascu-msft</dc:creator>
      <dc:date>2018-12-31T08:44:40Z</dc:date>
    </item>
  </channel>
</rss>

