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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
trenslow
New Member

BigQuery ODBC error

Hi community,

 

I'm trying to use the BigQuery connector to query a BigQuery table. My organization has a policy that dictates that a Customer-Managed Encryption Key (CMEK) must be specified for all data stored in Google Cloud.  In this case, data is temporarily stored when running a query on a BigQuery table, so a CMEK is needed.

 

If I run the query

 

 

SELECT * FROM <project_name>.<dataset_name>.<table_name>

 

 

I get the error:

 

Details: "ODBC: ERROR [HY000] [Microsoft][BigQuery] (100) HTTP Error 412: conditionNotMet (Your administrator requires that you specify an encryption key for queries in project `<REDACTED>`. See https://cloud.google.com/bigquery/docs/customer-managed-encryption#services_constraint for more info.)."

 

This is expected, as I didn't specify the CMEK on the query. The only ways to specify the key is to use the Query settings (UI, see picture), the BigQuery CLI or the BigQuery client libraries from e.g. Python. trenslow_0-1729007775554.png

 

As far as I can tell, there's no way to do it with Native SQL queries, which is the interface to BigQuery that the Power BI connector provides.

 

Has anyone else solved this issue? Either way, I would like to request that the BigQuery connector includes a field where the CMEK key can be specified.

 

Thanks for the consideration

2 REPLIES 2
lbendlin
Super User
Super User

If this is important to you please consider voting for an existing idea or raising a new one at https://ideas.fabric.microsoft.com

I would be happy to raise an idea if someone can confirm that it's impossible to set the CMEK on the BigQuery connector.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.