Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

BigQuery connector requires Job permissions even if Storage Read API is used

According to Microsoft documentation PowerBI BigQuery connector should use Storage Read API by default https://learn.microsoft.com/en-us/power-query/connectors/google-bigquery#unable-to-authenticate-with... . Google documentation says that it is alternative mechanism to BigQuery REST API and Jobs https://cloud.google.com/bigquery/docs/reference/storage#background .

 

However, even if PowerBI project is configured to use UseStorageApi=true at least first connection to the BigQuery dataset still tries to use REST API.

 

 

DataSource.Error: ODBC: ERROR [42000] [Microsoft][BigQuery] (100) Error interacting with REST API: Access Denied: Project test-cloud-billing: User does not have bigquery.jobs.create permission in project test-cloud-billing.
Details:
    DataSourceKind=GoogleBigQuery
    DataSourcePath=GoogleBigQuery
    OdbcErrors=[Table]

 

 

 

Not sure if that's the way PowerBI data preview works or because of other reasons, but this produces two issues:

1) It negated usage of Storage Read API as a more performant option and incurrs BigQuery Job costs. For example, if BigQuery dataset has millions of rows first transfer is always performed via traditional REST API Jobs.

2) It requires additional BigQuery Job User permissions, which are not always available in fine grained environments.

 

IMHO, BigQuery should be fixed to use only Storage API if that is specified in the project.

Status: Investigating
Comments
Anonymous
Not applicable

Hi  @ViliusS 

Based on the above information, if you are a Power BI Pro licensee, you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you.

It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

The link of Power BI Support: https://powerbi.microsoft.com/en-us/support/

For how to create a support ticket, please refer to https://community.powerbi.com/t5/Community-Blog/How-to-create-a-support-ticket-in-Power-BI/ba-p/6830...

 

Best Regards,
Community Support Team _ Ailsa Tao

ViliusS
Regular Visitor

PowerBI Support page was really complicated but I have filled the ticket regarding this. Hopefully it will reach needed channels.