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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.