All Questions
Tagged with google-admin-sdk google-cloud-platform
41
questions
0
votes
1
answer
40
views
How to manage archived accounts in Google Workspace?
I am very new to the Google world and trying to get some automation done to see if the below would work in App-script. I am also not a Java guy, so I try my best. We use Okta as our SSO. Once a user ...
0
votes
0
answers
54
views
Getting Google Admin SDK API Token with HTTP request
I've been getting an Authentication error every time I make an HTTP request via Python.
{
"error": {
"code": 401,
"message": "Request is missing required ...
0
votes
2
answers
63
views
Unable to Access User Data Using Google Admin SDK Directory API with Service Account
I'm encountering an issue while attempting to access user data using the Google Admin SDK Directory API with a service account. Here's the scenario:
I have a Python script that utilizes the Google ...
0
votes
0
answers
27
views
Using Google Admin APIs, how can I export the list of Company Owned Devices with Encryption (BitLocker) Status?
As part of a regular compliance task we need to verify the BitLocker Drive Encryption on all users Windows Machines.
Ideally I would like to have it in the following format, which should be easy ...
-1
votes
1
answer
301
views
Google workload identity federation to call directory API
I'm trying to set up Google Identity Federation with AWS to make admin.directory API calls from aws lambda function. It is written in Java.
I set up workload pool, created service account and ...
0
votes
1
answer
142
views
I am trying to get all users from google workspace using python but I am getting a HTTP error with code 400 after making the API call
I am trying to get all users from google workspace using python but I am getting this error message as a response " "exception": "googleapiclient.errors.HttpError: <HttpError ...
0
votes
0
answers
80
views
Looking for an API call to fetch all domain-wide delegations within my Google Admin Console
For security reasons we are looking to automate calls into Google Admin Console (Workspace) in order to fetch, once a day, all the domain-wide delegations within our Google Admin console, the call ...
0
votes
1
answer
495
views
Credentials to use google ADMIN SDK API
I've been tasked to write a short script that will add a user to a group in google workspace. However, I'm really new to the documentation and its not making any sense to me.
I created a new account ...
0
votes
1
answer
37
views
able to access each user’s detail using Admin SDK api but unable to access each user's drive file it just reads files which is present in my drive
We have created service account on GCP console.
We have enabled domain-wide delegation - which helps to authenticate as a domain user and list the Drive files
We have added private key, client email ...
1
vote
1
answer
379
views
Unable to use firebase admin sdk in google cloud run application
I am trying to use the firebase admin sdk in my javascript web application hosted in google cloud run so that I can manage firebase users. It is working locally but not on google cloud.
I was able to ...
0
votes
0
answers
101
views
list a user's role without admin rights in gcp using post oauth openid authentication
after completing the oauth openid authentication I want to list the roles (or groups) the user is part of. I tried adminSDK api but that is only for account admin (this is what i understood).
I want ...
0
votes
1
answer
56
views
Can One Gmail Account Has Access to Two Apps with different Custom Claims in Firebase Admin SDK
I want to ask about Firebase Admin SDK in case for using Custom Claim between two related apps: Server App and Client App. Each of them has different features. They are all placed inside the same ...
0
votes
0
answers
237
views
Accessing Multiple Google Cloud API services in the same Python Program through a service ac gives Unauthorized_client error
I have a service account created and given DwD with necessary scopes.
https://www.googleapis.com/auth/admin.directory.user.readonly
https://www.googleapis.com/auth/admin.directory.group.readonly
https:...
1
vote
0
answers
742
views
How to check Google Service Account access for a domain?
I have a service account that I have created in a project in GCP. This service account will then be provided access to different domains using Domain-wide Delegation.
When the Domain-wide Delegation ...
4
votes
2
answers
4k
views
Does a Service Account have to impersonate a user to access the Directory Api?
I think I might be misunderstanding how Service Accounts work in GCP, as I don't understand why (in my situation) they need to impersonate a user to complete a task.
I need to access some information ...