<?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 set up RLS for a security group in Power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4851237#M63451</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have the following setup in Power BI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;I created an RLS role called external_access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Inside the role, I use a DAX filter to control access by email, for example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;email1 → can only see data for Region1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;email2 → can only see data for Region2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I then created a security group called external_group and added both email1 and email2 to it.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the Power BI Service, I assigned external_group to the external_access role.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My question:&lt;BR /&gt;Will RLS still work dynamically for each user (so email1 only sees Region1 and email2 only sees Region2), or does assigning a security group mean everyone in that group will have the same data access?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 16 Oct 2025 01:02:54 GMT</pubDate>
    <dc:creator>NorahTran97</dc:creator>
    <dc:date>2025-10-16T01:02:54Z</dc:date>
    <item>
      <title>set up RLS for a security group in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4851237#M63451</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have the following setup in Power BI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;I created an RLS role called external_access.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Inside the role, I use a DAX filter to control access by email, for example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;email1 → can only see data for Region1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;email2 → can only see data for Region2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I then created a security group called external_group and added both email1 and email2 to it.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the Power BI Service, I assigned external_group to the external_access role.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;My question:&lt;BR /&gt;Will RLS still work dynamically for each user (so email1 only sees Region1 and email2 only sees Region2), or does assigning a security group mean everyone in that group will have the same data access?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 01:02:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4851237#M63451</guid>
      <dc:creator>NorahTran97</dc:creator>
      <dc:date>2025-10-16T01:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: set up RLS for a security group in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4851854#M63459</link>
      <description>&lt;P&gt;Hello&amp;nbsp; &amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1356478"&gt;@NorahTran97&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That’s a great question, and it’s one that often causes confusion when using security groups with Row-Level Security in Power BI. The short answer is yes RLS will still work dynamically for each individual user, even when the role is assigned to a security group, as long as your DAX filter uses a dynamic expression such as USERPRINCIPALNAME() or references a user-to-region mapping table. In that case, each person in the group is evaluated separately when they sign in, so email1 will only see Region1 and email2 will only see Region2, exactly as you’d expect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if your RLS role uses a static filter that’s hardcoded to a specific email address, then assigning that role to a group will apply the same filter to everyone in that group. This usually means only one person matches the filter, and others will either see no data or the wrong results. To avoid that, make sure your model uses a dynamic filter, such as comparing the Email column in your user table to USERPRINCIPALNAME(), or using a lookup to match the current user’s region.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you publish your dataset, assign the Azure AD security group to that role in the Power BI Service. Power BI will still apply RLS individually based on the signed-in user, but you’ll be able to manage membership centrally through Azure AD instead of manually updating roles in Power BI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1363" data-end="1780"&gt;If you’d like a bit more detail, Microsoft’s documentation explains this really well here:&lt;BR /&gt;&lt;A target="_new" rel="noopener" data-start="1454" data-end="1561"&gt;Row-level security (RLS) with Power BI&amp;nbsp;,&lt;BR /&gt;&lt;/A&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/security/service-admin-row-level-security" target="_blank" rel="noopener"&gt;Row-level security (RLS) with Power BI - Microsoft Fabric | Microsoft Learn&amp;nbsp;and&lt;BR /&gt;the &lt;/A&gt;&lt;A target="_new" rel="noopener" data-start="1570" data-end="1651"&gt;Dynamic RLS guidance article. walk through examples showing how USERPRINCIPALNAME() ensures per-user filtering even when roles are assigned to groups.&lt;/A&gt;&lt;/P&gt;
