<?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: Permission management operations via REST API. in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Permission-management-operations-via-REST-API/m-p/3634936#M48719</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching to us with your problems. Base on my research, it seems that there is no such REST API can manage the user at the report level. You can manage the user at workspace by the following REST API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/groups/add-group-user" target="_blank"&gt;Groups - Add Group User - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for&amp;nbsp;giving permissions to a user on a semantic model via REST API, you can refer the following link to get it.&amp;nbsp;Power BI has two sets of permissions: &lt;EM&gt;Workspace permissions&lt;/EM&gt; and&lt;EM&gt; Item permissions&lt;/EM&gt;. Semantic model permissions are part of the item permissions. And for&amp;nbsp;&lt;SPAN&gt;a semantic model that uses row-level security (RLS), any permissions&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;higher&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;than&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;build&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;will enable the user to view all the data in the semantic model.&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Build&lt;/CODE&gt;&lt;SPAN&gt;, and permissions lower than&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;build&lt;/CODE&gt;&lt;SPAN&gt;, will only give the semantic model user access to the data they're allowed to see as configured in your RLS settings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/datasets-permissions" target="_blank"&gt;Power BI REST APIs semantic model permissions - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Workspace permissions" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024379iDBE01F9EE7CFBE92/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_1-1705034146863.png" alt="Workspace permissions" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Workspace permissions&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;S&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Semantic model permissions" style="width: 854px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024380i2305DD845610C934/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_2-1705034205217.png" alt="Semantic model permissions" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Semantic model permissions&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jan 2024 04:37:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-01-12T04:37:53Z</dc:date>
    <item>
      <title>Permission management operations via REST API.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Permission-management-operations-via-REST-API/m-p/3633402#M48703</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the following questions and I can't find a clear solution.&lt;/P&gt;&lt;P&gt;Context: &lt;STRONG&gt;Power Bi Embedded&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. Can I give a user (&lt;EM&gt;meaning the organization's user&lt;/EM&gt;) reading access to a report published in Power Bi through some operation via REST API?&lt;/P&gt;&lt;P&gt;2. Can I give permissions to a user (&lt;EM&gt;meaning an organization user&lt;/EM&gt;) on a semantic model that has created a specific role (&lt;U&gt;obviously already created previously&lt;/U&gt;) via REST API? It is to apply row level security (&lt;STRONG&gt;RLS&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;BR /&gt;Greetings&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 15:06:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Permission-management-operations-via-REST-API/m-p/3633402#M48703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-11T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Permission management operations via REST API.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Permission-management-operations-via-REST-API/m-p/3634936#M48719</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching to us with your problems. Base on my research, it seems that there is no such REST API can manage the user at the report level. You can manage the user at workspace by the following REST API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/groups/add-group-user" target="_blank"&gt;Groups - Add Group User - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And for&amp;nbsp;giving permissions to a user on a semantic model via REST API, you can refer the following link to get it.&amp;nbsp;Power BI has two sets of permissions: &lt;EM&gt;Workspace permissions&lt;/EM&gt; and&lt;EM&gt; Item permissions&lt;/EM&gt;. Semantic model permissions are part of the item permissions. And for&amp;nbsp;&lt;SPAN&gt;a semantic model that uses row-level security (RLS), any permissions&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;higher&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;than&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;build&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;will enable the user to view all the data in the semantic model.&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Build&lt;/CODE&gt;&lt;SPAN&gt;, and permissions lower than&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;build&lt;/CODE&gt;&lt;SPAN&gt;, will only give the semantic model user access to the data they're allowed to see as configured in your RLS settings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/embedded/datasets-permissions" target="_blank"&gt;Power BI REST APIs semantic model permissions - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Workspace permissions" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024379iDBE01F9EE7CFBE92/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_1-1705034146863.png" alt="Workspace permissions" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Workspace permissions&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;S&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Semantic model permissions" style="width: 854px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1024380i2305DD845610C934/image-size/large?v=v2&amp;amp;px=999" role="button" title="vyiruanmsft_2-1705034205217.png" alt="Semantic model permissions" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Semantic model permissions&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 04:37:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Permission-management-operations-via-REST-API/m-p/3634936#M48719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-12T04:37:53Z</dc:date>
    </item>
  </channel>
</rss>

