<?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: Content Security Policy - Power BI Embed for your organization (Angular) in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2113132#M32201</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329660" data-lia-user-login="fullstack-dev" class="lia-mention lia-mention-user"&gt;fullstack-dev&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you so much for sharing your solution here. Could you please mark your post as &lt;STRONG&gt;Answered&lt;/STRONG&gt;? It will help the others in the forum can find this solution quickly if they encounter the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2021 07:28:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-10-04T07:28:56Z</dc:date>
    <item>
      <title>Content Security Policy - Power BI Embed for your organization (Angular)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2109434#M32176</link>
      <description>&lt;P&gt;Hi, I am using the latest npm package released by Microsoft.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.npmjs.com/package/powerbi-client-angular" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.npmjs.com/package/powerbi-client-angular&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Facing this issue when embedding a report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refused to frame '&lt;A href="https://app.powerbi.com/" target="_blank"&gt;https://app.powerbi.com/&lt;/A&gt;' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' &lt;A href="https://teams.powerbi.com" target="_blank"&gt;https://teams.powerbi.com&lt;/A&gt; &lt;A href="https://teams.microsoft.com" target="_blank"&gt;https://teams.microsoft.com&lt;/A&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Azure AD user has access to the report in the PowerBi platform we can embed it in the app for some reason. We are using the license Premium Per User. So embed for your organization. (access token correct)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe I'm missing something on the Workspace or Report settings..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I put an Iframe without using the package or anything I have to sign in twice and the report works in the Angular.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our app has an SSO authentication so with the package I thought the report would be displayed without problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attched the image with the exact console error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 13:14:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2109434#M32176</guid>
      <dc:creator>fullstack-dev</dc:creator>
      <dc:date>2021-10-01T13:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Content Security Policy - Power BI Embed for your organization (Angular)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2110888#M32188</link>
      <description>&lt;P&gt;Found the solution if it can help anyone..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TokenType needed to be &lt;SPAN&gt;models&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TokenType&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Aad instead of &lt;/SPAN&gt;&lt;SPAN&gt;models&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;TokenType&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Embed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 14:24:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2110888#M32188</guid>
      <dc:creator>fullstack-dev</dc:creator>
      <dc:date>2021-10-01T14:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Content Security Policy - Power BI Embed for your organization (Angular)</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2113132#M32201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="329660" data-lia-user-login="fullstack-dev" class="lia-mention lia-mention-user"&gt;fullstack-dev&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you so much for sharing your solution here. Could you please mark your post as &lt;STRONG&gt;Answered&lt;/STRONG&gt;? It will help the others in the forum can find this solution quickly if they encounter the same problem as yours. Thank you.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 07:28:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Content-Security-Policy-Power-BI-Embed-for-your-organization/m-p/2113132#M32201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-10-04T07:28:56Z</dc:date>
    </item>
  </channel>
</rss>

