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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.