All Questions
5
questions
16
votes
6
answers
15k
views
【Google OAuth】AttributeError: 'InstalledAppFlow' object has no attribute 'run_console'
I wrote a Python script(Google_add.py) which creates users in the Google Workspace. However, When it is run, an AttributeError occurred. How do I resolve this Error?
・Google_add.py (Excerpt)
PATH = '/...
2
votes
1
answer
4k
views
Accessing Google Admin API via Service Account
Is it possible to access the Google Admin Reports API via server to server Service Account authorization?
I am try to make a server to server call to the Google Admin API, following the tutorial here.
...
2
votes
2
answers
1k
views
Get refresh token using service account impersonation Google Drive
I wrote a script that will search for files in multiple users gdrives in our company. The problem is that the script works but only for a period of time, but then it gets HTTP 401 errors, most likely ...
2
votes
1
answer
501
views
How can I access user info on a domain without the domain administrator enabling API access?
I have written an application that I have listed in the Google Marketplace. I am trying to get my app to use the Directory API (part of the Admin SDK). According to the documentation here: https://...
3
votes
1
answer
3k
views
What is the proper way to authenticate with Google to use Google Directory API in the Admin SDK?
I've been having trouble over the past few days using the Google Directory API in the Admin SDK for Google Apps. The documentation leaves a lot to be desired and when I contacted Google Apps ...