<?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: Trying to get roles needed for an RLS report using the APi in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4704008#M61352</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1241415"&gt;@luish_castroc&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2025 17:00:31 GMT</pubDate>
    <dc:creator>v-nmadadi-msft</dc:creator>
    <dc:date>2025-05-22T17:00:31Z</dc:date>
    <item>
      <title>Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615275#M59877</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I currently have an AppService that uses a service principal, and I'm trying to embed reports in an Angular application using a combination of a Microsoft user and a service principal to generate the embedded tokens. Everything works except that when I try to load RLS reports, I need to provide the proper roles, and I don't have an easy way to get those roles either from the user or from the PowerBI API. I have Tenant.ReadAll access, so I think that prevents me from using the admin APIs. Any advice is appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 19:55:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615275#M59877</guid>
      <dc:creator>luish_castroc</dc:creator>
      <dc:date>2025-03-18T19:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615370#M59881</link>
      <description>&lt;P&gt;You can enumerate RLS roles in a semantic model via DMV queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;select&lt;/SPAN&gt; * &lt;SPAN&gt;from&lt;/SPAN&gt; &lt;SPAN&gt;$SYSTEM&lt;/SPAN&gt;.TMSCHEMA_ROLES&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 21:43:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615370#M59881</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-18T21:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615451#M59883</link>
      <description>&lt;P&gt;Thanks for the response, im not familiar with that process since i'm using the powerbi REST api&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 23:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615451#M59883</guid>
      <dc:creator>luish_castroc</dc:creator>
      <dc:date>2025-03-18T23:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615466#M59884</link>
      <description>&lt;P&gt;You can run a DMV query through the REST API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries-in-group" target="_blank"&gt;Datasets - Execute Queries In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 23:50:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4615466#M59884</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-03-18T23:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4616446#M59899</link>
      <description>&lt;P&gt;thanks but as per the documentation on the api that won't work:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;Service Principals aren't supported for datasets with RLS per&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/admin/service-admin-rls#considerations-and-limitations" target="_blank" rel="noopener"&gt;RLS limitations&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;or datasets with SSO enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;im using a service principal.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 13:28:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4616446#M59899</guid>
      <dc:creator>luish_castroc</dc:creator>
      <dc:date>2025-03-19T13:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4690409#M61162</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1241415"&gt;@luish_castroc&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;If you have only a few RLS groups, a practical workaround is to create separate reports for each group and embed them individually, sharing each group's report accordingly, however, if there are many RLS groups, this approach becomes unmanageable and is not a suitable solution and if the feature is really important to you, Please raise a post in ideas forum&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas" target="_blank"&gt;Fabric Ideas - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;to allow the use of service principal with RLS.&lt;BR /&gt;&lt;BR /&gt;If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a&amp;nbsp;KUDOS.&amp;nbsp;Feel free to reach out if you need further assistance.&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 09:13:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4690409#M61162</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-13T09:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4697208#M61243</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1241415"&gt;@luish_castroc&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 May 2025 12:48:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4697208#M61243</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-18T12:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4704008#M61352</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1241415"&gt;@luish_castroc&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If our responses has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 17:00:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4704008#M61352</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-22T17:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4710820#M61468</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1241415"&gt;@luish_castroc&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the community members for the issue worked. If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 17:11:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4710820#M61468</guid>
      <dc:creator>v-nmadadi-msft</dc:creator>
      <dc:date>2025-05-28T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get roles needed for an RLS report using the APi</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4824668#M63095</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sorry for the late response. What I ended up doing was a combination of steps: I used the workspace analysis with the dataset to get the full list of roles on the report and who’s assigned to them. Since I already had the user’s email and the AD groups, I just compared them and pulled out the matches.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-post-workspace-info" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-post-workspace-info&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result" target="_blank" rel="noopener"&gt;https://learn.microsoft.com/en-us/rest/api/power-bi/admin/workspace-info-get-scan-result&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2025 14:41:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Trying-to-get-roles-needed-for-an-RLS-report-using-the-APi/m-p/4824668#M63095</guid>
      <dc:creator>luish_castroc</dc:creator>
      <dc:date>2025-09-12T14:41:12Z</dc:date>
    </item>
  </channel>
</rss>