&lt;P data-start="1782" data-end="1978" data-is-last-node="" data-is-only-node=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Tejaswi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 12:08:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4851854#M63459</guid>
      <dc:creator>v-tejrama</dc:creator>
      <dc:date>2025-10-16T12:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: set up RLS for a security group in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4852328#M63463</link>
      <description>&lt;P&gt;Thanks &lt;SPAN&gt;Tejaswi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just another question, I’ve tested it, and it seems to work only groups with internal users. Is there a different configuration needed for external users? (Please note, the external users are already added to our Azure environment.) When I share with individual external users, it works fine, but it doesn’t seem to work when I share with the group. Do you have any idea why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 01:12:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4852328#M63463</guid>
      <dc:creator>NorahTran97</dc:creator>
      <dc:date>2025-10-17T01:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: set up RLS for a security group in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4852657#M63472</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1356478"&gt;@NorahTran97&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;RLS will always be dynamic.&lt;BR /&gt;If you use&amp;nbsp;&lt;SPAN&gt;userprincipalname&lt;/SPAN&gt;&lt;SPAN&gt;()&amp;nbsp;&lt;/SPAN&gt;dax function in rls logic, it always checks currently logged in user.&lt;BR /&gt;So if there are 10 users in same Azure user group and by best practice, we grant dataset/app permissions to user group, each user will see only what is allowed by rls for each user.&lt;BR /&gt;By using groups, we just make it easier for us to give all users access.&lt;BR /&gt;&lt;BR /&gt;Note: for external users, regular external users having company mail, in rls table keep their actual mail.&lt;BR /&gt;Because this is how Power BI Service will recognize them.&lt;BR /&gt;Example: &lt;A href="mailto:user@company.com" target="_blank"&gt;user@company.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, if external users use private emails (gmail, yahoo..), then in rls table you need to have prefix which Power BI Service adds.&lt;BR /&gt;Example: live#user@company.com&lt;BR /&gt;&lt;BR /&gt;In addtion, Azure user group should be "Security" type so that it can be used on Power BI Service.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Nemanja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 09:25:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4852657#M63472</guid>
      <dc:creator>nandic</dc:creator>
      <dc:date>2025-10-17T09:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: set up RLS for a security group in Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4852862#M63478</link>
      <description>&lt;ARTICLE class="" dir="auto" tabindex="-1" data-turn-id="496c4bad-54b6-4364-a8e1-7ad42e8d955c" data-testid="conversation-turn-6" data-scroll-anchor="true" data-turn="assistant"&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1356478"&gt;@NorahTran97&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" tabindex="-1"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" dir="auto" data-message-author-role="assistant" data-message-id="c77a4398-6c1a-453a-9d5f-73e1acdf174f" data-message-model-slug="gpt-5-mini"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;P data-start="11" data-end="261"&gt;Thank you for your follow-up question. It’s great to hear that RLS is working for internal users. Regarding your issue with external users, there are a few considerations to ensure RLS functions correctly when sharing with Azure AD B2B (guest) users. Firstly, confirm that the external users are properly added as guest users in your Azure AD tenant. They should have accepted the invitation and be assigned the appropriate roles within your organization. Additionally, ensure that the external users have the necessary Power BI licensing. If your organization is using Power BI Pro, external users also need a Pro license to access shared content. Alternatively, if your organization has Power BI Premium capacity, external users can access shared content without a Pro license, provided they are assigned to the appropriate workspace roles.&lt;/P&gt;
&lt;P data-start="856" data-end="1264"&gt;Another important aspect is the workspace settings. For RLS to function correctly, the workspace should be configured such that members have Viewer permissions rather than Member or higher roles. This setting ensures that RLS filters are applied to users accessing the content. You can adjust this by navigating to the workspace settings in the Power BI Service and modifying the permissions accordingly.&lt;/P&gt;
&lt;P data-start="1266" data-end="1553"&gt;If the issue persists, consider testing the RLS configuration by sharing the report directly with an external user and verifying if the data visibility aligns with the RLS rules. This can help identify whether the problem lies with the RLS setup or the group-based sharing configuration.&lt;/P&gt;
&lt;P data-start="1266" data-end="1553"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="1555" data-end="1630"&gt;Please refer these Microsoft Doc links :&lt;/P&gt;
&lt;P data-start="1634" data-end="1736"&gt;&lt;A target="_new" rel="noopener" data-start="1634" data-end="1736"&gt;Row-level security (RLS) with Power BI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="https://stackoverflow.com/questions/73549967/securely-sharing-power-bi-reports-with-external-users-difficult-process?utm_source=chatgpt.com" target="_new" rel="noopener" data-start="1739" data-end="1912"&gt;Securely sharing Power BI reports with external users&lt;/A&gt;&lt;/P&gt;
&lt;DIV class=""&gt;&lt;BR /&gt;Thank you.
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/ARTICLE&gt;</description>
      <pubDate>Fri, 17 Oct 2025 11:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/set-up-RLS-for-a-security-group-in-Power-BI/m-p/4852862#M63478</guid>
      <dc:creator>v-tejrama</dc:creator>
      <dc:date>2025-10-17T11:41:54Z</dc:date>
    </item>
  </channel>
</rss>

