<?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: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369877#M34728</link>
    <description>&lt;P&gt;Since you have a Pro license you can consider raising a Pro ticket at &lt;A href="https://powerbi.microsoft.com/en-us/support/pro/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/support/pro/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 11:32:42 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2022-03-02T11:32:42Z</dc:date>
    <item>
      <title>PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2364350#M34679</link>
      <description>&lt;P&gt;Hello! I am trying to use the ExecuteQueries endpoint of the PowerBI API in order to execute some DAX, but for this specific dataset and workspace combination, I am getting a 401 PowerBINotAuthorizedException.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have added the service principal to the workspace and other endpoints work without issue, such as getting the refresh history.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 10:32:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2364350#M34679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-28T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2368579#M34714</link>
      <description>&lt;P&gt;"&amp;nbsp;&lt;SPAN&gt;I am trying to use the ExecuteQueries endpoint of the PowerBI API"&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;From where?&amp;nbsp; Have you registered an application and have you applied for the required permissions and scope?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries" target="_blank"&gt;Datasets - Execute Queries - REST API (Power BI Power BI REST APIs) | Microsoft Docs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 23:22:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2368579#M34714</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-01T23:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369417#M34722</link>
      <description>&lt;P&gt;It is executed via Python code, but that is not the issue. The app is properly registered and the service principal is added to the workspace. ExecuteQueries works in other workspaces and in this specific workspace, other&amp;nbsp; endpoints work just fine, besides ExecuteQueries.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:07:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369417#M34722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-02T08:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369858#M34726</link>
      <description>&lt;P&gt;V2 workspace?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:23:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369858#M34726</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-02T11:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369862#M34727</link>
      <description>&lt;P&gt;Yes, it is a v2 workspace.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:26:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369862#M34727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-02T11:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369877#M34728</link>
      <description>&lt;P&gt;Since you have a Pro license you can consider raising a Pro ticket at &lt;A href="https://powerbi.microsoft.com/en-us/support/pro/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/support/pro/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 11:32:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2369877#M34728</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-02T11:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2378002#M34797</link>
      <description>&lt;P&gt;I managed to find why this does not work. It is because the ExecuteQueries API endpoints does not work on datasets using RLS.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 07:48:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2378002#M34797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-07T07:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBINotAuthorizedException when trying to use ExecuteQueries endpoint</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2379960#M34815</link>
      <description>&lt;P&gt;To be clear, that is only a limitation for the Service Principal - for quite obvious reasons.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2 class=""&gt;Limitations&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;Only datasets in a&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-new-workspaces" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;new workspace experience&lt;SPAN&gt;&amp;nbsp;workspace, that is to say a&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;V2&lt;SPAN&gt;&amp;nbsp;workspace, are supported.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&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;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-premium-connect-tools" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;Allow XMLA endpoints and Analyze in Excel with on-premises datasets&lt;SPAN&gt;&amp;nbsp;must be enabled.&lt;/SPAN&gt;&lt;/A&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 table rows per query.&lt;/LI&gt;
&lt;LI&gt;Service Principals aren't supported for datasets with RLS per&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls#considerations-and-limitations" target="_blank" rel="noopener" data-linktype="absolute-path"&gt;RLS limitations&lt;SPAN&gt;&amp;nbsp;and user impersonation isn't supported.&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 08 Mar 2022 01:32:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBINotAuthorizedException-when-trying-to-use-ExecuteQueries/m-p/2379960#M34815</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-03-08T01:32:44Z</dc:date>
    </item>
  </channel>
</rss>

