Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

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

  • v-frfei-msft's avatar
    v-frfei-msft
    Icon for Community Support rankCommunity 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?

     

    • DavidPROVOST's avatar
      DavidPROVOST
      Icon for Advocate III rankAdvocate III

      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.

      • andylai's avatar
        andylai
        New Member

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