'Signing in to Google Sheets from Excel Power Query

I can use the Power Query tool to import data from Google Sheets easily, if the sheet is publicly available via a link. I just choose "Data from Web" and use the Google Sheets link like this: https://docs.google.com/spreadsheets/d/sOMe-un1n7eLLig_ible-kEy/export&format=xlsx

As authentication option I choose anonymous. The "Standard" method with my google username and password always results in "wrong credentials". What is the way here to get the authentication working?

Update: What I have found out so far

Update 2022-04-19

  • There is a step-by-step guide on how to use Power Query to access Git-Hub with OAuth2.0. It uses a Power BI URL as a redirect URL.
  • Google offers some sample implementations of the OAuth2.0 process in C#.

My current problem is, that apparently Google has removed the option to allow any other redirect-URI than localhost in the client-id config.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source