<?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 How to Generate Embed Token in pure JavaScript in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Generate-Embed-Token-in-pure-JavaScript/m-p/710907#M19623</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Power Bi and any help would be appreciated. So I want to do the following&lt;BR /&gt;I want to show reports in my Angular application that angular application is the multi-tenant application of users that do not belong to my organization. So I have next set up&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Angular app is talking whit my API that API is using the token-based system to create token and manage tenets. I want for my users to see reports that I created so my API will talk with Power BI API to get token and pass it to Angular App and angular application will emend report from power bi, I was wondering what is the best practices to do this. Let's I want to use "Master user" or "Service principal" to authenticate to Power BI, Do each time I generate token with my "Master user" I always get new token and old token is squished or old token is still valid until expiration time?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2019 00:07:08 GMT</pubDate>
    <dc:creator>FlashCrowz</dc:creator>
    <dc:date>2019-06-11T00:07:08Z</dc:date>
    <item>
      <title>How to Generate Embed Token in pure JavaScript</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-to-Generate-Embed-Token-in-pure-JavaScript/m-p/710907#M19623</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am new to Power Bi and any help would be appreciated. So I want to do the following&lt;BR /&gt;I want to show reports in my Angular application that angular application is the multi-tenant application of users that do not belong to my organization. So I have next set up&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Angular app is talking whit my API that API is using the token-based system to create token and manage tenets. I want for my users to see reports that I created so my API will talk with Power BI API to get token and pass it to Angular App and angular application will emend report from power bi, I was wondering what is the best practices to do this. Let's I want to use "Master user" or "Service principal" to authenticate to Power BI, Do each time I generate token with my "Master user" I always get new token and old token is squished or old token is still valid until expiration time?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2019 00:07:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-to-Generate-Embed-Token-in-pure-JavaScript/m-p/710907#M19623</guid>
      <dc:creator>FlashCrowz</dc:creator>
      <dc:date>2019-06-11T00:07:08Z</dc:date>
    </item>
  </channel>
</rss>

