<?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 BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied) in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/491279#M19081</link>
    <description>&lt;P&gt;When trying to connect to our BigQuery project, I am running into this problem:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DataSource.Error: ERROR [HY000] [Microsoft][BigQuery] (100) Error interacting with REST API: Access Denied: Dataset projectname:first_dataset_name: The user name@domain.com does not have bigquery.tables.list permission for projectname:first_dataset_name."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically our BigQuery project has permission granted on the dataset level (by using BigQuery's "Share Dataset"). We get this with any user who has restricted access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Person A has access to BQ dataset 1, 2, 5 which was done by using "Share Dataset" (we have BQ dataset 1, 2, 3, 4, 5)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When Person A connects using BigQuery Connector through PowerBI, they get the HY000 error (they do not have permission to list 3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally what should happen is to skip over any datasets that a person does not have permission to list instead of failing on the first permission error.&lt;/P&gt;&lt;P&gt;- Person A can access 1, 2, 5 (PowerBI BigQuery connector skips dataset 3 and 4 because Person A doesn't have the permission for those).&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 09:44:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-16T09:44:08Z</dc:date>
    <item>
      <title>BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/491279#M19081</link>
      <description>&lt;P&gt;When trying to connect to our BigQuery project, I am running into this problem:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DataSource.Error: ERROR [HY000] [Microsoft][BigQuery] (100) Error interacting with REST API: Access Denied: Dataset projectname:first_dataset_name: The user name@domain.com does not have bigquery.tables.list permission for projectname:first_dataset_name."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically our BigQuery project has permission granted on the dataset level (by using BigQuery's "Share Dataset"). We get this with any user who has restricted access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Person A has access to BQ dataset 1, 2, 5 which was done by using "Share Dataset" (we have BQ dataset 1, 2, 3, 4, 5)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When Person A connects using BigQuery Connector through PowerBI, they get the HY000 error (they do not have permission to list 3).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ideally what should happen is to skip over any datasets that a person does not have permission to list instead of failing on the first permission error.&lt;/P&gt;&lt;P&gt;- Person A can access 1, 2, 5 (PowerBI BigQuery connector skips dataset 3 and 4 because Person A doesn't have the permission for those).&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 09:44:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/491279#M19081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-16T09:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/492405#M19124</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;If these datasets are in a single project, you would need to grant permission on the list which is mentioned in error message.&lt;BR /&gt;&lt;BR /&gt;However, if you know the specific table name that you want to connect to, please add a blank query and paste the following code into Advanced Editor of the blank query, then check if you get any errors.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;let
    Source = GoogleBigQuery.Database(null),
    #"project-data" = Source{[Name="yourprojectname"]}[Data],
    table_Schema = #"project-data"{[Name="yourtable",Kind="Schema"]}[Data]
in
table_Schema&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;There is an example for your reference.&lt;BR /&gt;&lt;img /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Lydia&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 08:39:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/492405#M19124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-17T08:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/492477#M19130</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If these datasets are in a single project, you would need to grant permission on the list which is mentioned in error message.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We do not grant project-wide permissions to certain users; we give it on a per-dataset. We are using Google BigQuery's "Share Dataset" to help us do access control of our data.&amp;nbsp;&lt;A href="https://cloud.google.com/bigquery/docs/datasets" target="_blank"&gt;https://cloud.google.com/bigquery/docs/datasets&lt;/A&gt; (under "Controlling access to dataset")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is it not possible to use Google BigQuery's per-dataset permission model with Power BI? Can Power BI's BigQuery connector not just ignore the datasets which you don't have permission to access?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also I've tried your other suggestion. It seems by Table, you mean BigQuery Dataset.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Aug 2018 09:28:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/492477#M19130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-17T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/493884#M19178</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;I am afraid that&amp;nbsp;&lt;SPAN&gt;Power BI's BigQuery connector can't ignore the datasets which you don't have permission to access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Lydia&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 09:14:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/493884#M19178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-20T09:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/495586#M19215</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see, is it possible to request this feature somewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 02:10:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/495586#M19215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-22T02:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: BigQuery Connector Error: Restricted datasets causes connection failure (REST API: access denied)</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/497081#M19250</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;You can submit a feature request in Power BI ideas forum:&lt;A href="https://ideas.powerbi.com/forums/265200" target="_blank"&gt;https://ideas.powerbi.com/forums/265200&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Lydia&lt;/P&gt;</description>
      <pubDate>Thu, 23 Aug 2018 08:17:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/BigQuery-Connector-Error-Restricted-datasets-causes-connection/m-p/497081#M19250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-23T08:17:14Z</dc:date>
    </item>
  </channel>
</rss>

