<?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 embed JS not rendering in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372493#M11111</link>
    <description>&lt;P&gt;Further investigation led to test with IE.... and it worked perfectly, subsequent analysis is that the issue stands with Chrome, any idea on a way to solve this as we have to support especially Chrome ?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 15:41:41 GMT</pubDate>
    <dc:creator>guillaumevi</dc:creator>
    <dc:date>2018-03-08T15:41:41Z</dc:date>
    <item>
      <title>PowerBI embed JS not rendering</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/371794#M11085</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to embed a PBI report using the JS embedding library, below is the code I am using.&lt;/P&gt;&lt;P&gt;My issue is that the report is not rendering at all (NB. Iframe is properly created by the library) and I got no error either ...&lt;/P&gt;&lt;P&gt;To get the AD Token i followed the steps describe &lt;A href="https://community.powerbi.com/t5/Developer/Power-BI-Rest-Api-with-the-ADAL-JS-library/td-p/228421" target="_self"&gt;here (Power-BI-Rest-Api-with-the-ADAL-JS-library)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I missing ?&lt;/P&gt;&lt;PRE&gt;&amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/jquery/dist/jquery.js"&amp;gt;&amp;lt;/script&amp;gt;

&amp;lt;script src="https://microsoft.github.io/PowerBI-JavaScript/demo/node_modules/powerbi-client/dist/powerbi.js"&amp;gt;&amp;lt;/script&amp;gt;
 
&amp;lt;script type="text/javascript"&amp;gt;
window.onload = function () {  


var clientname = ["powerbi"]; 
 
 
    // Read embed application token from Model
    var accessToken = "ey...gw";

    // Read embed URL from Model
    var embedUrl = "https://app.powerbi.com/reportEmbed?reportId=1c6a04eb-XXXX&amp;amp;groupId=120870e4-BBBB";

    // Read report Id from Model
    var embedReportId = "1c6a04eb-XXXX";

    // Get models. models contains enums that can be used.
    var models = window['powerbi-client'].models;

  
    var embedConfiguration = {
        type: 'report',
        tokenType: models.TokenType.Aad,
        accessToken: accessToken,
        embedUrl: embedUrl,
        id: embedReportId,
        permissions: models.Permissions.All,
        settings: {
            //filterPaneEnabled: true,
            navContentPaneEnabled: true
        }
    };
  
var $reportContainer = $('#reportContainer');
 
var report = powerbi.embed($reportContainer.get(0), embedConfiguration);
 
} 
&amp;lt;/script&amp;gt;

&amp;lt;div id="reportContainer" powerbi-settings-nav-content-pane-enabled="true"   powerbi-settings-filter-pane-enabled="true"&amp;gt;&amp;lt;/div&amp;gt;

&amp;lt;/html&amp;gt;
&amp;lt;/div&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Mar 2018 20:27:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/371794#M11085</guid>
      <dc:creator>guillaumevi</dc:creator>
      <dc:date>2018-03-07T20:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI embed JS not rendering</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372189#M11101</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/57213"&gt;@guillaumevi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A little weird! I just verified the code above. And it just works all fine for me without any issue(the report renders successfully).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As there is no any error for troubleshooting, I would suggest you use &lt;A href="https://www.telerik.com/fiddler" target="_self"&gt;fiddler&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to investigate further. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot&amp;nbsp;" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/developer/embedded-troubleshoot&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 08:50:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372189#M11101</guid>
      <dc:creator>v-ljerr-msft</dc:creator>
      <dc:date>2018-03-08T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI embed JS not rendering</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372333#M11104</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/11689"&gt;@v-ljerr-msft&lt;/a&gt;&amp;nbsp;thanks for your quick reply !&lt;/P&gt;&lt;P&gt;I looked at it, this is very weird, I get a "307 Internal Redirect" feedback from the &lt;A href="https://app.powerbi.com/reportEmbed" target="_blank"&gt;https://app.powerbi.com/reportEmbed&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any idea why ?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 11:41:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372333#M11104</guid>
      <dc:creator>guillaumevi</dc:creator>
      <dc:date>2018-03-08T11:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI embed JS not rendering</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372493#M11111</link>
      <description>&lt;P&gt;Further investigation led to test with IE.... and it worked perfectly, subsequent analysis is that the issue stands with Chrome, any idea on a way to solve this as we have to support especially Chrome ?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 15:41:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-embed-JS-not-rendering/m-p/372493#M11111</guid>
      <dc:creator>guillaumevi</dc:creator>
      <dc:date>2018-03-08T15:41:41Z</dc:date>
    </item>
  </channel>
</rss>

