This issue arises when the required API permissions and OAuth Scopes necessary for adding a Google Workspace Organization are not properly enabled.
Ensure that the following APIs are enabled for the project created. These APIs are essential for adding an Organization, as well as for backup and restore operations:1. Admin SDK API2. Gmail API3. Google Drive API4. Google Calendar API5. Google People APIWhen authorizing the client ID in the Admin console, make sure you have added all the required OAuth scopes listed below:
- `https://mail.google.com`
- `https://www.googleapis.com/auth/drive`
- `https://www.googleapis.com/auth/calendar`
- `https://www.googleapis.com/auth/contacts`
- 'https://www.googleapis.com/auth/admin.directory.user.readonly'
- 'https://www.googleapis.com/auth/admin.directory.user.security'
- 'https://www.googleapis.com/auth/admin.directory.domain'
For detailed, step-by-step instructions on enabling API Permissions and OAuth Scopes, please refer to the latest PDF of "Prerequisites to Add Google Workspace Organization" available at this link: Prerequisites PDF