<?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: Multi-tenancy with Power BI Embedded in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32173#M952</link>
    <description>&lt;P&gt;I do not believe that RLS is supported by Power BI embedded. They just extended RLS to content packs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-service-whats-new/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/documentation/powerbi-service-whats-new/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One route to go would be to publish your dashboard/report in the Service, configure RLS and then share it with everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before that, you had to create a separate report and dashboard for each role/customer.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 14:04:19 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2016-04-29T14:04:19Z</dc:date>
    <item>
      <title>Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32148#M951</link>
      <description>&lt;P&gt;I'm trying to wrap my head around how to use Power BI Embedded in a multi-tenant environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've done the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Set up a PowerBI embedded Workspace collection and workspace&lt;/LI&gt;&lt;LI&gt;Uploaded a PowerBI Desktop File (.pbix) to the workspace&lt;/LI&gt;&lt;LI&gt;Configured the data source for the data set (SQL Database)&lt;/LI&gt;&lt;LI&gt;Created a PowerBI token and been able to generate a report in my Web App&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now I'm trying to understand how to make this solution tenant-aware.&amp;nbsp;Let's say I have 10 000 &amp;nbsp;users&amp;nbsp;who I want to display&amp;nbsp;my report to, but I want them to see different data in the report since their access differs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could create 10 000 separate&amp;nbsp;PowerBI Desktop Files&amp;nbsp;showing the different reports, and then, depending on which user is logged&amp;nbsp;on to my application show the different reports. This would of course not be a scalable method&amp;nbsp;to maintain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read that there is a Row-Level Security available, but it's not clear to me whether I can&amp;nbsp;currently configure RLS for data sets set-up in a Azure Power BI Workspace. Is there a way to do this? (I understand that RLS is still in preview).&amp;nbsp;If not, how do one currently accomplish multi-tenancy with Power BI Embedded?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 12:41:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32148#M951</guid>
      <dc:creator>martinknafve</dc:creator>
      <dc:date>2016-04-29T12:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32173#M952</link>
      <description>&lt;P&gt;I do not believe that RLS is supported by Power BI embedded. They just extended RLS to content packs:&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-service-whats-new/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/documentation/powerbi-service-whats-new/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One route to go would be to publish your dashboard/report in the Service, configure RLS and then share it with everyone.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before that, you had to create a separate report and dashboard for each role/customer.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 14:04:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32173#M952</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2016-04-29T14:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32410#M962</link>
      <description>&lt;P&gt;Thanks.. have you confirmed this works? &amp;nbsp; i.e.. 1 report and RLS implemented for Azure SQL server and effectively then we have secure multi-tennancy? &amp;nbsp;Is there anything else published to guide on this approach. &amp;nbsp;I've been&amp;nbsp;looking everywhere&amp;nbsp;so would appreciate any further help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, assuming you have RLS in place on Azure SQL Database, how do you pass the userID to the embedded PowerBI?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 16:43:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32410#M962</guid>
      <dc:creator>antpstevens</dc:creator>
      <dc:date>2016-04-30T16:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32412#M963</link>
      <description>&lt;P&gt;Yes, I have done RLS with a dataset and it worked, although that dataset originated from a CSV file so I imported it into Desktop and then published to Service.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a recent blog article on it:&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/Row-Level-Security-in-Power-BI/ba-p/31031" target="_blank"&gt;http://community.powerbi.com/t5/Community-Blog/Row-Level-Security-in-Power-BI/ba-p/31031&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They just released RLS like this month so it is pretty new.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 16:44:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32412#M963</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2016-04-30T16:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32416#M964</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; antpstevens:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; Also, assuming you have RLS in place on Azure SQL Database, how do you pass the userID to the embedded PowerBI?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I know, you can't do this with Power BI Embedded. If you're using Power BI Embedded, you can use the PowerBI Embedded REST API to configure that a specific SQL Database user account should be used when accessing a specific data set (by configuring the data set gateway with basic authentication). Using SQL Database RLS, you could filter the data visible to the users viewing the report.&amp;nbsp;But this configuration&amp;nbsp;will then be shared by all end-users viewing the report, which means that all users would use the same SQL Database user account and hence see exactly the same data. Also, if you change the user account configured for the data set, it seems like there's some initial refresh/caching issue, so if a user views the report, he would see old cached data for a few seconds before the data is refreshed and the new SQL database user credentials is taken into account. In other words, this looks like a no-go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, be aware that there are really two different RLS's being involved here. The Power BI Service has it's own&amp;nbsp;RLS-implementation. Using the Power BI Service web UI you can set up roles and link users to these roles. And then you can set up rules for the roles, defining what data should be shown. But this has nothing at all to do with the Azure SQL Database RLS. So if you&amp;nbsp;you think about Azure SQL Database RLS and ask someone if Power BI Service supports RLS, and they say "yes", you&amp;nbsp;should know that they might be talking about Power BI RLS and not SQL Database RLS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; smoupre&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;gt; One route to go would be to publish your dashboard/report in the Service, configure RLS and then share it with everyone.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But then I&amp;nbsp;would not be using Azure&amp;nbsp;Power BI Embedded, and I could not embed the&amp;nbsp;report in my web application, right? I have tens of thousands of users on thousands of companies,&amp;nbsp;most of which probably does not have a Power BI Service/Office 365 user account. So the user experience would not be so good if they had to sign up on Office 365 just to see some reports.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 17:36:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32416#M964</guid>
      <dc:creator>martinknafve</dc:creator>
      <dc:date>2016-04-30T17:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32418#M965</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/8986"&gt;@martinknafve﻿&lt;/a&gt;&amp;nbsp;- Correct, if you use the Power BI Service, you are not using Power BI Embedded. Until Power BI Embedded supports RLS (if) and you can pass it individual user credentials or identifier, within your program, then the Service and its RLS is basically the only route to go at this point without building out dashboards/reports for each user. Power BI Embedded and Power BI RLS are really very new, as in this month, but are evolving quickly.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2016 17:36:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/32418#M965</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2016-04-30T17:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/36704#M1135</link>
      <description>Fast forward to the Q&amp;amp;A in the video mentioned here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://community.powerbi.com/t5/Developer/Power-BI-Embedded-access-control/m-p/27332" target="_blank"&gt;http://community.powerbi.com/t5/Developer/Power-BI-Embedded-access-control/m-p/27332&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;They are working on it.</description>
      <pubDate>Thu, 19 May 2016 09:49:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/36704#M1135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-19T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-tenancy with Power BI Embedded</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/126497#M4375</link>
      <description>&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to be available now. Can someone confirm if this solves the above problem.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 18:57:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-tenancy-with-Power-BI-Embedded/m-p/126497#M4375</guid>
      <dc:creator>dhruvsakalley</dc:creator>
      <dc:date>2017-02-13T18:57:05Z</dc:date>
    </item>
  </channel>
</rss>

