- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help: import google sheet by Power query to Excel
hi,
I'm attemping to import the google sheet data into Excel by Power Query, I copy the URL of the google sheet and change edit?usp=sharing to export?format=xlsx.
However, I got below warning, "we couldn't authenticate with the credentials provided". I tried to change the different level and credential, but still fail.
I'm the owner of the google sheet and the general access is "Only people with access can open the link". I also tried to change it from "Restriced“ to organization. But still get above warning.
not sure which step causes the error🤔
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been having the same issue since last Friday with Excel files that I've been using for over two years. The issue also arose in Power BI for queries using the same anonymous authentication method. I tried refreshing on my desktop and my laptop - restarted the computers, cleared caches, checked for updates, etc. Nothing worked.
From what I can tell, this function is simply no longer available. When I switched the authentication method in Power BI to "organizational account" and used my Google credentials to authenticate, it worked, even though the Google Sheet was still set to public for anyone with the link.
I read that Google has been rolling out mandatory multi-factor authentication across its platform, and it's my suspicion that this is affecting the anonymous access function, even for files public for anyone with the link. I don't know if this is true, but I have tasks to finish, so I'm switching all of my work over to Power BI right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been having the same issue since last Friday with Excel files that I've been using for over two years. The issue also arose in Power BI for queries using the same anonymous authentication method. I tried refreshing on my desktop and my laptop - restarted the computers, cleared caches, checked for updates, etc. Nothing worked.
From what I can tell, this function is simply no longer available. When I switched the authentication method in Power BI to "organizational account" and used my Google credentials to authenticate, it worked, even though the Google Sheet was still set to public for anyone with the link.
I read that Google has been rolling out mandatory multi-factor authentication across its platform, and it's my suspicion that this is affecting the anonymous access function, even for files public for anyone with the link. I don't know if this is true, but I have tasks to finish, so I'm switching all of my work over to Power BI right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much, Kaesebro, you're right, I decide to use Power BI connector instead of Excel. It is the only solution at this moment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @神游中的Eddy,
Thanks for reaching out to the Microsoft fabric community forum.
It looks like you were facing issues related to importing data from Google sheet to Excel using Power Query. If the solutions provided by @PwerQueryKees, @adudani works for you then please accept them as solution.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi v-mdharahman,
I still had issue to import google sheet to Excel. I already login my company google account on web, but I still got the below window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @神游中的Eddy,
Before using the URL in excel to Get Data make sure you have made the required changes in General Access and given the access to anyone with the link.
You can get this access setting on the right top corner of the google sheet. Click on Share option and change the access settings accordingly.
After the setting is changed to "Anyone with the link" you can use the URL in Get Data -> From other sources -> From Web, without any credential requirement error.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Hammad.
Community Support Team
If this post helps then please mark it as a solution, so that other members find it more quickly.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks v-mdharahman, yeah, I tried the method you mentioned. but I still can't get the google sheet data. I decide to use Power BI connector instead as Kaesebro mentioned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you are doing seems to be fine.
You might want to try to clear your authentication cache and try again:
In the PowerQuery editor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi PwerQueryKees,
Thanks for the respond, clear authentication cache and sign with "Anonymous" only work for my personal google account. However, when I change back to company account, it can't work and excel shows I wasn't signed in my google account. I login my personal google account and company account by website.
not sure which step I miss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And you probably need "Anonymous", that worked for me...., but I was already signed in to Google with the correct account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi @神游中的Eddy ,
try this:
1. get data -> more -> google sheets connector
2. sign in with your google account.
let me know if this resolves the issue.
to me, it seems like you are trying to use the web/url connector
If my response(s) assisted you in any way, don't forget to drop me a Kudos 🙂
Kind Regards,
Avinash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Avinash,
yes, I use get data--from other sources---from web, I couldn't find google sheets connector in Excel, is the snapshot you provided from Power BI?
BR.
Eddy

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 03-21-2024 08:15 AM | ||
03-06-2024 10:58 AM | |||
07-03-2018 11:16 AM | |||
11-17-2023 07:51 AM | |||
07-04-2023 02:53 PM |
User | Count |
---|---|
30 | |
26 | |
24 | |
13 | |
10 |
User | Count |
---|---|
24 | |
23 | |
18 | |
12 | |
9 |