<?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: Row-Level Security with Power BI Embedded and Azure Analysis Services in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Power-BI-Embedded-and-Azure-Analysis/m-p/261547#M8057</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;We are looking at moving our Workspace Collection based Power BI Embedded reports into the new Power BI Premium model. We are also starting to leverage Azure Analysis Services with some of our reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question we have which we can't find an answer for is whether Row Level Security still works in the same way with Power BI Premium embedding and specifically with Azure Analysis Services.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Currently, we have our own User Authentication module in our applications that use RLS by passing in a role and a non-AD username that is mapped in our data models and using RLS in PBI Desktop.&lt;/STRONG&gt; However, from what I have read, when moving our model to Azure AS, the roles are defined in the AS model then AD members are added to these roles. Can anyone answer the question: is it possible to define roles and the corresponding DAX functions for these roles in AAS, &lt;STRONG&gt;then not add any members to these roles and instead pass in the Role and Username at the embed token creation point&lt;/STRONG&gt; and for that to be passed to the AAS model and returned in the USERNAME() DAX function that is previously defined?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if that doesn't make sense and I'll try a different way of explaining it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;In import mode(opposite to live connection), the internal roles in AAS has nothing to do with the roles defined in Power BI desktop. In scenario&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-with-non-power-bi-users-app-owns-data" target="_self"&gt;Embedding with non-Power BI users (app owns data)&lt;/A&gt;, you can pass roles and usersname at embed token creation. See&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/" target="_self"&gt;Row-level security (RLS) with embedded analytics&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 09:43:20 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-09-29T09:43:20Z</dc:date>
    <item>
      <title>Row-Level Security with Power BI Embedded and Azure Analysis Services</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Power-BI-Embedded-and-Azure-Analysis/m-p/260765#M8038</link>
      <description>&lt;P&gt;We are looking at moving our Workspace Collection based Power BI Embedded reports into the new Power BI Premium model. We are also starting to leverage Azure Analysis Services with some of our reports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One question we have which we can't find an answer for is whether Row Level Security still works in the same way with Power BI Premium embedding and specifically with Azure Analysis Services.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, we have our own User Authentication module in our applications that use RLS by passing in a role and a non-AD username that is mapped in our data models and using RLS in PBI Desktop. However, from what I have read, when moving our model to Azure AS, the roles are defined in the AS model then AD members are added to these roles. Can anyone answer the question: is it possible to define roles and the corresponding DAX functions for these roles in AAS, then not add any members to these roles and instead pass in the Role and Username at the embed token creation point and for that to be passed to the AAS model and returned in the USERNAME() DAX function that is previously defined?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if that doesn't make sense and I'll try a different way of explaining it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 09:28:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Power-BI-Embedded-and-Azure-Analysis/m-p/260765#M8038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-28T09:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Row-Level Security with Power BI Embedded and Azure Analysis Services</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Power-BI-Embedded-and-Azure-Analysis/m-p/261547#M8057</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;We are looking at moving our Workspace Collection based Power BI Embedded reports into the new Power BI Premium model. We are also starting to leverage Azure Analysis Services with some of our reports.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question we have which we can't find an answer for is whether Row Level Security still works in the same way with Power BI Premium embedding and specifically with Azure Analysis Services.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Currently, we have our own User Authentication module in our applications that use RLS by passing in a role and a non-AD username that is mapped in our data models and using RLS in PBI Desktop.&lt;/STRONG&gt; However, from what I have read, when moving our model to Azure AS, the roles are defined in the AS model then AD members are added to these roles. Can anyone answer the question: is it possible to define roles and the corresponding DAX functions for these roles in AAS, &lt;STRONG&gt;then not add any members to these roles and instead pass in the Role and Username at the embed token creation point&lt;/STRONG&gt; and for that to be passed to the AAS model and returned in the USERNAME() DAX function that is previously defined?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if that doesn't make sense and I'll try a different way of explaining it!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;@Anonymous&lt;/P&gt;
&lt;P&gt;In import mode(opposite to live connection), the internal roles in AAS has nothing to do with the roles defined in Power BI desktop. In scenario&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-with-non-power-bi-users-app-owns-data" target="_self"&gt;Embedding with non-Power BI users (app owns data)&lt;/A&gt;, you can pass roles and usersname at embed token creation. See&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/" target="_self"&gt;Row-level security (RLS) with embedded analytics&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 09:43:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Row-Level-Security-with-Power-BI-Embedded-and-Azure-Analysis/m-p/261547#M8057</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-09-29T09:43:20Z</dc:date>
    </item>
  </channel>
</rss>

