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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Errors: No OAuth token with Google Drive scope was found.

I get an error (see below) when connecting BI to a view in bigquery that uses a table where the source is a google sheet on google drive.  I appear to have permissons to the google drive and can access the google sheet and see the view that uses the google sheet as a source. Anyone else had this?

 

DataSource.Error: ODBC: ERROR [42000] [Microsoft][BigQuery] (70) Invalid query: Error while reading table: <bigquery view>, error message: Failed to read the spreadsheet. Errors: No OAuth token with Google Drive scope was found.
Details:
DataSourceKind=GoogleBigQuery
DataSourcePath=GoogleBigQuery
OdbcErrors=[Table]

 

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my research, accessing data hosted within Google Drive requires an additional OAuth scope. Have you enabled Google Drive access following the guide in this article?

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Hey DBrownlow. Same problem here. Did you get through this ?

Simiar problem occur when trying to read Google sheet directly from Power BI : Works fine with a public access GSheet, but fails if authentication is required. Funny, as I already have a Google OAuth Token with BigQuery. GSuite tokens differ from GCP Tokens ?

 

I'll read the provided article.

Do you found any solution? Because I am having the same issue also.

Not much of a solution but as a quick workaround you can copy the content of the external Google Sheets table into a native BigQuery table with a scheduled query.

 

You can write the following query on the BigQuery UI:

 

     SELECT * FROM `project.dataset.external_table` 
 

 

Then schedule the query to run daily or hourly, and override the table `project.dataset.native_table`.

 

Finally, replace references to 'external_table' with 'native_table' in the view.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.