<?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 Power BI Scanner API: RLS Information in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3662642#M49173</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to obtain information about Row Level Security configuration from the Scanner API, as described here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/de-de/rest/api/power-bi/admin/workspace-info-get-scan-result" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/de-de/rest/api/power-bi/admin/workspace-info-get-scan-result&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The scan actually works, however concerning RLS Usage I have noticed, that roles names are only returned when there is at least one member assigned to the role. Otherwise I get a null value in the "roles" column for the whole dataset, even for those where I know and actually see that there are RLS roles configured.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unfortunately this is exactly the case which I want to monitor: whether there are any configured roles without any users assigned to them which is usually a mistake.&lt;BR /&gt;&lt;BR /&gt;Does anyone experience the same behaviour? Is the issue maybe known to the product team?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2024 11:51:22 GMT</pubDate>
    <dc:creator>IMett</dc:creator>
    <dc:date>2024-01-26T11:51:22Z</dc:date>
    <item>
      <title>Power BI Scanner API: RLS Information</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3662642#M49173</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to obtain information about Row Level Security configuration from the Scanner API, as described here:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/de-de/rest/api/power-bi/admin/workspace-info-get-scan-result" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/de-de/rest/api/power-bi/admin/workspace-info-get-scan-result&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The scan actually works, however concerning RLS Usage I have noticed, that roles names are only returned when there is at least one member assigned to the role. Otherwise I get a null value in the "roles" column for the whole dataset, even for those where I know and actually see that there are RLS roles configured.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unfortunately this is exactly the case which I want to monitor: whether there are any configured roles without any users assigned to them which is usually a mistake.&lt;BR /&gt;&lt;BR /&gt;Does anyone experience the same behaviour? Is the issue maybe known to the product team?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 11:51:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3662642#M49173</guid>
      <dc:creator>IMett</dc:creator>
      <dc:date>2024-01-26T11:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Scanner API: RLS Information</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3663239#M49181</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/96424"&gt;@IMett&lt;/a&gt;&amp;nbsp;&lt;SPAN&gt;I am not sure if anyone else has experienced the same behavior.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I found a &lt;A href="https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-metadata-scanning?wt.mc_id=studentamb_357518" target="_blank" rel="noopener"&gt;Microsoft Learn&lt;/A&gt; article that explains how metadata scanning facilitates governance over your organization’s Power BI data by making it possible to quickly catalog and report on all the metadata of your organization’s Power BI artifacts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;Let me know if this works for you.&amp;nbsp;@ me in replies, or I'll lose your thread!!!&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;U&gt;Note:&lt;/U&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If this post is helpful, please mark it as the&amp;nbsp;&lt;STRONG&gt;solution&lt;/STRONG&gt;&amp;nbsp;to help others find it easily. Also, if my answers contribute to a solution, show your appreciation by giving it a&amp;nbsp;&lt;STRONG&gt;thumbs up&lt;/STRONG&gt;!&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 10 Feb 2024 22:51:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3663239#M49181</guid>
      <dc:creator>DallasBaba</dc:creator>
      <dc:date>2024-02-10T22:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Scanner API: RLS Information</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3672422#M49255</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/446607"&gt;@DallasBaba&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;That does not help, sorry. The article does only explain how to access the Scanner API Call in general. I asked a very specific question.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 08:36:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3672422#M49255</guid>
      <dc:creator>IMett</dc:creator>
      <dc:date>2024-02-01T08:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Scanner API: RLS Information</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3679607#M49337</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/96424"&gt;@IMett&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if its updated recently but I can see roles without members in our PowerBI scans.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like -&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;"roles": [&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;{&lt;BR /&gt;"modelPermission": "Read",&lt;BR /&gt;"name": "RoleName",&lt;BR /&gt;"tablePermissions": [&lt;BR /&gt;{&lt;BR /&gt;"filterExpression": "&amp;lt;my filter condition&amp;gt;",&lt;BR /&gt;"name": "TablePermissionName"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"modelPermission": "Read",&lt;BR /&gt;"name": "New role"&lt;BR /&gt;}&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One note, we are scanning with lineage,&amp;nbsp;&lt;SPAN&gt;datasetSchema and&amp;nbsp;datasetExpressions parameters as true.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 08:27:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3679607#M49337</guid>
      <dc:creator>DAC15</dc:creator>
      <dc:date>2024-02-05T08:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Scanner API: RLS Information</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3679641#M49340</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/685450"&gt;@DAC15&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for your reply, that was very helpful. Then I probably have some kind of ETL mistake on my side, i will double-check that.&lt;BR /&gt;I am also using all paramters for the scan.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 08:32:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3679641#M49340</guid>
      <dc:creator>IMett</dc:creator>
      <dc:date>2024-02-05T08:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Scanner API: RLS Information</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3679673#M49341</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;I think you may want to check a step where you are flattening this JSON data. While getting lower level of data e.g.&amp;nbsp; in Roles --&amp;gt; members hierarchy, if you query for members, that query might not return those roles without members.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 08:41:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Scanner-API-RLS-Information/m-p/3679673#M49341</guid>
      <dc:creator>DAC15</dc:creator>
      <dc:date>2024-02-05T08:41:33Z</dc:date>
    </item>
  </channel>
</rss>

