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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lfrazzoni
Frequent Visitor

Connection error for Google BigQuery Service Account Login - Access Denied

Hi all,

sometimes (not always) I receive a connection error to Google Big Query (I'm using Service Account), but I don't understand why.

Quick intro:

On my Power BI Desktop, when I'm crearting the new BigQuery connection, I see three different project:

  • ProjectA
  • ProjectB
  • ProjectC

I've got permissions only for ProjectA because I have all my tables there.

I've made the connection and I've choseen the tables of ProjectA without problems, but sometimes I receive an error during the refresh (both on Desktop and Service): "Access Denied: Project ProjectB".
It's correct that I don't have access to ProjectB, but all my tables are in ProjectA. I don't understand why sometimes the refresh works, and sometimes doesn't.
I published the report and the dataset on PBI Service and, once again, the refresh works intermittently.

This is the error:

DataSource.Error: <ccon>ODBC: ERROR [42000] [Microsoft][BigQuery] (100) Error interacting with REST API: Access Denied: Project ProjectB: User does not have bigquery.jobs.create permission in project ProjectB.. DataSourceKind = GoogleBigQuery. DataSourcePath = GoogleBigQuery. OdbcErrors = #table({"SQLState", "NativeError", "Message"}, {}). </ccon>. The exception was raised by the IDbCommand interface. Table: Table1.

This is the Refresh History on PBI Service (all with the same Service Account Login and without any changes):

lfrazzoni_0-1676367318512.png

lfrazzoni_0-1676368121662.png

 

Feel free to ask any information you need. 


Thanks for the help.

 

Luca

 

 

1 ACCEPTED SOLUTION
lfrazzoni
Frequent Visitor

I think it's a connector bug, I've solved reducing visibility in the service account to just Project A.
I still don't understand how I can receive error on a table that I'm not using.

View solution in original post

1 REPLY 1
lfrazzoni
Frequent Visitor

I think it's a connector bug, I've solved reducing visibility in the service account to just Project A.
I still don't understand how I can receive error on a table that I'm not using.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.