Loading...

Delegate Domain-Wide Authority to the Service Account

To authorize other applications to access domain-wide data of Gmail and Google Drive users, delegate domain-wide authority to the service account.

For instructions on delegating domain-wide authority, go to the Google Developers website, Delegating domain-wide authority to the service account.

Enter the following API scopes that your application will access:

https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/userinfo.profile, https://www.googleapis.com/auth/gmail.modify, https://www.googleapis.com/auth/gmail.readonly, https://www.googleapis.com/auth/gmail.compose, https://www.googleapis.com/auth/gmail.send, https://www.googleapis.com/auth/gmail.insert, https://www.googleapis.com/auth/gmail.labels, https://mail.google.com/, https://www.googleapis.com/auth/admin.directory.group.member, https://www.googleapis.com/auth/admin.directory.group, https://www.googleapis.com/auth/admin.directory.orgunit, https://www.googleapis.com/auth/admin.directory.user, https://www.googleapis.com/auth/admin.directory.user.alias, https://www.googleapis.com/auth/admin.directory.rolemanagement, https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/drive.appfolder, https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive.metadata, https://www.googleapis.com/auth/drive.scripts, https://www.googleapis.com/auth/drive.install, https://www.googleapis.com/auth/drive.apps.readonly, https://www.googleapis.com/auth/drive.photos.readonly

Note: After you delegate domain-wide authority, you can see the application Client ID. You will need this information when you create a virtual client.