MithiDocs

Enable Domain-wide Delegation in Google Workspace

Overview

The Client ID generated when getting the Google Workspace API key has to be used to enable domain wide delegation as mentioned below.

Steps

Login to G-suite Admin account and navigate to Google Admin.

 Http link: https://admin.google.com

    a. Click on Security

    b. Select on Access and data control

    c. Click on API controls

Google Workspace Admin Enable domain-wide delegation| LegacyFlo





    d. Click On MANAGE DOMAIN WIDE DELEGATION

Google Workspace Admin Manage Domain Wide Delegation| LegacyFlo 




   e. Click on Add new

Google Workspace Admin Enable the API Services| LegacyFlo




    f. Paste the Client ID  when getting the API access

    g. In OAuth scopes (comma-delimited), provide the string for the relevant API

    h. Click the AUTHORIZE button

GDrive APIhttps://www.googleapis.com/auth/drive
(Required if you want to access data in any user's drive AND if you want to archive Google Chat transcripts )
Google Workspace Admin client id| LegacyFlo
Admin SDK APIhttps://www.googleapis.com/auth/admin.directory.group.readonly
(Required if you want to use Distribution List ID in the LegacyFlo Scheduler)
https://www.googleapis.com/auth/admin.directory.user.readonly
(Required if you want to archive Google Chat transcripts) 
https://www.googleapis.com/auth/admin.reports.usage.readonly
(Required to calculate mailbox size for mailbox data migration)
Gmail APIhttps://mail.google.com/
(Required if you want to access data in any user's mailbox )
Google Chat APIhttps://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.memberships.readonly
(Required if you want to access Google Chat transcripts)

 

This completes the process of enabling the domain-wide delegation for GSuite for the required API