I’m currently implementing a Google Workspace Events API subscription for Google Drive events.
When I create the subscription using OAuth credentials (user-based authentication), the subscription is created successfully and events are delivered as expected.
However, when I attempt to create the same subscription using a Service Account, the subscription either:
-
Gets created but does not receive any events, or
-
Fails during creation (depending on configuration)
The only difference between the two implementations is the authentication method:
-
OAuth (authorized as a Workspace user) - Works
-
Service Account - Does not work
The Service Account has:
-
Google Drive API enabled
-
Required IAM roles configured
-
Proper access to the target Drive (including shared drive access)
My understanding is that Google Workspace Events may require a user context rather than an application/service identity, but I haven’t found clear documentation confirming whether Service Accounts are officially supported for creating Workspace Events subscriptions.
Has anyone successfully created a Google Workspace Events subscription using a Service Account (with or without domain-wide delegation)?
Are there additional requirements or limitations I might be missing?
Any clarification or documentation references would be greatly appreciated.