<?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: Datasets - Execute Queries In Group in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453551#M44747</link>
    <description>&lt;P&gt;I get the limitation, but in this case for what there is imparsonation field in body of the request ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2023 13:15:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-09-29T13:15:34Z</dc:date>
    <item>
      <title>Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3395391#M44044</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to use API REST CALL with service principal - &lt;A href="https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries-in-group#datasetexecutequeriesrequest" target="_blank" rel="noopener"&gt;Datasets - Execute Queries In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Since service principals cannot be added to RLS role this for reports with RLS turned on the SP needs to impersonate the user having relevant RLS role.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;And now the issue:&lt;/STRONG&gt; does the impersonated user need to have rights to use rest api call (SP has such rights in my setup)? I get 401 error for datasets with RLS but for datasets with no RLS all is working as the impersonation is ignored.&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;thx,&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Aug 2023 17:51:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3395391#M44044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-23T17:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3397988#M44076</link>
      <description>&lt;DIV class="" data-heading-level="h2"&gt;
&lt;H2 class=""&gt;Limitations&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;Datasets that are hosted in Azure Analysis Services or that have a live connection to an on-premises Azure Analysis Services model aren't supported.&lt;/LI&gt;
&lt;LI&gt;The tenant setting&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Dataset Execute Queries REST API, found under&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Integration settings, must be enabled.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;One query per API call.&lt;/LI&gt;
&lt;LI&gt;One table request per query.&lt;/LI&gt;
&lt;LI&gt;Maximum of 100,000 rows or 1,000,000 values per query (whichever is hit first). For example if you query for 5 columns, you can get back max 100,000 rows. If you query for 20 columns, you can get back max 50,000 rows (1 million divided by 20).&lt;/LI&gt;
&lt;LI&gt;Maximum of 15MB of data per query. Once 15MB is exceeded, the current row will be completed but no additional rows will be written.&lt;/LI&gt;
&lt;LI&gt;There's a limit of 120 query requests per minute per user, regardless of the dataset that's queried.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Service Principals aren't supported for datasets with RLS per&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-bi/admin/service-admin-rls#considerations-and-limitations" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;RLS limitations&amp;nbsp;or with SSO enabled. To use Service Principals, make sure the admin tenant setting&amp;nbsp;&lt;/A&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/admin/service-admin-portal-developer#allow-service-principals-to-use-power-bi-apis" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;&lt;EM&gt;Allow service principals to use Power BI APIs&amp;nbsp;under&amp;nbsp;&lt;EM&gt;Developer settings&amp;nbsp;is enabled.&lt;/EM&gt;&lt;/EM&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Only DAX queries are supported at this time. MDX and DMV queries are not supported.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Aug 2023 23:14:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3397988#M44076</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-08-24T23:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3403769#M44138</link>
      <description>&lt;P&gt;I know the limitation listed above and this is not answering the question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/admin/service-admin-portal-developer#allow-service-principals-to-use-power-bi-apis" target="_blank" rel="noopener"&gt;&lt;EM&gt;"Allow service principals to use Power BI APIs"&amp;nbsp;&lt;/EM&gt;&lt;/A&gt;- This option is enabled in my case for given SP&lt;/LI&gt;&lt;LI&gt;Its true that RLS does not support&amp;nbsp; SP (You can't add it to any RLS role) but the API call I'm refering do have an user impersonation option: "The UPN of a user to be impersonated. If the model is not RLS enabled, this will be ignored."&lt;P&gt;&lt;BR /&gt;So what is the behaviour MS designed?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;dataset with no RLS + SP used + no impersonation - this works (impersonation if provided is ignored)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;dataset with RLS + SP used + impersonated user with RLS role assigned- this doesn't work. &lt;STRONG&gt;Will it work if the impersonated user will be granted the privilege to query Power BI API?&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Aug 2023 07:59:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3403769#M44138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-29T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453551#M44747</link>
      <description>&lt;P&gt;I get the limitation, but in this case for what there is imparsonation field in body of the request ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 13:15:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453551#M44747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-29T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453870#M44752</link>
      <description>&lt;P&gt;Can you confirm that the tenant admin enabled the setting?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 16:29:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453870#M44752</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-29T16:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453882#M44753</link>
      <description>&lt;P&gt;Yes it is enabled for this service principal (not for all users)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 16:40:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/3453882#M44753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-29T16:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/4007215#M53669</link>
      <description>&lt;P&gt;Hi, I am facing the same issue. Executing queries on a dataset without RLS works through Rest API, but as soon as I enable RLS and use impersonation I get the PowerBINotAuthorizedException.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a DirectLake dataset and the user that is being impersonated is a tech user with all rights granted to the dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any solution to this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 15:17:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/4007215#M53669</guid>
      <dc:creator>Alic3Wonder</dc:creator>
      <dc:date>2024-06-24T15:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets - Execute Queries In Group</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/4906872#M64164</link>
      <description>&lt;P&gt;Anyone solved the case ?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Jacek&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 09:46:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Datasets-Execute-Queries-In-Group/m-p/4906872#M64164</guid>
      <dc:creator>jaryszek</dc:creator>
      <dc:date>2025-12-22T09:46:12Z</dc:date>
    </item>
  </channel>
</rss>

