<?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 Refresh token In embedding reports from Power BI Service in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-token-In-embedding-reports-from-Power-BI-Service/m-p/189128#M6035</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like the generated refresh token that comes with the access token expires in 1h like the access token (I am using the AcquireTokenByAuthorizationCodeAsync), so I have to request a new access token, what is the right way to request a refresh token? or is it allowed to extend the lifetime of an Azure refresh token and how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you...&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 18:04:27 GMT</pubDate>
    <dc:creator>cyan</dc:creator>
    <dc:date>2017-06-06T18:04:27Z</dc:date>
    <item>
      <title>Refresh token In embedding reports from Power BI Service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-token-In-embedding-reports-from-Power-BI-Service/m-p/189128#M6035</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like the generated refresh token that comes with the access token expires in 1h like the access token (I am using the AcquireTokenByAuthorizationCodeAsync), so I have to request a new access token, what is the right way to request a refresh token? or is it allowed to extend the lifetime of an Azure refresh token and how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 18:04:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-token-In-embedding-reports-from-Power-BI-Service/m-p/189128#M6035</guid>
      <dc:creator>cyan</dc:creator>
      <dc:date>2017-06-06T18:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh token In embedding reports from Power BI Service</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Refresh-token-In-embedding-reports-from-Power-BI-Service/m-p/191071#M6070</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32273"&gt;@cyan&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems like the generated refresh token that comes with the access token expires in 1h like the access token (I am using the AcquireTokenByAuthorizationCodeAsync), so I have to request a new access token, what is the right way to request a refresh token? or is it allowed to extend the lifetime of an Azure refresh token and how?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you...&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/32273"&gt;@cyan&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;By defautl the refresh token lifetime is 90 days, see &lt;A href="https://docs.microsoft.com/en-us/azure/active-directory/active-directory-configurable-token-lifetimes" target="_self"&gt;Configurable token lifetimes in Azure Active Directory&lt;/A&gt;. And in my test, the refresh token which was generated several days ago still works at this moment. To request a access token with a refresh token, you can see the POST API call in 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;, I'm not using the AAD SDK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since your question is more Azure AD related, for further question, I'd suggest you post it in the dedicated &lt;A href="https://social.msdn.microsoft.com/Forums/azure/en-US/home?forum=windowsazuread" target="_self"&gt;AAD forum&lt;/A&gt;. You'd get better response there.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 07:17:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Refresh-token-In-embedding-reports-from-Power-BI-Service/m-p/191071#M6070</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-06-09T07:17:55Z</dc:date>
    </item>
  </channel>
</rss>

