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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Varian
New Member

Credentials for Google Sheets connector

In the beta version of Nov, I change my report datasource to Google sheet, and enable the schedule refresh.

But I find the credentials always expired manybe after 1hour, and I need to edit the credentials again and again.

Varian_0-1638517634785.png

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Varian ,

 

The situation you mentioned does exist. This is a known issue, ICM is 274490819. While doing OAuth2 authentication, GoogleSheets connector was not receiving refresh token due to which once Access token expires(after one hour), there is no way for for GoogleSheets report to refresh and get new access token. This makes report fail after one hour. I will follow up on this issue in this post.


Also, based on my testing, you can currently try the Web connector to connect Google Sheets, please refer to https://www.youtube.com/watch?v=Z9V221eNbi0

 

vkkfmsft_0-1638784805314.png

Then use standard gateway to connect to the data source and it will not have invalid credentials as frequently as the google sheet connector.

 

vkkfmsft_2-1638854110115.png

vkkfmsft_1-1638853507819.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
DavidPROVOST
Advocate II
Advocate II

Initially, Google sheets connector could only connect to anonymous files.

At the end of 2021, it worked fine on sheets with restricted permissions (OAuth2). During january, there has been an issue with OAuth2 refresh token. which has been fixed meanwhile. Now, everything works fine.

DavidPROVOST
Advocate II
Advocate II

I have the same problem here, Still not resolved. Or should I re-publish from the Last version of desktop ? As for the propose solution, are cant figure out how to set google credentials for datasource ?

Anonymous
Not applicable

I think this issue has been resolved. My report works just fine.

Hi, are you connecting to a protected sheet that needs a login from specific users? or an open sheet available to be read by anyone with the link?

v-kkf-msft
Community Support
Community Support

Hi @Varian ,

 

The situation you mentioned does exist. This is a known issue, ICM is 274490819. While doing OAuth2 authentication, GoogleSheets connector was not receiving refresh token due to which once Access token expires(after one hour), there is no way for for GoogleSheets report to refresh and get new access token. This makes report fail after one hour. I will follow up on this issue in this post.


Also, based on my testing, you can currently try the Web connector to connect Google Sheets, please refer to https://www.youtube.com/watch?v=Z9V221eNbi0

 

vkkfmsft_0-1638784805314.png

Then use standard gateway to connect to the data source and it will not have invalid credentials as frequently as the google sheet connector.

 

vkkfmsft_2-1638854110115.png

vkkfmsft_1-1638853507819.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors