Skip to main content
The 2024 Developer Survey results are live! See the results

All 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 ...
user23538794's user avatar
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 ...
Samuel Kastning's user avatar
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 ...
user23766341's user avatar
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 ...
CloudTheWolf's user avatar
-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 ...
Sanghyun Kim's user avatar
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 ...
Verckys Orwa's user avatar
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 ...
Jariv Ashkenazy's user avatar
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 ...
Hadi Khan's user avatar
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 ...
Sumitra Kumari Shaw's user avatar
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 ...
Dan Rosen's user avatar
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 ...
Shashank Shekhar's user avatar
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 ...
Wege's user avatar
  • 337
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:...
pras123's user avatar
  • 63
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 ...
Steve Norwood's user avatar
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 ...
Steve Norwood's user avatar

15 30 50 per page