<?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 PowerBI Embeded report with RLS cannot display with 401 error code in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embeded-report-with-RLS-cannot-display-with-401-error/m-p/129871#M4469</link>
    <description>&lt;P&gt;I found that my customer page cannot show embedded report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added roles to my report, import my report to azure powerbi workspace. Following the example at&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls&lt;/A&gt;, I get access token and embeded url of my report. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then only thing different from the example is that I am using direct query, so I update dataset connection string after I import the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the report in my web app cannot be displayed. All tiles is empty with a cross at the center. I got the http response as bellow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Http Status Code401&lt;/P&gt;&lt;P&gt;Activity ID79d3cd7a-07cf-4e33-8110-967e16c3870c&lt;/P&gt;&lt;P&gt;Correlation IDdf6e5c94-6d50-212f-7c4c-64acc4f6f748&lt;/P&gt;&lt;P&gt;Request ID43bfe546-7e56-81cd-400f-33ae93960af5&lt;/P&gt;&lt;P&gt;TimeSun Feb 19 2017 23:38:26 GMT-0800 (Pacific Standard Time)&lt;/P&gt;&lt;P&gt;Version13.0.1700.1204&lt;/P&gt;&lt;P&gt;Cluster URIhttps://wabi-west-us-redirect.analysis.windows.net/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remove the role in my report, and retry, then, I can see my report in my web app correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering, what did I miss. &amp;nbsp;What kind of special thing should I do if my report has role.&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Feb 2017 07:43:39 GMT</pubDate>
    <dc:creator>tobyfan1980</dc:creator>
    <dc:date>2017-02-20T07:43:39Z</dc:date>
    <item>
      <title>PowerBI Embeded report with RLS cannot display with 401 error code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embeded-report-with-RLS-cannot-display-with-401-error/m-p/129871#M4469</link>
      <description>&lt;P&gt;I found that my customer page cannot show embedded report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added roles to my report, import my report to azure powerbi workspace. Following the example at&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls&lt;/A&gt;, I get access token and embeded url of my report. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then only thing different from the example is that I am using direct query, so I update dataset connection string after I import the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the report in my web app cannot be displayed. All tiles is empty with a cross at the center. I got the http response as bellow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Http Status Code401&lt;/P&gt;&lt;P&gt;Activity ID79d3cd7a-07cf-4e33-8110-967e16c3870c&lt;/P&gt;&lt;P&gt;Correlation IDdf6e5c94-6d50-212f-7c4c-64acc4f6f748&lt;/P&gt;&lt;P&gt;Request ID43bfe546-7e56-81cd-400f-33ae93960af5&lt;/P&gt;&lt;P&gt;TimeSun Feb 19 2017 23:38:26 GMT-0800 (Pacific Standard Time)&lt;/P&gt;&lt;P&gt;Version13.0.1700.1204&lt;/P&gt;&lt;P&gt;Cluster URIhttps://wabi-west-us-redirect.analysis.windows.net/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I remove the role in my report, and retry, then, I can see my report in my web app correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering, what did I miss. &amp;nbsp;What kind of special thing should I do if my report has role.&lt;/P&gt;&lt;P&gt;Please help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 07:43:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embeded-report-with-RLS-cannot-display-with-401-error/m-p/129871#M4469</guid>
      <dc:creator>tobyfan1980</dc:creator>
      <dc:date>2017-02-20T07:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBI Embeded report with RLS cannot display with 401 error code</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embeded-report-with-RLS-cannot-display-with-401-error/m-p/130627#M4485</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using DirectQuery with Power BI Embedded, please note that as on date, only SQL Azure &amp;amp; Azure SQL Warehouse are the only 2 data sources which are supported. Any data source using data gateway is not supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, this might be a reason of you not seeing the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 11:32:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBI-Embeded-report-with-RLS-cannot-display-with-401-error/m-p/130627#M4485</guid>
      <dc:creator>vinaypugalia</dc:creator>
      <dc:date>2017-02-21T11:32:27Z</dc:date>
    </item>
  </channel>
</rss>

