Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hey guys.
I am trying to connect to Google Bigquery using a Service Account instead of a personal account.
I have created the JSON file on the following format:
Here are some documentation regarding credentials etc - https://cloud.google.com/iam/docs/creating-managing-service-account-keys#iam-service-account-keys-cr...
I have tried to use the Client_mail as Service Account Email in Power BI Desktop and Private_key as Json File contents.
What am I doing wrong? What should I insert as JSON file contents?
Thank you in advance!
Solved! Go to Solution.
Hi @rubentj - did you ever resolve this? I notice the MS response did not answer your question.
The resolution is to update to the most recent Power BI version (June 2021) and edit the JSON file to have no carriage or line feeds returns (source: Solved: connect big query with service account - Microsoft Power BI Community).
Hi, @rubentj
You can check the steps to get email and key:
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
As I wrote, I have already created the JSON-file, so that is not the issue here. The issue is that it isn't clear what part of the file I should paste into the connector-field in Power BI desktop.
If you follow the steps, you should get information.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes, as mentioned in both posts, I have the Json file. What do I do with the Json-file? There is no information regarding what I do with the file?
Hi @rubentj - did you ever resolve this? I notice the MS response did not answer your question.
The resolution is to update to the most recent Power BI version (June 2021) and edit the JSON file to have no carriage or line feeds returns (source: Solved: connect big query with service account - Microsoft Power BI Community).
You may have already found the solution, but here is my 2 cents.
Use the client email, and for the 2nd cell, you first need to take the entire content of your JSON file (curly brackets included)
and convert them into a single line.
You can use the following online tool to convert the JSON code:
https://tools.knowledgewalls.com/online-multiline-to-single-line-converter
Hi, @rubentj
Sorry, It seems that few people know the knowledge, and we can't reproduce your scene. If you don't understand it, it is not recommended that you use this method.
Here are the steps for reference:
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.