<?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 REST API query against dataset error in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-query-against-dataset-error/m-p/4127500#M55044</link>
    <description>&lt;P&gt;I am trying to use the Power BI REST API through PowerApps to query a Power BI dataset.&amp;nbsp; It works fine for me and for another person who had contributor access to the workspace that the Power BI data set is in, but it's not working for other users.&amp;nbsp; The dataset has RLS active, I'm assigned the role in RLS that lets me view everything.&amp;nbsp; The other users have workspace access and build access to the dataset, and the query is set up with me as the impersonatedUserName.&amp;nbsp; But they get an error that PowerBEntityNotFound, cannot query the dataset by using the REST API because the dataset was not found or you do not have the required permissions.&amp;nbsp; This exact setup with user permissions--(Workspace Viewer, Build (app)) with impersonatedusername as someone assigned the RLS role--is working for a different app that is querying a different dataset in the same workspace.&amp;nbsp; I don't know what else to try to get this to work.&amp;nbsp; From what I read, this should be working.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 19:45:44 GMT</pubDate>
    <dc:creator>toniacheung</dc:creator>
    <dc:date>2024-08-30T19:45:44Z</dc:date>
    <item>
      <title>Power BI REST API query against dataset error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-query-against-dataset-error/m-p/4127500#M55044</link>
      <description>&lt;P&gt;I am trying to use the Power BI REST API through PowerApps to query a Power BI dataset.&amp;nbsp; It works fine for me and for another person who had contributor access to the workspace that the Power BI data set is in, but it's not working for other users.&amp;nbsp; The dataset has RLS active, I'm assigned the role in RLS that lets me view everything.&amp;nbsp; The other users have workspace access and build access to the dataset, and the query is set up with me as the impersonatedUserName.&amp;nbsp; But they get an error that PowerBEntityNotFound, cannot query the dataset by using the REST API because the dataset was not found or you do not have the required permissions.&amp;nbsp; This exact setup with user permissions--(Workspace Viewer, Build (app)) with impersonatedusername as someone assigned the RLS role--is working for a different app that is querying a different dataset in the same workspace.&amp;nbsp; I don't know what else to try to get this to work.&amp;nbsp; From what I read, this should be working.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 19:45:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-query-against-dataset-error/m-p/4127500#M55044</guid>
      <dc:creator>toniacheung</dc:creator>
      <dc:date>2024-08-30T19:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI REST API query against dataset error</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-query-against-dataset-error/m-p/4127642#M55045</link>
      <description>&lt;P&gt;My understanding is that the PowerApps user has to have a workspace role above Viewer. This also means that RLS will be ignored.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 23:59:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-REST-API-query-against-dataset-error/m-p/4127642#M55045</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-08-30T23:59:23Z</dc:date>
    </item>
  </channel>
</rss>

