<?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 Row level security help in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640609#M1388198</link>
    <description>&lt;P&gt;Can I use username() for row level security instead of userprincipalname(). I have ad user name in the table but not user email. Could you please let me know if this will work. Also my table is in direct query mode so I won't be able to modify the data.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 09:19:43 GMT</pubDate>
    <dc:creator>DiKi-I</dc:creator>
    <dc:date>2025-04-07T09:19:43Z</dc:date>
    <item>
      <title>Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640609#M1388198</link>
      <description>&lt;P&gt;Can I use username() for row level security instead of userprincipalname(). I have ad user name in the table but not user email. Could you please let me know if this will work. Also my table is in direct query mode so I won't be able to modify the data.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:19:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640609#M1388198</guid>
      <dc:creator>DiKi-I</dc:creator>
      <dc:date>2025-04-07T09:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640626#M1388202</link>
      <description>&lt;P&gt;yes this approach also works&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;just to be sure that the name your have in the table is in the right format&lt;/P&gt;&lt;P&gt;Create a measure _Test = Username()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then add this measure in a card, to see how it is formatted vs what you have in the table (maybe you will have to add the domain in the list)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:26:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640626#M1388202</guid>
      <dc:creator>Cookistador</dc:creator>
      <dc:date>2025-04-07T09:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640686#M1388221</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="530144" data-lia-user-login="DiKi-I" class="lia-mention lia-mention-user"&gt;DiKi-I&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;make sure to test it in the view role before applying it, since this is a sensitive case.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 09:40:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4640686#M1388221</guid>
      <dc:creator>Idrissshatila</dc:creator>
      <dc:date>2025-04-07T09:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4641536#M1388430</link>
      <description>&lt;P&gt;my username is getting resolved to upn in service. I will test with the actual data once I have gateway setup.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 16:26:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4641536#M1388430</guid>
      <dc:creator>DiKi-I</dc:creator>
      <dc:date>2025-04-07T16:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4643157#M1388856</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="530144" data-lia-user-login="DiKi-I" class="lia-mention lia-mention-user"&gt;DiKi-I&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="488310" data-lia-user-login="Idrissshatila" class="lia-mention lia-mention-user"&gt;Idrissshatila&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="400842" data-lia-user-login="Cookistador" class="lia-mention lia-mention-user"&gt;Cookistador&lt;/a&gt;&amp;nbsp;below additional suggestions for implementing Row-Level Security (RLS) in Power BI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Dynamic RLS using USERNAME() or USERPRINCIPALNAME(): Store user-to-data mappings in a table and filter based on the logged-in user dynamically.&lt;/LI&gt;
&lt;LI&gt;Using security groups: Assign roles via Azure AD security groups and filter data based on group membership.&lt;/LI&gt;
&lt;LI&gt;Testing RLS using "View as Role": Always validate roles in Power BI Desktop before publishing.&lt;/LI&gt;
&lt;LI&gt;Combining static and dynamic RLS: Use hybrid logic for more complex access control scenarios.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Best Regards,&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Community Support Team _ C Srikanth.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 12:38:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4643157#M1388856</guid>
      <dc:creator>v-csrikanth</dc:creator>
      <dc:date>2025-04-08T12:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4661165#M1393710</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="530144" data-lia-user-login="DiKi-I" class="lia-mention lia-mention-user"&gt;DiKi-I&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;It's been a while since I heard back from you and I wanted to follow up. Have you had a chance to try the solutions that have been offered? &lt;BR /&gt;If the issue has been resolved, can you mark the post as resolved? If you're still experiencing challenges, please feel free to let us know and we'll be happy to continue to help!&lt;BR /&gt;Looking forward to your reply!&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Best Regards,&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;Community Support Team _ C Srikanth.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 12:47:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4661165#M1393710</guid>
      <dc:creator>v-csrikanth</dc:creator>
      <dc:date>2025-04-21T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4675563#M1397563</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="530144" data-lia-user-login="DiKi-I" class="lia-mention lia-mention-user"&gt;DiKi-I&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I wanted to follow up since I haven't heard from you in a while. Have you had a chance to try the suggested solutions?&lt;BR /&gt;If your issue is resolved, please consider marking the post as solved. However, if you're still facing challenges, feel free to share the details, and we'll be happy to assist you further.&lt;BR /&gt;Looking forward to your response!&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Cheri Srikanth&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 08:13:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4675563#M1397563</guid>
      <dc:creator>v-csrikanth</dc:creator>
      <dc:date>2025-05-01T08:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Row level security help</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4680319#M1398916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="530144" data-lia-user-login="DiKi-I" class="lia-mention lia-mention-user"&gt;DiKi-I&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven't heard from you since last response and just wanted to check whether the solution provided has worked for you. If yes, please Accept as Solution to help others benefit in the community.&lt;BR /&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ C Srikanth.&lt;/P&gt;</description>
      <pubDate>Mon, 05 May 2025 12:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Row-level-security-help/m-p/4680319#M1398916</guid>
      <dc:creator>v-csrikanth</dc:creator>
      <dc:date>2025-05-05T12:13:58Z</dc:date>
    </item>
  </channel>
</rss>

