Google Workspace: manage domain-wide delegation programmatically

Viewed 279

I have an application that can manage Google Calendar within the Google Workspace of the company. The application contains more than one company. I want to use domain-wide delegation. As described here or here admin of the workspace needs to add service account id and scope manually.

Is the way to do this programmatically?

2 Answers

After some research and also looking into Google Workspace's Admin SDK documentation here and here this does not seem to be an available option at the moment.

You may want to submit a feature request here for that.

For service or local applications, the admin has to manually generate the service account and grant this service account with domain-wide authorization. There is no way to do this programmatically (unless for pure SaaS applications).

Related